class Stacklang::AST::Struct

Defined in:

stacklang/ast.cr

Constructors

Instance Method Summary

Instance methods inherited from class Stacklang::AST

character character, dump(io, indent = 0) dump, line line, to_s(io : IO) to_s, token : Tokenizer::Token | Nil token, token=(token : Tokenizer::Token | Nil) token=

Constructor Detail

def self.new(token, name : String, fields : Array(Field)) #

[View source]

Instance Method Detail

def dump(io, indent = 0) #

[View source]
def fields : Array(Stacklang::AST::Struct::Field) #

[View source]
def name : String #

[View source]