public class SubtractOperator extends InfixOperator
LEFT_ASSOCIATIVE, NONE, RIGHT_ASSOCIATIVE
fFunctionName, fOperatorString, fPrecedence
Constructor | Description |
---|---|
SubtractOperator(String oper,
String functionName,
int precedence,
int grouping) |
Instantiates a new subtract operator.
|
Modifier and Type | Method | Description |
---|---|---|
ASTNode |
createFunction(IParserFactory factory,
ASTNode lhs,
ASTNode rhs) |
Creates the function.
|
getGrouping
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
equals, getFunctionName, getOperatorString, getPrecedence, hashCode, toString
public ASTNode createFunction(IParserFactory factory, ASTNode lhs, ASTNode rhs)
createFunction
in class InfixOperator
factory
- the factorylhs
- the lhsrhs
- the rhsCopyright © 2018. All rights reserved.