traceIn("intersectExceptExpr"); try { returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST intersectExceptExpr_AST = null;
returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST intersectExceptExpr_AST = null;  pathExpr(); astFactory.addASTChild(currentAST, returnAST); { _loop144: do { if ((LA(1)==LITERAL_intersect||LA(1)==LITERAL_except)) { { switch ( LA(1)) { case LITERAL_intersect: { org.exist.xquery.parser.XQueryAST tmp229_AST = null; tmp229_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp229_AST); match(LITERAL_intersect); break; } case LITERAL_except: { org.exist.xquery.parser.XQueryAST tmp230_AST = null; tmp230_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp230_AST); match(LITERAL_except); break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } pathExpr(); astFactory.addASTChild(currentAST, returnAST); } else { break _loop144; }
	public final void intersectExceptExpr() throws RecognitionException, TokenStreamException {				traceIn("intersectExceptExpr");		try { // debugging			returnAST = null;			ASTPair currentAST = new ASTPair();			org.exist.xquery.parser.XQueryAST intersectExceptExpr_AST = null;						pathExpr();			astFactory.addASTChild(currentAST, returnAST);			{			_loop144:			do {				if ((LA(1)==LITERAL_intersect||LA(1)==LITERAL_except)) {					{					switch ( LA(1)) {					case LITERAL_intersect:					{						org.exist.xquery.parser.XQueryAST tmp231_AST = null;						tmp231_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));						astFactory.makeASTRoot(currentAST, tmp231_AST);						match(LITERAL_intersect);						break;					}					case LITERAL_except:					{						org.exist.xquery.parser.XQueryAST tmp232_AST = null;						tmp232_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));						astFactory.makeASTRoot(currentAST, tmp232_AST);						match(LITERAL_except);						break;					}					default:					{						throw new NoViableAltException(LT(1), getFilename());					}					}					}					pathExpr();					astFactory.addASTChild(currentAST, returnAST);				}				else {					break _loop144;				}							} while (true);			}			intersectExceptExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;			returnAST = intersectExceptExpr_AST;		} finally { // debugging			traceOut("intersectExceptExpr");		}	}