class FayrantLang::AST::UnaryExprMinus

Defined in:

ast/expression.cr

Constructors

Instance Method Summary

Instance methods inherited from class FayrantLang::AST::UnaryExpr

expr : FayrantLang::AST::Expr expr

Constructor methods inherited from class FayrantLang::AST::UnaryExpr

new(expr : Expr) new

Instance methods inherited from class FayrantLang::AST::Expr

==(other) ==, eval(ctx : Context) : AnyValue eval

Constructor Detail

def self.new(expr : Expr) #

[View source]

Instance Method Detail

def ==(other : UnaryExprMinus) #

[View source]
def eval(ctx : Context) : NumberValue #

[View source]