Class Tuple.DereferenceTuple

java.lang.Object
io.jawk.intermediate.Tuple
io.jawk.intermediate.Tuple.DereferenceTuple
All Implemented Interfaces:
Serializable
Enclosing class:
Tuple

public static final class Tuple.DereferenceTuple extends Tuple
Tuple for variable dereference.
See Also:
  • 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:
      true when the variable is an array
    • isGlobal

      public boolean isGlobal()
      Indicates whether the variable offset belongs to the global frame.
      Returns:
      true for a global variable
    • toString

      public String toString()
      Overrides:
      toString in class Object