Class LabelStmt


public class LabelStmt extends Stmt
LabelStmt is a placeholder in a Tree for a Label (the target of a jump).
See Also:
  • Constructor Details

    • LabelStmt

      public LabelStmt(Label label)
      Constructor.
      Parameters:
      label - The label that comprises this statement.
  • Method Details

    • label

      public Label label()
    • visitForceChildren

      public void visitForceChildren(TreeVisitor visitor)
      Description copied from class: Node
      Visit the children of this node. Not all Nodes will have children to visit.
      Specified by:
      visitForceChildren in class Node
    • visit

      public void visit(TreeVisitor visitor)
      Specified by:
      visit in class Node
    • clone

      public Object clone()
      Specified by:
      clone in class Stmt