Package io.jawk.intermediate
Class Tuple.IndirectCallTuple
java.lang.Object
io.jawk.intermediate.Tuple
io.jawk.intermediate.Tuple.IndirectCallTuple
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Tuple
Tuple for a function call whose target name is evaluated at runtime.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jawk.intermediate.Tuple
Tuple.AddressTuple, Tuple.BooleanTuple, Tuple.BuiltinVarTuple, Tuple.CallFunctionTuple, Tuple.ClassTuple, Tuple.CompoundAssignArrayTuple, Tuple.CompoundAssignInputFieldTuple, Tuple.CompoundAssignMapElementTuple, Tuple.CompoundAssignTuple, Tuple.CountAndAppendTuple, Tuple.CountTuple, Tuple.DereferenceTuple, Tuple.ExtensionTuple, Tuple.FunctionTuple, Tuple.IndirectCallTuple, Tuple.IndirectFunctionTarget, Tuple.InputFieldTuple, Tuple.LongTuple, Tuple.NoOperandTuple, Tuple.PushDoubleTuple, Tuple.PushLongTuple, Tuple.PushStringTuple, Tuple.RegexTuple, Tuple.ScalarPopTuple, Tuple.SubstitutionVariableTuple, Tuple.VariableTuple, Tuple.WarningTuple -
Method Summary
Modifier and TypeMethodDescriptionReturns every jump/call address carried by this tuple.Returns the extension functions available to the call site.longReturns the number of actual parameters evaluated by the call site.intReturns the source line for runtime diagnostics.Returns the source name for runtime diagnostics.Returns the user-defined functions available to the call site.toString()voidResolves deferred operands and validates resolved addresses.Methods inherited from class io.jawk.intermediate.Tuple
getAddress, getLineNumber, getOpcode
-
Method Details
-
touch
Description copied from class:TupleResolves deferred operands and validates resolved addresses. -
getAddresses
Description copied from class:TupleReturns every jump/call address carried by this tuple.- Overrides:
getAddressesin classTuple- Returns:
- tuple addresses, or an empty list
-
getUserFunctions
Returns the user-defined functions available to the call site.- Returns:
- function target map
-
getExtensionFunctions
Returns the extension functions available to the call site.- Returns:
- extension function map
-
getNumActualParams
public long getNumActualParams()Returns the number of actual parameters evaluated by the call site.- Returns:
- actual parameter count
-
getSourceName
Returns the source name for runtime diagnostics.- Returns:
- source name
-
getSourceLine
public int getSourceLine()Returns the source line for runtime diagnostics.- Returns:
- source line
-
toString
-