Package org.openlca.expressions
Class VariableFunction
java.lang.Object
org.openlca.expressions.VariableFunction
- All Implemented Interfaces:
Expression
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddArgument(int index, Expression expression) voidaddArgument(Expression function) voidcheck()intintgetLine()getName()Class<?>voidsetPosition(int line, int column)
-
Field Details
-
variableName
-
position
-
line
protected int line -
column
protected int column
-
-
Constructor Details
-
VariableFunction
-
-
Method Details
-
getVariableName
-
addArgument
- Specified by:
addArgumentin interfaceExpression
-
addArgument
- Specified by:
addArgumentin interfaceExpression
-
evaluate
- Specified by:
evaluatein interfaceExpression- Throws:
ExpressionException
-
check
- Specified by:
checkin interfaceExpression- Throws:
ExpressionException
-
getResultType
- Specified by:
getResultTypein interfaceExpression
-
getLine
public int getLine()- Specified by:
getLinein interfaceExpression
-
getColumn
public int getColumn()- Specified by:
getColumnin interfaceExpression
-
setPosition
public void setPosition(int line, int column) - Specified by:
setPositionin interfaceExpression
-
getName
- Specified by:
getNamein interfaceExpression
-