Package org.hibernate.hql.ast
package org.hibernate.hql.ast
An ANTLR-based parser for Hibernate Query Language.
Classes in this package extend the ANTLR-generated parser classes.
-
ClassDescriptionGenerates translators which uses the Antlr-based parser to perform the translation.Thrown when a call to the underlying Hibernate engine fails, indicating some form of semantic exception (e.g.An error handler that counts parsing errors and warnings.Implementations will report or handle errors invoked by an ANTLR base parser.User: Joshua Davis
Date: Sep 23, 2005
Time: 12:30:01 PMImplements the semantic action methods defined in the HQL base parser to keep the grammar source file a little cleaner.Implements methods used by the HQL->SQL tree transform grammar (a.k.a.A custom token class for the HQL grammar.Exception thrown when an invalid path is found in a query.Defines the information available for parameters encountered during query translation through the antlr-based parser.Defines the behavior of an error handler for the HQL parsers.Exception thrown when there is a syntax error in the HQL.A QueryTranslator that uses an Antlr-based parser.Custom AST factory the intermediate tree that causes ANTLR to create specialized AST nodes, given the AST node type (from HqlSqlTokenTypes).Generates SQL by overriding callback methods in the base class, which does the actual SQL AST walking.Essentially a wrapper around aDiscriminatorMetadataand the proper sql alias to use.