class Axal::AST::BinaryOperator

Defined in:

lang/ast/binary_operator.cr

Constructors

Instance Method Summary

Instance methods inherited from class Axal::AST::Expression

==(other) ==, children children, type type, value : Expression | ::Nil | String | ::Nil | Float64 | ::Nil | Bool | ::Nil value

Constructor methods inherited from class Axal::AST::Expression

new(value : Axal::AST::Expression | Bool | Float64 | String | ::Nil = nil) new

Constructor Detail

def self.new(operator : Axal::TokenKind, left : Axal::AST::Expression | ::Nil = nil, right : Axal::AST::Expression | ::Nil = nil) #

[View source]

Instance Method Detail

def ==(other : BinaryOperator) #

[View source]
def children #

[View source]
def left : Expression | ::Nil #

[View source]
def operator : TokenKind #

[View source]
def right : Expression | ::Nil #

[View source]
def right=(right : Expression | ::Nil) #

[View source]