public interface BinaryExpression extends Expression
AndExpression
and EqualsExpression
.Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getCommonOperandType()
Returns the class instance suiteable for implementing the result
of this expression.
|
Expression |
getLeftExpression()
Returns the first child of this node.
|
Expression |
getRightExpression()
Returns the second child of this node.
|
arrive, getChildren, getJavaClass, getObject, getParent, getTokenType, leave, setObject, setParent, walkNextChild
Expression getLeftExpression()
Expression getRightExpression()
java.lang.Class getCommonOperandType()
getJavaClass
. In case of relational binary
expressions, that class instance differs from the type retrieved by
getJavaClass
, because relational binary expressions
have a boolean result type which does not depend of the operand types.Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.