org.jacorb.idl
protected class ConstExprEvaluator.Node extends Object
| Field Summary | |
|---|---|
| ConstExprEvaluator.Node | nLeft |
| int | nLevel |
| ConstExprEvaluator.Operator | nOperator |
| ConstExprEvaluator.Node | nParent |
| ConstExprEvaluator.Node | nRight |
| String | nString |
| Double | nValue |
| Constructor Summary | |
|---|---|
| Node(String s) | |
| Node(ConstExprEvaluator.Node parent, String s, int level) | |
| Method Summary | |
|---|---|
| protected String | addZero(String s)
returns a string that doesnt start with a + or a - |
| protected int | checkBrackets(String s)
checks if there is any missing brackets |
| protected ConstExprEvaluator.Node | getLeft() |
| protected int | getLevel() |
| protected ConstExprEvaluator.Operator | getOperator() |
| protected ConstExprEvaluator.Node | getRight() |
| protected String | getString() |
| protected Double | getValue() |
| protected boolean | hasChild() |
| protected boolean | hasLeft() |
| protected boolean | hasOperator() |
| protected boolean | hasRight() |
| String | removeBrackets(String s)
Removes spaces, tabs and brackets at the begining |
| String | removeIllegalCharacters(String s)
Removes illegal characters |
| protected void | setValue(Double f) |
Returns: true if s is valid