org.apache.camel.language.simple
Class SimplePredicateParser
java.lang.Object
org.apache.camel.language.simple.BaseSimpleParser
org.apache.camel.language.simple.SimplePredicateParser
public class SimplePredicateParser
- extends BaseSimpleParser
A parser to parse simple language as a Camel Predicate
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimplePredicateParser
@Deprecated
public SimplePredicateParser(String expression)
- Deprecated.
SimplePredicateParser
public SimplePredicateParser(String expression,
boolean allowEscape)
parsePredicate
public Predicate parsePredicate()
doParsePredicate
protected Predicate doParsePredicate()
parseTokensAndCreateNodes
protected void parseTokensAndCreateNodes()
- Parses the tokens and crates the AST nodes.
After the initial parsing of the input (input -> tokens) then we
parse again (tokens -> ast).
In this parsing the balance of the blocks is checked, so that each block has a matching
start and end token. For example a single quote block, or a function block etc.
singleQuotedLiteralWithFunctionsText
protected boolean singleQuotedLiteralWithFunctionsText()
singleQuotedLiteralText
protected boolean singleQuotedLiteralText()
doubleQuotedLiteralWithFunctionsText
protected boolean doubleQuotedLiteralWithFunctionsText()
doubleQuotedLiteralText
protected boolean doubleQuotedLiteralText()
functionText
protected boolean functionText()
unaryOperator
protected boolean unaryOperator()
binaryOperator
protected boolean binaryOperator()
logicalOperator
protected boolean logicalOperator()
numericValue
protected boolean numericValue()
booleanValue
protected boolean booleanValue()
nullValue
protected boolean nullValue()
Apache CAMEL