Class ExpressionStatement


  • public class ExpressionStatement
    extends Statement
    A simple statement such as a method call where the return value is ignored
    • Constructor Detail

      • ExpressionStatement

        public ExpressionStatement​(Expression expression)
    • Method Detail

      • getExpression

        public Expression getExpression()
      • setExpression

        public void setExpression​(Expression expression)
      • getText

        public java.lang.String getText()
        Overrides:
        getText in class ASTNode
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object