class Stacklang::AST::Variable
Defined in:
stacklang/ast.crConstructors
Instance Method Summary
- #constraint : Stacklang::AST::Type
- #dump(io, indent = 0)
- #extern : Bool
- #initialization : Stacklang::AST::Expression?
- #name : Stacklang::AST::Identifier
- #restricted : Bool
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 : Identifier, constraint : Type, initialization : Expression | Nil, restricted : Bool = false, extern : Bool = false)
#