class Stacklang::AST::Variable

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 : Identifier, constraint : Type, initialization : Expression | Nil, restricted : Bool = false, extern : Bool = false) #

[View source]

Instance Method Detail

def constraint : Stacklang::AST::Type #

[View source]
def dump(io, indent = 0) #

[View source]
def extern : Bool #

[View source]
def initialization : Stacklang::AST::Expression? #

[View source]

[View source]
def restricted : Bool #

[View source]