attributeValue_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;
default: { throw new NoViableAltException(LT(1), getFilename()); } }
	public final void attributeValue() throws RecognitionException, TokenStreamException, XPathException {				returnAST = null;		ASTPair currentAST = new ASTPair();		org.exist.xquery.parser.XQueryAST attributeValue_AST = null;				{		int _cnt303=0;		_loop303:		do {			switch ( LA(1)) {			case ATTRIBUTE_CONTENT:			{				org.exist.xquery.parser.XQueryAST tmp316_AST = null;				tmp316_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));				astFactory.addASTChild(currentAST, tmp316_AST);				match(ATTRIBUTE_CONTENT);				break;			}			case LCURLY:			{				attributeEnclosedExpr();				astFactory.addASTChild(currentAST, returnAST);				break;			}			default:			{				if ( _cnt303>=1 ) { break _loop303; } else {throw new NoViableAltException(LT(1), getFilename());}			}			}			_cnt303++;		} while (true);		}		attributeValue_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;		returnAST = attributeValue_AST;	}