Lox::Compiler::Scope
Inherits Reference < Object
Constructors
new(enclosing : Nil | Lox::Compiler::Scope, function : Lox::FunctionObject, function_type : Lox::Compiler::FunctionType)
SourceInstance methods
depth
Sourcedepth=(depth : Int32)
Sourceenclosing
Sourcefunction
Sourcefunction=(function : Lox::FunctionObject)
Sourcefunction_type
Sourcefunction_type=(function_type : Lox::Compiler::FunctionType)
Sourcelocals
Sourcelocals_count
Sourcelocals_count=(locals_count : Int32)
Source