class Calcium::OperatorToken

Defined in:

calcium/tokens.cr

Constant Summary

PATTERN = /#{OPERATORS.keys.map do |key| Regex.escape(key.to_s) end.join("|")}/

Constructors

Instance Method Summary

Instance methods inherited from class Calcium::SyntaxToken

precedence precedence

Instance methods inherited from class Calcium::Token

==(other : String)
==(other : Token)
==
, to_s(io) to_s, value : String value

Constructor methods inherited from class Calcium::Token

new(value) new

Constructor Detail

def self.new(value) #

[View source]

Instance Method Detail

def call(args) #

[View source]
def data #

[View source]
def function? #

[View source]
def left_associative? #

[View source]
def num_args #

[View source]
def precedence #

[View source]
def prefix? #

[View source]
def right_associative? #

[View source]
def unary? #

[View source]