parser.java
来自「好东西,hibernate-3.2.0,他是一开元的树杖hibernate-3.」· Java 代码 · 共 27 行
JAVA
27 行
//$Id: Parser.java 4907 2004-12-08 00:24:14Z oneovthafew $
package org.hibernate.hql.classic;
import org.hibernate.QueryException;
/**
* A 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.
*/
public interface Parser {
public void token(String token, QueryTranslatorImpl q) throws QueryException;
public void start(QueryTranslatorImpl q) throws QueryException;
public void end(QueryTranslatorImpl q) throws QueryException;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?