Module dev.civl.mc

Interface AddressOfExpression

All Superinterfaces:
Expression, Sourceable

public interface AddressOfExpression extends Expression
This represents an address-of expression, which contains one operand, and has the format: invalid input: '&x', where invalid input: '&' is the address-of operator and x is the operand.
  • Method Details

    • operand

      LHSExpression operand()
      Returns:
      The operand.
    • isFieldOffset

      boolean isFieldOffset()
    • setFieldOffset

      void setFieldOffset(boolean value)
    • setTypeForOffset

      void setTypeForOffset(CIVLType type)
    • setFieldIndex

      void setFieldIndex(int index)
    • getTypeForOffset

      CIVLType getTypeForOffset()
    • getFieldIndex

      int getFieldIndex()