Method in NodeGroupCompiler
Creates a new instruction, and appends it to the current node in the Program .
Called by instances of Yarn.Compiler.CodeGenerationVisitor
while walking the parse tree.
Yarn.Instruction
instruction
The instruction to add.
Antlr4.Runtime.IToken
startToken
The first token in the expression or statement that was responsible for emitting this instruction.