class FayrantLang::AST::ClassDeclarationStatement

Defined in:

ast/statement.cr

Constructors

Instance Method Summary

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

==(other) ==, exec(ctx : Context) : Tuple(ExecResult, AnyValue) exec

Constructor Detail

def self.new(name : String, ctor_params : Array(String), ctor_body : Array(Statement), methods : Array(FunctionDeclarationStatement)) #

[View source]

Instance Method Detail

def ==(other : ClassDeclarationStatement) #

[View source]
def ctor_body : Array(FayrantLang::AST::Statement) #

[View source]
def ctor_params : Array(String) #

[View source]
def exec(ctx : Context) : Tuple(ExecResult, AnyValue) #

[View source]

[View source]
def name : String #

[View source]