org.exist.xquery.parser.XQueryAST tmp376_AST = null; tmp376_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp376_AST);
org.exist.xquery.parser.XQueryAST tmp385_AST = null; tmp385_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp385_AST);
	public final void attrCommonContent() throws RecognitionException, TokenStreamException, XPathException {				returnAST = null;		ASTPair currentAST = new ASTPair();		org.exist.xquery.parser.XQueryAST attrCommonContent_AST = null;				boolean synPredMatched364 = false;		if (((LA(1)==LCURLY))) {			int _m364 = mark();			synPredMatched364 = true;			inputState.guessing++;			try {				{				match(LCURLY);				match(LCURLY);				}			}			catch (RecognitionException pe) {				synPredMatched364 = false;			}			rewind(_m364);			inputState.guessing--;		}		if ( synPredMatched364 ) {			org.exist.xquery.parser.XQueryAST tmp375_AST = null;			tmp375_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp375_AST);			match(LCURLY);			org.exist.xquery.parser.XQueryAST tmp376_AST = null;			tmp376_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp376_AST);			match(LCURLY);			if ( inputState.guessing==0 ) {				attrCommonContent_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;											lexer.inAttributeContent= true;						lexer.parseStringLiterals = false;						attrCommonContent_AST= (org.exist.xquery.parser.XQueryAST)astFactory.create(ATTRIBUTE_CONTENT,"{");									currentAST.root = attrCommonContent_AST;				currentAST.child = attrCommonContent_AST!=null &&attrCommonContent_AST.getFirstChild()!=null ?					attrCommonContent_AST.getFirstChild() : attrCommonContent_AST;				currentAST.advanceChildToEnd();			}			attrCommonContent_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;		}		else if ((LA(1)==RCURLY)) {			org.exist.xquery.parser.XQueryAST tmp377_AST = null;			tmp377_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp377_AST);			match(RCURLY);			org.exist.xquery.parser.XQueryAST tmp378_AST = null;			tmp378_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp378_AST);			match(RCURLY);			if ( inputState.guessing==0 ) {				attrCommonContent_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;				attrCommonContent_AST= (org.exist.xquery.parser.XQueryAST)astFactory.create(ATTRIBUTE_CONTENT,"}");				currentAST.root = attrCommonContent_AST;				currentAST.child = attrCommonContent_AST!=null &&attrCommonContent_AST.getFirstChild()!=null ?					attrCommonContent_AST.getFirstChild() : attrCommonContent_AST;				currentAST.advanceChildToEnd();			}			attrCommonContent_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;		}		else if ((LA(1)==LCURLY)) {			attributeEnclosedExpr();			astFactory.addASTChild(currentAST, returnAST);			attrCommonContent_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;		}		else {			throw new NoViableAltException(LT(1), getFilename());		}				returnAST = attrCommonContent_AST;	}