public abstract class AbstractCqnExpressionParser extends Object
Modifier and Type | Field and Description |
---|---|
protected CqnToken |
aheadToken |
protected int |
pos |
protected LinkedList<CqnToken> |
tokens |
Constructor and Description |
---|
AbstractCqnExpressionParser() |
Modifier and Type | Method and Description |
---|---|
protected void |
expect(String expected) |
protected <T> T |
get(Class<T> clazz) |
protected CqnListValue |
getList() |
protected CqnLiteral<?> |
getLiteral() |
protected CqnPlain |
getPlain() |
protected CqnPredicate |
getPredicate() |
protected CqnValue |
getValue() |
protected Xpr |
getXpr() |
protected boolean |
hasNext() |
protected boolean |
is(String value) |
protected boolean |
isList() |
protected boolean |
isLiteral() |
protected boolean |
isPlain() |
protected boolean |
isPredicate() |
protected boolean |
isRef() |
protected boolean |
isXpr() |
protected void |
nextToken() |
CqnPredicate |
parsePredicate(List<CqnToken> tokenList) |
CqnPredicate |
parsePredicate(Stream<CqnToken> tokenStream) |
protected boolean |
peek(String... values) |
protected abstract CqnPredicate |
predicate() |
protected CqnSyntaxException |
unexpected() |
protected LinkedList<CqnToken> tokens
protected CqnToken aheadToken
protected int pos
public CqnPredicate parsePredicate(List<CqnToken> tokenList)
public CqnPredicate parsePredicate(Stream<CqnToken> tokenStream)
protected abstract CqnPredicate predicate()
protected void nextToken()
protected boolean hasNext()
protected CqnPredicate getPredicate()
protected CqnPlain getPlain()
protected CqnLiteral<?> getLiteral()
protected Xpr getXpr()
protected CqnValue getValue()
protected CqnListValue getList()
protected <T> T get(Class<T> clazz)
protected boolean is(String value)
protected boolean peek(String... values)
protected boolean isPredicate()
protected boolean isPlain()
protected boolean isLiteral()
protected boolean isRef()
protected boolean isXpr()
protected boolean isList()
protected CqnSyntaxException unexpected()
protected void expect(String expected)
Copyright © 2023 SAP. All rights reserved.