Class ExprStmt


  • public class ExprStmt
    extends Stmt
    ExprStmt is a statement consisting of an expression.
    See Also:
    Expr
    • Constructor Detail

      • ExprStmt

        public ExprStmt​(Expr expr)
        Constructor.
        Parameters:
        expr - The expression contained in this 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