org.exist.xquery.parser.XQueryAST tmp299_AST = null; tmp299_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp299_AST);
org.exist.xquery.parser.XQueryAST tmp298_AST = null; tmp298_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp298_AST);
	public final void compTextConstructor() throws RecognitionException, TokenStreamException, XPathException {				returnAST = null;		ASTPair currentAST = new ASTPair();		org.exist.xquery.parser.XQueryAST compTextConstructor_AST = null;		org.exist.xquery.parser.XQueryAST e_AST = null;				org.exist.xquery.parser.XQueryAST tmp299_AST = null;		tmp299_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));		astFactory.addASTChild(currentAST, tmp299_AST);		match(LITERAL_text);		match(LCURLY);		expr();		e_AST = (org.exist.xquery.parser.XQueryAST)returnAST;		astFactory.addASTChild(currentAST, returnAST);		match(RCURLY);		if ( inputState.guessing==0 ) {			compTextConstructor_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;			compTextConstructor_AST = (org.exist.xquery.parser.XQueryAST)astFactory.make( (new ASTArray(2)).add((org.exist.xquery.parser.XQueryAST)astFactory.create(COMP_TEXT_CONSTRUCTOR,"text")).add(e_AST));			currentAST.root = compTextConstructor_AST;			currentAST.child = compTextConstructor_AST!=null &&compTextConstructor_AST.getFirstChild()!=null ?				compTextConstructor_AST.getFirstChild() : compTextConstructor_AST;			currentAST.advanceChildToEnd();		}		compTextConstructor_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;		returnAST = compTextConstructor_AST;	}