net.sourceforge.nrl.parser.ast.constraints
Interface IBinaryOperatorStatement
- All Superinterfaces:
- IConstraint, INRLAstNode
public interface IBinaryOperatorStatement
- extends IConstraint
A binary operator statement is either an and, or, iff or implies statement.
The interface provides methods for determining which operator applies, and
for manipulating the two children.
getLeft
IConstraint getLeft()
- Return the left parameter. Never returns null.
- Returns:
- the left parameter
getRight
IConstraint getRight()
- Return the right parameter. Never returns null.
- Returns:
- the right parameter
getOperator
IBinaryOperatorStatement.Operator getOperator()
- Return the constant indicating which operator applies. The constant is
one of the enumeration values defined in this interface.
- Returns:
- the operator constant
Copyright © 2006-2010 Christian Nentwich and others