public class DivideOperator extends InfixOperator
LEFT_ASSOCIATIVE, NONE, RIGHT_ASSOCIATIVE
fFunctionName, fOperatorString, fPrecedence
Constructor and Description |
---|
DivideOperator(String oper,
String functionName,
int precedence,
int grouping)
Instantiates a new divide operator.
|
Modifier and Type | Method and Description |
---|---|
ASTNode |
createFunction(IParserFactory factory,
ASTNode lhs,
ASTNode rhs)
Creates the function.
|
getGrouping
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.