class Stacklang::AST::Call
- Stacklang::AST::Call
- Stacklang::AST::Expression
- Stacklang::AST::Statement
- Stacklang::AST
- Reference
- Object
Defined in:
stacklang/ast.crConstructors
- .new(token, name : Identifier, parameters : Array(Expression))
-
.new(name : Identifier, parameters : Array(Expression))
For codegen / syntaxic sugar.
Instance Method Summary
- #dump(io, indent = 0)
- #name : Stacklang::AST::Identifier
- #parameters : Array(Stacklang::AST::Expression)
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
For codegen / syntaxic sugar. TODO: track origin