if ( _cnt338>=1 ) { break _loop338; } else {throw new NoViableAltException(LT(1), getFilename());}
if ( _cnt342>=1 ) { break _loop342; } else {throw new NoViableAltException(LT(1), getFilename());}
	public final void attributeList() throws RecognitionException, TokenStreamException, XPathException {				returnAST = null;		ASTPair currentAST = new ASTPair();		org.exist.xquery.parser.XQueryAST attributeList_AST = null;				{		int _cnt338=0;		_loop338:		do {			if ((_tokenSet_1.member(LA(1)))) {				attributeDef();				astFactory.addASTChild(currentAST, returnAST);			}			else {				if ( _cnt338>=1 ) { break _loop338; } else {throw new NoViableAltException(LT(1), getFilename());}			}						_cnt338++;		} while (true);		}		attributeList_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;		returnAST = attributeList_AST;	}