abstract class FayrantLang::AST::LiteralExpr(T)

Direct Known Subclasses

Defined in:

ast/expression.cr

Constructors

Instance Method Summary

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

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

Constructor Detail

def self.new(value : T) #

[View source]

Instance Method Detail

def ==(other : LiteralExpr(T)) #

[View source]
def value #

[View source]