if ( synPredMatched264 ) {
if ( synPredMatched268 ) {
	public final void compElemConstructor() throws RecognitionException, TokenStreamException, XPathException {				returnAST = null;		ASTPair currentAST = new ASTPair();		org.exist.xquery.parser.XQueryAST compElemConstructor_AST = null;		org.exist.xquery.parser.XQueryAST e3_AST = null;					String qn;						boolean synPredMatched264 = false;		if (((LA(1)==LITERAL_element))) {			int _m264 = mark();			synPredMatched264 = true;			inputState.guessing++;			try {				{				match(LITERAL_element);				match(LCURLY);				}			}			catch (RecognitionException pe) {				synPredMatched264 = false;			}			rewind(_m264);			inputState.guessing--;		}		if ( synPredMatched264 ) {			match(LITERAL_element);			match(LCURLY);			expr();			astFactory.addASTChild(currentAST, returnAST);			match(RCURLY);			match(LCURLY);			compElemBody();			astFactory.addASTChild(currentAST, returnAST);			match(RCURLY);			if ( inputState.guessing==0 ) {				compElemConstructor_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;				compElemConstructor_AST = (org.exist.xquery.parser.XQueryAST)astFactory.make( (new ASTArray(2)).add((org.exist.xquery.parser.XQueryAST)astFactory.create(COMP_ELEM_CONSTRUCTOR)).add(compElemConstructor_AST));				currentAST.root = compElemConstructor_AST;				currentAST.child = compElemConstructor_AST!=null &&compElemConstructor_AST.getFirstChild()!=null ?					compElemConstructor_AST.getFirstChild() : compElemConstructor_AST;				currentAST.advanceChildToEnd();			}			compElemConstructor_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;		}		else if ((LA(1)==LITERAL_element)) {			match(LITERAL_element);			qn=qName();			astFactory.addASTChild(currentAST, returnAST);			match(LCURLY);			compElemBody();			e3_AST = (org.exist.xquery.parser.XQueryAST)returnAST;			astFactory.addASTChild(currentAST, returnAST);			match(RCURLY);			if ( inputState.guessing==0 ) {				compElemConstructor_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;				compElemConstructor_AST = (org.exist.xquery.parser.XQueryAST)astFactory.make( (new ASTArray(3)).add((org.exist.xquery.parser.XQueryAST)astFactory.create(COMP_ELEM_CONSTRUCTOR,qn)).add((org.exist.xquery.parser.XQueryAST)astFactory.create(STRING_LITERAL,qn)).add(e3_AST));				currentAST.root = compElemConstructor_AST;				currentAST.child = compElemConstructor_AST!=null &&compElemConstructor_AST.getFirstChild()!=null ?					compElemConstructor_AST.getFirstChild() : compElemConstructor_AST;				currentAST.advanceChildToEnd();			}			compElemConstructor_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;		}		else {			throw new NoViableAltException(LT(1), getFilename());		}				returnAST = compElemConstructor_AST;	}