Lox::Chunk
Inherits Reference < Object
Constructors
new
SourceInstance methods
Adds a constant to the constant pool and returns the index it got written to, so the caller can retrieve it when needed.
bytes
Sourceconstants
Sourcedisassemble
Returns a representation where the chunk's bytes are broken up into instructions with their operands, correlated with line numbers.
line_numbers
Sourcewrite!(line : LineNumber, byte : Byte)
Sourcewrite!(line : LineNumber, opcode : Opcode)
Source