match(LCURLY); org.exist.xquery.parser.XQueryAST tmp338_AST = null; tmp338_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp338_AST);
	public final void attrCommonContent() throws RecognitionException, TokenStreamException, XPathException {				returnAST = null;		ASTPair currentAST = new ASTPair();		org.exist.xquery.parser.XQueryAST attrCommonContent_AST = null;				boolean synPredMatched330 = false;		if (((LA(1)==LCURLY))) {			int _m330 = mark();			synPredMatched330 = true;			inputState.guessing++;			try {				{				match(LCURLY);				match(LCURLY);				}			}			catch (RecognitionException pe) {				synPredMatched330 = false;			}			rewind(_m330);			inputState.guessing--;		}		if ( synPredMatched330 ) {			org.exist.xquery.parser.XQueryAST tmp337_AST = null;			tmp337_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp337_AST);			match(LCURLY);			org.exist.xquery.parser.XQueryAST tmp338_AST = null;			tmp338_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp338_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 tmp339_AST = null;			tmp339_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp339_AST);			match(RCURLY);			org.exist.xquery.parser.XQueryAST tmp340_AST = null;			tmp340_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));			astFactory.addASTChild(currentAST, tmp340_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;	}