class Compilers::CompilationScope

Defined in:

compiler.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

also(& : self | Nil -> _) : self also, or_else(alternative) or_else

Constructor Detail

def self.new(instructions : Instructions = [] of UInt8, last_instruction : Compilers::EmittedInstruction = EmittedInstruction.new, previous_instruction : Compilers::EmittedInstruction = EmittedInstruction.new) #

[View source]

Instance Method Detail

def instructions : Array(UInt8) #

[View source]
def instructions=(instructions : Array(UInt8)) #

[View source]
def last_instruction : Compilers::EmittedInstruction #

[View source]
def last_instruction=(last_instruction : Compilers::EmittedInstruction) #

[View source]
def previous_instruction : Compilers::EmittedInstruction #

[View source]
def previous_instruction=(previous_instruction : Compilers::EmittedInstruction) #

[View source]