接口 Parser
-
- 所有已知实现类:
ClauseParser,FromParser,FromPathExpressionParser,GroupByParser,HavingParser,OrderByParser,PathExpressionParser,PreprocessingParser,SelectParser,SelectPathExpressionParser,WhereParser
public interface ParserA parser is a state machine that accepts a string of tokens, bounded by start() and end() and modifies a QueryTranslator. Parsers are NOT intended to be threadsafe. They SHOULD be reuseable for more than one token stream.
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidend(QueryTranslatorImpl q)voidstart(QueryTranslatorImpl q)voidtoken(String token, QueryTranslatorImpl q)
-
-
-
方法详细资料
-
token
void token(String token, QueryTranslatorImpl q) throws QueryException
- 抛出:
QueryException
-
start
void start(QueryTranslatorImpl q) throws QueryException
- 抛出:
QueryException
-
end
void end(QueryTranslatorImpl q) throws QueryException
- 抛出:
QueryException
-
-