class FayrantLang::AST::NumberLiteralExpr

Defined in:

ast/expression.cr

Constructors

Instance Method Summary

Instance methods inherited from class FayrantLang::AST::LiteralExpr(Float64)

==(other : LiteralExpr(T)) ==, value value

Constructor methods inherited from class FayrantLang::AST::LiteralExpr(Float64)

new(value : T) new

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

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

Constructor Detail

def self.new(value : Float64) #

[View source]

Instance Method Detail

def eval(ctx : Context) : NumberValue #

[View source]