Avail Set Outer Variable
class AvailSetOuterVariable(var relevantTokens: A_Tuple, outerIndex: Int) : AvailInstructionWithIndex
Content copied to clipboard
Set the value of a variable found in the function's list of captured outer variables.
Author
Mark van Gulik
Parameters
outer Index
The index of the variable in a function's outer variables.
Constructors
Functions
Link copied to clipboard
open override fun fixUsageFlags( localData: MutableList<AvailVariableAccessNote?>, outerData: MutableList<AvailVariableAccessNote?>, codeGenerator: AvailCodeGenerator)
Content copied to clipboard
The receiver sets the value of an outer variable, so it can't be an outer reference to an argument (they aren't wrapped in a variable).
Link copied to clipboard
Write nybbles representing this instruction to the NybbleOutputStream.
Properties
Link copied to clipboard
Answer which line number to say that this instruction occurs on. Use the relevantTokens as an approximation, but subclasses might be able to be more precise. Answer -1 if this instruction doesn't seem to have a location in the source associated with it.