class Stacklang::Unit::Global

Defined in:

stacklang/compiler/unit.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ast : AST::Variable, type_info : Stacklang::Type::Any) #

[View source]
def self.new(symbol : String) #

Used to define globals for value defined by the linker, those are raw symbols


[View source]

Instance Method Detail


[View source]
def extern : Bool #

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

[View source]
def name : String #

[View source]
def symbol : String #

[View source]
def type_info : Type::Any #

[View source]