net.sourceforge.nrl.parser.ast.constraints
Interface IBinaryPredicate

All Superinterfaces:
IConstraint, INRLAstNode, IPredicate

public interface IBinaryPredicate
extends IPredicate

A binary predicate compares two expressions for the purpose of returning a Boolean result.


Nested Class Summary
static class IBinaryPredicate.Predicate
          Available predicates
 
Field Summary
 
Fields inherited from interface net.sourceforge.nrl.parser.ast.INRLAstNode
NEWLINE
 
Method Summary
 IExpression getLeft()
          Return the left parameter.
 IBinaryPredicate.Predicate getPredicate()
          Return the predicate, one of the enums defined in this interface.
 IExpression getRight()
          Return the right parameter.
 
Methods inherited from interface net.sourceforge.nrl.parser.ast.constraints.IConstraint
getNRLDataType, setNRLDataType
 
Methods inherited from interface net.sourceforge.nrl.parser.ast.INRLAstNode
accept, dump, getColumn, getLine, getUserData, setUserData
 

Method Detail

getLeft

IExpression getLeft()
Return the left parameter. Never returns null.

Returns:
the left parameter

getRight

IExpression getRight()
Return the right parameter. Never returns null.

Returns:
the right parameter

getPredicate

IBinaryPredicate.Predicate getPredicate()
Return the predicate, one of the enums defined in this interface.

Returns:
the predicate


Copyright © 2006-2010 Christian Nentwich and others