AST __t171 = _t;
AST __t173 = _t;
	public final Expression  generalComp(AST _t,		PathExpr path	) throws RecognitionException, PermissionDeniedException,EXistException,XPathException {		Expression step;				org.exist.xquery.parser.XQueryAST generalComp_AST_in = (_t == ASTNULL) ? null : (org.exist.xquery.parser.XQueryAST)_t;		org.exist.xquery.parser.XQueryAST eq = null;		org.exist.xquery.parser.XQueryAST neq = null;		org.exist.xquery.parser.XQueryAST lt = null;		org.exist.xquery.parser.XQueryAST lteq = null;		org.exist.xquery.parser.XQueryAST gt = null;		org.exist.xquery.parser.XQueryAST gteq = null;					step= null;			PathExpr left= new PathExpr(context);			PathExpr right= new PathExpr(context);						if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case EQ:		{			AST __t170 = _t;			eq = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t;			match(_t,EQ);			_t = _t.getFirstChild();			step=expr(_t,left);			_t = _retTree;			step=expr(_t,right);			_t = _retTree;									step= new GeneralComparison(context, left, right, Constants.EQ);			step.setASTNode(eq);						path.add(step);								_t = __t170;			_t = _t.getNextSibling();			break;		}		case NEQ:		{			AST __t171 = _t;			neq = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t;			match(_t,NEQ);			_t = _t.getFirstChild();			step=expr(_t,left);			_t = _retTree;			step=expr(_t,right);			_t = _retTree;									step= new GeneralComparison(context, left, right, Constants.NEQ);			step.setASTNode(neq);						path.add(step);								_t = __t171;			_t = _t.getNextSibling();			break;		}		case LT:		{			AST __t172 = _t;			lt = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t;			match(_t,LT);			_t = _t.getFirstChild();			step=expr(_t,left);			_t = _retTree;			step=expr(_t,right);			_t = _retTree;									step= new GeneralComparison(context, left, right, Constants.LT);			step.setASTNode(lt);						path.add(step);								_t = __t172;			_t = _t.getNextSibling();			break;		}		case LTEQ:		{			AST __t173 = _t;			lteq = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t;			match(_t,LTEQ);			_t = _t.getFirstChild();			step=expr(_t,left);			_t = _retTree;			step=expr(_t,right);			_t = _retTree;									step= new GeneralComparison(context, left, right, Constants.LTEQ);			step.setASTNode(lteq);						path.add(step);								_t = __t173;			_t = _t.getNextSibling();			break;		}		case GT:		{			AST __t174 = _t;			gt = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t;			match(_t,GT);			_t = _t.getFirstChild();			step=expr(_t,left);			_t = _retTree;			step=expr(_t,right);			_t = _retTree;									step= new GeneralComparison(context, left, right, Constants.GT);			step.setASTNode(gt);						path.add(step);								_t = __t174;			_t = _t.getNextSibling();			break;		}		case GTEQ:		{			AST __t175 = _t;			gteq = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t;			match(_t,GTEQ);			_t = _t.getFirstChild();			step=expr(_t,left);			_t = _retTree;			step=expr(_t,right);			_t = _retTree;									step= new GeneralComparison(context, left, right, Constants.GTEQ);			step.setASTNode(gteq);						path.add(step);								_t = __t175;			_t = _t.getNextSibling();			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		_retTree = _t;		return step;	}