synPredMatched7 = false;
synPredMatched11 = false;
	public final void module() throws RecognitionException, TokenStreamException {				returnAST = null;		ASTPair currentAST = new ASTPair();		org.exist.xquery.parser.XQueryAST module_AST = null;				boolean synPredMatched7 = false;		if (((LA(1)==LITERAL_module))) {			int _m7 = mark();			synPredMatched7 = true;			inputState.guessing++;			try {				{				match(LITERAL_module);				match(LITERAL_namespace);				}			}			catch (RecognitionException pe) {				synPredMatched7 = false;			}			rewind(_m7);			inputState.guessing--;		}		if ( synPredMatched7 ) {			libraryModule();			astFactory.addASTChild(currentAST, returnAST);			module_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;		}		else if ((_tokenSet_0.member(LA(1)))) {			mainModule();			astFactory.addASTChild(currentAST, returnAST);			module_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;		}		else {			throw new NoViableAltException(LT(1), getFilename());		}				returnAST = module_AST;	}