org.hibernate.hql.ast.HqlASTFactory Maven / Gradle / Ivy
package org.hibernate.hql.ast;
import antlr.ASTFactory;
import org.hibernate.hql.ast.tree.Node;
/**
* User: Joshua Davis
* Date: Sep 23, 2005
* Time: 12:30:01 PM
*/
public class HqlASTFactory extends ASTFactory {
/**
* Returns the class for a given token type (a.k.a. AST node type).
*
* @param tokenType The token type.
* @return Class - The AST node class to instantiate.
*/
public Class getASTNodeType(int tokenType) {
return Node.class;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy