Package | Description |
---|---|
com.igormaznitsa.jcp.expression |
Modifier and Type | Method and Description |
---|---|
ExpressionTree |
ExpressionParser.parse(String expressionStr,
PreprocessorContext context)
To parse an expression represented as a string and get a tree
|
Modifier and Type | Method and Description |
---|---|
ExpressionTreeElement |
ExpressionTreeElement.addSubTree(ExpressionTree tree)
Add a tree as new child and make the maximum priority for it
|
void |
ExpressionTree.addTree(ExpressionTree tree)
Add whole tree as a tree element, also it sets the maximum priority to the new element
|
static Value |
Expression.evalTree(ExpressionTree tree,
PreprocessorContext context)
Evaluate an expression tree
|
ExpressionItem |
ExpressionParser.readExpression(PushbackReader reader,
ExpressionTree tree,
PreprocessorContext context,
boolean insideBracket,
boolean argument)
It reads an expression from a reader and fill a tree
|
Modifier and Type | Method and Description |
---|---|
void |
ExpressionTreeElement.fillArguments(List<ExpressionTree> arguments)
It fills children slots from a list containing expression trees
|
Copyright © 2011–2020 Igor Maznitsa. All rights reserved.