net.sourceforge.nrl.parser.ast.constraints
Interface IArithmeticExpression
- All Superinterfaces:
- IConstraint, IExpression, INRLAstNode
- All Known Implementing Classes:
- ArithmeticExpressionImpl
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.
- Author:
- Christian Nentwich
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-2013. All Rights Reserved.