Module dev.civl.mc

Interface DotExpression

All Superinterfaces:
Expression, LHSExpression, Sourceable

public interface DotExpression extends LHSExpression
A dot expression is a reference to a field in a struct or union.
  • Method Details

    • structOrUnion

      Expression structOrUnion()
      Returns:
      The struct or union referenced by this dot expression.
    • fieldIndex

      int fieldIndex()
      Returns:
      Index of the field/member referenced by this dot expression.
    • isStruct

      boolean isStruct()
    • isUnion

      boolean isUnion()