Emit(IToken?,Instruction[])
Method in NodeGroupCompiler
Summary
Adds instructions to the current node in the Program .
Remarks
Called by instances of Yarn.Compiler.CodeGenerationVisitor
while walking the parse tree.
Parameters
Name
Description
Yarn.Instruction[]
instructions
The instructions to add.
Antlr4.Runtime.IToken
startToken
The first token in the expression or statement that was responsible for emitting this instruction.
Last updated
Was this helpful?