Emit(Instruction)
Last updated
Was this helpful?
Last updated
Was this helpful?
Method in
Creates a new instruction, and appends it to the current node in the . Differs from the other Emit call by not requiring a start token. This enables its use in pure synthesised elements of the Yarn.
Called by instances of Yarn.Compiler.CodeGenerationVisitor
while walking the parse tree.
Yarn.Instruction
instruction
The instruction to add.