Class ReturnExprStmt


  • public class ReturnExprStmt
    extends JumpStmt
    ReturnExprStmt represents the areturn opcode which returns a reference from a method.
    • Constructor Detail

      • ReturnExprStmt

        public ReturnExprStmt​(Expr expr)
        Constructor.
        Parameters:
        expr - The expression (reference) returned by this return statement.
    • Method Detail

      • expr

        public Expr expr()
      • 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
      • clone

        public java.lang.Object clone()
        Specified by:
        clone in class Stmt