org.codehaus.jparsec.examples.sql.ast
Class UnaryExpression

java.lang.Object
  extended by org.codehaus.jparsec.examples.common.ValueObject
      extended by org.codehaus.jparsec.examples.sql.ast.UnaryExpression
All Implemented Interfaces:
Expression

public final class UnaryExpression
extends ValueObject
implements Expression

Models an expression with unary operator.

Author:
Ben Yu

Field Summary
 Expression operand
           
 Op operator
           
 
Constructor Summary
UnaryExpression(Op operator, Expression operand)
           
 
Method Summary
 
Methods inherited from class org.codehaus.jparsec.examples.common.ValueObject
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

operand

public final Expression operand

operator

public final Op operator
Constructor Detail

UnaryExpression

public UnaryExpression(Op operator,
                       Expression operand)


Copyright © 2014. All rights reserved.