Interface AlignOfNode

All Superinterfaces:
ASTNode, ExpressionNode, ForLoopInitializerNode, InitializerNode, SizeableNode

public interface AlignOfNode extends ExpressionNode
The _Alignof(typename) operator. See C11 Sec. Results in an integer constant.
  • Method Details

    • getArgument

      TypeNode getArgument()
      Gets node representing the argument of the _Alignof operator.
      the node representing the type name which is the argument of this operator
    • setArgument

      void setArgument(TypeNode type)
      Sets the argument that will be returned by getArgument().
      type - the type node representing the type name argument of this operator
    • copy

      AlignOfNode 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 ExpressionNode
      Specified by:
      copy in interface ForLoopInitializerNode
      Specified by:
      copy in interface InitializerNode
      Specified by:
      copy in interface SizeableNode
      deep copy of this node