Interface StatementNode

All Superinterfaces:
ASTNode, BlockItemNode
All Known Subinterfaces:
AtomicNode, ChooseStatementNode, CivlForNode, CompoundStatementNode, ExpressionStatementNode, ForLoopNode, GotoNode, IfNode, JumpNode, LabeledStatementNode, LoopNode, NullStatementNode, OmpAtomicNode, OmpEndNode, OmpExecutableNode, OmpForNode, OmpParallelNode, OmpSimdNode, OmpSyncNode, OmpWorksharingNode, PragmaNode, ReturnNode, RunNode, SwitchNode, UpdateNode, WhenNode, WithNode

public interface StatementNode extends BlockItemNode
  • Method Details

    • 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
      Returns:
      deep copy of this node
    • statementKind

      Different statement nodes have different statement kind. For example, a while statement node has the statement kind WHILE, an if statement node has the kind IF, etc.
      Returns:
      The statement kind defined as an enum element