class Axal::AST::BinaryOperator
- Axal::AST::BinaryOperator
- Axal::AST::Expression
- Reference
- Object
Defined in:
lang/ast/binary_operator.crConstructors
Instance Method Summary
- #==(other : BinaryOperator)
- #children
- #left : Expression | ::Nil
- #operator : TokenKind
- #right : Expression | ::Nil
- #right=(right : Expression | ::Nil)
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)
#