Class ReturnStmt


public class ReturnStmt extends JumpStmt
ReturnStmt represents the return opcode which returns void from a method.
  • Constructor Details

    • ReturnStmt

      public ReturnStmt()
      Constructor.
  • Method Details

    • 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