Package | Description |
---|---|
tk.pratanumandal.expr4j.shuntingyard |
The
tk.pratanumandal.expr4j.shuntingyard package contains Shunting Yard implementations for expression evaluation. |
Modifier and Type | Field and Description |
---|---|
protected ShuntingYardExpressionTree.Node[] |
ShuntingYardExpressionTree.Node.children
Children of this node.
|
protected ShuntingYardExpressionTree.Node |
ShuntingYardExpressionTree.root
Root node of the expression tree.
|
Modifier and Type | Method and Description |
---|---|
protected Operand |
ShuntingYardExpressionTree.evaluate(ShuntingYardExpressionTree.Node node)
Method to recursively evaluate the expression tree and return the result as an operand.
|
protected boolean |
ShuntingYardExpressionTree.formTree(ShuntingYardExpressionTree.Node node,
Token token)
Method to form the expression tree recursively.
|
Copyright © 2019 Pratanu Mandal. All rights reserved.