class Stacklang::Unit::Global
- Stacklang::Unit::Global
- Reference
- Object
Defined in:
stacklang/compiler/unit.crConstructors
- .new(ast : AST::Variable, type_info : Stacklang::Type::Any)
-
.new(symbol : String)
Used to define globals for value defined by the linker, those are raw symbols
Instance Method Summary
- #ast : Stacklang::AST::Variable?
- #extern : Bool
- #initialization : Stacklang::AST::Expression?
- #name : String
- #symbol : String
- #type_info : Type::Any
Constructor Detail
def self.new(symbol : String)
#
Used to define globals for value defined by the linker, those are raw symbols