AST tmp114_AST = null; tmp114_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp114_AST); match(LITERAL_xquery);
	public final void version() throws RecognitionException, TokenStreamException {				returnAST = null;		ASTPair currentAST = new ASTPair();		AST version_AST = null;		Token  v = null;		AST v_AST = null;				AST tmp114_AST = null;		tmp114_AST = astFactory.create(LT(1));		astFactory.addASTChild(currentAST, tmp114_AST);		match(LITERAL_xquery);		AST tmp115_AST = null;		tmp115_AST = astFactory.create(LT(1));		astFactory.addASTChild(currentAST, tmp115_AST);		match(LITERAL_version);		v = LT(1);		v_AST = astFactory.create(v);		astFactory.addASTChild(currentAST, v_AST);		match(STRING_LITERAL);		if ( inputState.guessing==0 ) {			version_AST = (AST)currentAST.root;								version_AST = (AST)astFactory.make( (new ASTArray(1)).add(astFactory.create(VERSION_DECL,v.getText())));							currentAST.root = version_AST;			currentAST.child = version_AST!=null &&version_AST.getFirstChild()!=null ?				version_AST.getFirstChild() : version_AST;			currentAST.advanceChildToEnd();		}		version_AST = (AST)currentAST.root;		returnAST = version_AST;	}