net.sourceforge.nrl.parser.ast.constraints
Interface IArithmeticExpression
- All Superinterfaces:
- IConstraint, IExpression, INRLAstNode
public interface IArithmeticExpression
- extends IExpression
An arithmetic expression takes two arguments and applies an operator to them.
The interface defines methods for accessing the two arguments, and for
obtaining the operator.
getLeft
IExpression getLeft()
- Get the first parameter. Never returns null.
- Returns:
- the first parameter
getRight
IExpression getRight()
- Get the second parameter. Never returns null.
- Returns:
- the second parameter
getOperator
IArithmeticExpression.Operator getOperator()
- Return the operator
- Returns:
- the operator
Copyright © 2006-2010 Christian Nentwich and others