public class Builder extends Object implements TreeBuilder
Modifier and Type | Class and Description |
---|---|
static class |
Builder.Feature
Feature enumeration type.
|
Modifier and Type | Field and Description |
---|---|
protected EnumSet<Builder.Feature> |
features |
Constructor and Description |
---|
Builder() |
Builder(Builder.Feature... features) |
Modifier and Type | Method and Description |
---|---|
Tree |
build(String expression)
Parse expression.
|
protected Parser |
createParser(String expression) |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isEnabled(Builder.Feature feature) |
static void |
main(String[] args)
Dump out abstract syntax tree for a given expression
|
protected final EnumSet<Builder.Feature> features
public Builder()
public Builder(Builder.Feature... features)
public boolean isEnabled(Builder.Feature feature)
true
iff the specified feature is supported.public Tree build(String expression) throws TreeBuilderException
build
in interface TreeBuilder
expression
- expression stringTreeBuilderException
public static void main(String[] args)
args
- array with one element, containing the expression stringCopyright © 2021. All rights reserved.