Module dev.civl.abc

Interface FieldDesignatorNode

All Superinterfaces:
ASTNode, DesignatorNode

public interface FieldDesignatorNode extends DesignatorNode
A field designator is used in an initializer for a struct or union. It is a reference to a particular member (field) of that struct or union.
  • Method Details

    • getField

      IdentifierNode getField()
      The name of the field being designated for initialization.
      Returns:
      the field name
      See Also:
    • setField

      void setField(IdentifierNode name)
      Sets the name of the field being designated for initialization.
      Parameters:
      name - the field name
      See Also:
    • getNavigationSequence

      Field[] getNavigationSequence()
    • setNavigationSequence

      void setNavigationSequence(Field[] sequence)
    • copy

      Description copied from interface: ASTNode
      Returns a deep copy of this AST node. The node and all of its descendants will be cloned. The cloning does not copy analysis or attribute information.
      Specified by:
      copy in interface ASTNode
      Specified by:
      copy in interface DesignatorNode
      Returns:
      deep copy of this node