类 HqlToken
- java.lang.Object
-
- antlr.Token
-
- antlr.CommonToken
-
- org.hibernate.hql.internal.ast.HqlToken
-
- 所有已实现的接口:
Cloneable
public class HqlToken extends antlr.CommonTokenA custom token class for the HQL grammar.NOTE: This class must be public because it is instantiated by the ANTLR library. Ignore any suggestions by various code 'analyzers' about this class being package local.
-
-
构造器概要
构造器 构造器 说明 HqlToken()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanisPossibleID()Returns true if the token could be an identifier.voidsetPossibleID(boolean possibleID)Set to true if this token can be interpreted as an identifier, false if not.voidsetType(int t)Sets the type of the token, remembering the previous type.StringtoString()Returns a string representation of the object.
-
-
-
方法详细资料
-
isPossibleID
public boolean isPossibleID()
Returns true if the token could be an identifier.- 返回:
- True if the token could be interpreted as in identifier, false if not.
-
setType
public void setType(int t)
Sets the type of the token, remembering the previous type.- 覆盖:
setType在类中antlr.Token- 参数:
t- The new token type.
-
setPossibleID
public void setPossibleID(boolean possibleID)
Set to true if this token can be interpreted as an identifier, false if not.- 参数:
possibleID- True if this is a keyword/identifier, false if not.
-
toString
public String toString()
Returns a string representation of the object.- 覆盖:
toString在类中antlr.CommonToken- 返回:
- String - The debug string.
-
-