class

Lox::Compiler::Scope

Inherits Reference < Object

Constructors

new(enclosing : Nil | Lox::Compiler::Scope, function : Lox::FunctionObject, function_type : Lox::Compiler::FunctionType)
Source

Instance methods

depth
Source
depth=(depth : Int32)
Source
enclosing
Source
enclosing=(enclosing : Nil | Lox::Compiler::Scope)
Source
function
Source
function=(function : Lox::FunctionObject)
Source
function_type
Source
function_type=(function_type : Lox::Compiler::FunctionType)
Source
locals
Source
locals=(locals : StaticArray(Lox::Compiler::Local, 255_u8))
Source
locals_count
Source
locals_count=(locals_count : Int32)
Source