public class PropertyParser extends Object
Constructor and Description |
---|
PropertyParser() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isNestedPropertyWithNonSimpleLead(EsperEPL2GrammarParser.EventPropertyContext ctx) |
static boolean |
isPropertyDynamic(EsperEPL2GrammarParser.StartEventPropertyRuleContext ast)
Returns true if the property is a dynamic property.
|
static EsperEPL2GrammarParser.StartEventPropertyRuleContext |
parse(String propertyName)
Parses a given property name returning an AST.
|
static Property |
parseAndWalk(String property,
boolean isRootedDynamic) |
static Property |
parseAndWalkLaxToSimple(String property)
Parses property.
|
static String |
unescapeBacktick(String unescapedPropertyName) |
static Property |
walk(EsperEPL2GrammarParser.StartEventPropertyRuleContext tree,
boolean isRootedDynamic)
Parse the given property name returning a Property instance for the property.
|
public static Property parseAndWalkLaxToSimple(String property)
property
- to parsepublic static Property walk(EsperEPL2GrammarParser.StartEventPropertyRuleContext tree, boolean isRootedDynamic)
isRootedDynamic
- is true to indicate that the property is already rooted in a dynamic
property and therefore all child properties should be dynamic properties as welltree
- treepublic static EsperEPL2GrammarParser.StartEventPropertyRuleContext parse(String propertyName)
propertyName
- to parsepublic static boolean isPropertyDynamic(EsperEPL2GrammarParser.StartEventPropertyRuleContext ast)
ast
- property astpublic static boolean isNestedPropertyWithNonSimpleLead(EsperEPL2GrammarParser.EventPropertyContext ctx)