class AST::ConstStatement

Defined in:

ast/statements.cr

Constructors

Instance Method Summary

Instance methods inherited from class AST::Node

string string, token_literal token_literal

Constructor Detail

def self.new(token : Token::Token, name : AST::Identifier, value : AST::Expression) #

[View source]

Instance Method Detail

def name : Identifier #

[View source]
def name=(name : Identifier) #

[View source]
def string #

[View source]
def token : Token::Token #

[View source]
def token=(token : Token::Token) #

[View source]
def token_literal #

[View source]
def value : Expression #

[View source]
def value=(value : Expression) #

[View source]