Package io.jawk.intermediate
Class Tuple.DereferenceTuple
java.lang.Object
io.jawk.intermediate.Tuple
io.jawk.intermediate.Tuple.DereferenceTuple
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Tuple
Tuple for variable dereference.
- 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
Methods inherited from class io.jawk.intermediate.Tuple
getAddress, getAddresses, getLineNumber, getOpcode, touch
-
Method Details
-
getVariableOffset
public long getVariableOffset()Returns the variable offset.- Returns:
- variable offset
-
isArray
public boolean isArray()Indicates whether this dereference should initialize an array.- Returns:
truewhen the variable is an array
-
isGlobal
public boolean isGlobal()Indicates whether the variable offset belongs to the global frame.- Returns:
truefor a global variable
-
toString
-