net.sourceforge.nrl.parser.ast.constraints
Interface IFunctionalExpression
- All Superinterfaces:
- IConstraint, IExpression, INRLAstNode
public interface IFunctionalExpression
- extends IExpression
An expression that uses a function to compute a result.
Abstract syntax reference:
FunctionalExpression ::= sumOf ModelReference | numberOf ModelReference (uniqueby ModelReference)?
getFunction
IFunctionalExpression.Function getFunction()
- Return the function identifier, one of the constants defined in this
interface.
- Returns:
- the function identifier
getParameters
List<IIdentifier> getParameters()
- Get the parameters. The number and position of the parameters depends on
the function id, see the documentation of the ID for more details.
- Returns:
- the parameters, all
IIdentifier
objects
Copyright © 2006-2010 Christian Nentwich and others