Package de.odysseus.el.tree.impl
Class Builder
java.lang.Object
de.odysseus.el.tree.impl.Builder
- All Implemented Interfaces:
TreeBuilder
,Serializable
Tree builder.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final EnumSet
<Builder.Feature> private static final long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionParse expression.protected Parser
createParser
(String expression) boolean
int
hashCode()
boolean
isEnabled
(Builder.Feature feature) static void
Dump out abstract syntax tree for a given expression
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
features
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
isEnabled
- Returns:
true
iff the specified feature is supported.
-
build
Parse expression.- Specified by:
build
in interfaceTreeBuilder
- Parameters:
expression
- expression string- Returns:
- tree corresponding to the given expression
- Throws:
TreeBuilderException
-
createParser
-
equals
-
hashCode
public int hashCode() -
main
Dump out abstract syntax tree for a given expression- Parameters:
args
- array with one element, containing the expression string
-