// $ANTLR start "identifier"
    // Hql.g:675:1: identifier : IDENT ;
    public HqlParser.identifier_return identifier() // throws RecognitionException [1]
    {   
        HqlParser.identifier_return retval = new HqlParser.identifier_return();
        retval.Start = input.LT(1);

        IASTNode root_0 = null;

        IToken IDENT305 = null;

        IASTNode IDENT305_tree=null;

        try 
    	{
            // Hql.g:676:2: ( IDENT )
            // Hql.g:676:4: IDENT
            {
            	root_0 = (IASTNode)adaptor.GetNilNode();

            	IDENT305=(IToken)Match(input,IDENT,FOLLOW_IDENT_in_identifier3646); 
            		IDENT305_tree = (IASTNode)adaptor.Create(IDENT305);
            		adaptor.AddChild(root_0, IDENT305_tree);


            }

            retval.Stop = input.LT(-1);

            	retval.Tree = (IASTNode)adaptor.RulePostProcessing(root_0);
            	adaptor.SetTokenBoundaries(retval.Tree, (IToken) retval.Start, (IToken) retval.Stop);
        }
        catch (RecognitionException ex) 
        {

            		retval.Tree = HandleIdentifierError(input.LT(1),ex);
            	
        }
        finally 
    	{
        }
        return retval;
    }
Ejemplo n.º 2
0
    // $ANTLR start "identifier"
    // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:656:1: identifier : IDENT ;
    public HqlParser.identifier_return identifier() // throws RecognitionException [1]
    {   
        HqlParser.identifier_return retval = new HqlParser.identifier_return();
        retval.Start = input.LT(1);

        IASTNode root_0 = null;

        IToken IDENT292 = null;

        IASTNode IDENT292_tree=null;

        try 
    	{
            // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:657:2: ( IDENT )
            // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:657:4: IDENT
            {
            	root_0 = (IASTNode)adaptor.GetNilNode();

            	IDENT292=(IToken)Match(input,IDENT,FOLLOW_IDENT_in_identifier3542); 
            		IDENT292_tree = (IASTNode)adaptor.Create(IDENT292);
            		adaptor.AddChild(root_0, IDENT292_tree);


            }

            retval.Stop = input.LT(-1);

            	retval.Tree = (IASTNode)adaptor.RulePostProcessing(root_0);
            	adaptor.SetTokenBoundaries(retval.Tree, (IToken) retval.Start, (IToken) retval.Stop);
        }
        catch (RecognitionException ex) 
        {

            		retval.Tree = HandleIdentifierError(input.LT(1),ex);
            	
        }
        finally 
    	{
        }
        return retval;
    }
Ejemplo n.º 3
0
    // $ANTLR start "identifier"
    // C:\\Users\\Steve\\Documents\\NHibernate\\nhibernate\\src\\NHibernate\\Hql\\Ast\\ANTLR\\Hql.g:658:1: identifier : IDENT ;
    public HqlParser.identifier_return identifier() // throws RecognitionException [1]
    {   
        HqlParser.identifier_return retval = new HqlParser.identifier_return();
        retval.Start = input.LT(1);

        IASTNode root_0 = null;

        IToken IDENT292 = null;

        IASTNode IDENT292_tree=null;

        try 
    	{
            // C:\\Users\\Steve\\Documents\\NHibernate\\nhibernate\\src\\NHibernate\\Hql\\Ast\\ANTLR\\Hql.g:659:2: ( IDENT )
            // C:\\Users\\Steve\\Documents\\NHibernate\\nhibernate\\src\\NHibernate\\Hql\\Ast\\ANTLR\\Hql.g:659:4: IDENT
            {
            	root_0 = (IASTNode)adaptor.GetNilNode();

            	IDENT292=(IToken)Match(input,IDENT,FOLLOW_IDENT_in_identifier3551); 
            		IDENT292_tree = (IASTNode)adaptor.Create(IDENT292);
            		adaptor.AddChild(root_0, IDENT292_tree);


            }

            retval.Stop = input.LT(-1);

            	retval.Tree = (IASTNode)adaptor.RulePostProcessing(root_0);
            	adaptor.SetTokenBoundaries(retval.Tree, (IToken) retval.Start, (IToken) retval.Stop);
        }
        catch (RecognitionException ex) 
        {

            		retval.Tree = HandleIdentifierError(input.LT(1),ex);
            	
        }
        finally 
    	{
        }
        return retval;
    }