Interface GotoNode

All Superinterfaces:
ASTNode, BlockItemNode, JumpNode, StatementNode

public interface GotoNode extends JumpNode
Represents a C "goto labelName;" statement.
  • Method Details

    • getLabel

      IdentifierNode getLabel()
      Returns the name of the label to which to go. From this identifier, one can get the underlying Label entity.
      Returns:
      the label identifier node
    • copy

      GotoNode 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 BlockItemNode
      Specified by:
      copy in interface JumpNode
      Specified by:
      copy in interface StatementNode
      Returns:
      deep copy of this node