_t = __t2434;
_t = __t2438;
	public final void sqlexpression(AST _t) throws RecognitionException {				AST sqlexpression_AST_in = (_t == ASTNULL) ? null : (AST)_t;				if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case OR:		{			AST __t2432 = _t;			AST tmp2428_AST_in = (AST)_t;			match(_t,OR);			_t = _t.getFirstChild();			sqlexpression(_t);			_t = _retTree;			sqlexpression(_t);			_t = _retTree;			_t = __t2432;			_t = _t.getNextSibling();			break;		}		case AND:		{			AST __t2433 = _t;			AST tmp2429_AST_in = (AST)_t;			match(_t,AND);			_t = _t.getFirstChild();			sqlexpression(_t);			_t = _retTree;			sqlexpression(_t);			_t = _retTree;			_t = __t2433;			_t = _t.getNextSibling();			break;		}		case NOT:		{			AST __t2434 = _t;			AST tmp2430_AST_in = (AST)_t;			match(_t,NOT);			_t = _t.getFirstChild();			sqlexpression(_t);			_t = _retTree;			_t = __t2434;			_t = _t.getNextSibling();			break;		}		case MATCHES:		{			AST __t2435 = _t;			AST tmp2431_AST_in = (AST)_t;			match(_t,MATCHES);			_t = _t.getFirstChild();			sqlscalar(_t);			_t = _retTree;			{			if (_t==null) _t=ASTNULL;			if ((_tokenSet_40.member(_t.getType()))) {				sqlscalar(_t);				_t = _retTree;			}			else if ((_t.getType()==Sql_comp_query)) {				sql_comp_query(_t);				_t = _retTree;			}			else {				throw new NoViableAltException(_t);			}						}			_t = __t2435;			_t = _t.getNextSibling();			break;		}		case BEGINS:		{			AST __t2437 = _t;			AST tmp2432_AST_in = (AST)_t;			match(_t,BEGINS);			_t = _t.getFirstChild();			sqlscalar(_t);			_t = _retTree;			{			if (_t==null) _t=ASTNULL;			if ((_tokenSet_40.member(_t.getType()))) {				sqlscalar(_t);				_t = _retTree;			}			else if ((_t.getType()==Sql_comp_query)) {				sql_comp_query(_t);				_t = _retTree;			}			else {				throw new NoViableAltException(_t);			}						}			_t = __t2437;			_t = _t.getNextSibling();			break;		}		case CONTAINS:		{			AST __t2439 = _t;			AST tmp2433_AST_in = (AST)_t;			match(_t,CONTAINS);			_t = _t.getFirstChild();			sqlscalar(_t);			_t = _retTree;			{			if (_t==null) _t=ASTNULL;			if ((_tokenSet_40.member(_t.getType()))) {				sqlscalar(_t);				_t = _retTree;			}			else if ((_t.getType()==Sql_comp_query)) {				sql_comp_query(_t);				_t = _retTree;			}			else {				throw new NoViableAltException(_t);			}						}			_t = __t2439;			_t = _t.getNextSibling();			break;		}		case EQ:		{			AST __t2441 = _t;			AST tmp2434_AST_in = (AST)_t;			match(_t,EQ);			_t = _t.getFirstChild();			sqlscalar(_t);			_t = _retTree;			{			if (_t==null) _t=ASTNULL;			if ((_tokenSet_40.member(_t.getType()))) {				sqlscalar(_t);				_t = _retTree;			}			else if ((_t.getType()==Sql_comp_query)) {				sql_comp_query(_t);				_t = _retTree;			}			else {				throw new NoViableAltException(_t);			}						}			_t = __t2441;			_t = _t.getNextSibling();			break;		}		case NE:		{			AST __t2443 = _t;			AST tmp2435_AST_in = (AST)_t;			match(_t,NE);			_t = _t.getFirstChild();			sqlscalar(_t);			_t = _retTree;			{			if (_t==null) _t=ASTNULL;			if ((_tokenSet_40.member(_t.getType()))) {				sqlscalar(_t);				_t = _retTree;			}			else if ((_t.getType()==Sql_comp_query)) {				sql_comp_query(_t);				_t = _retTree;			}			else {				throw new NoViableAltException(_t);			}						}			_t = __t2443;			_t = _t.getNextSibling();			break;		}		case GTHAN:		{			AST __t2445 = _t;			AST tmp2436_AST_in = (AST)_t;			match(_t,GTHAN);			_t = _t.getFirstChild();			sqlscalar(_t);			_t = _retTree;			{			if (_t==null) _t=ASTNULL;			if ((_tokenSet_40.member(_t.getType()))) {				sqlscalar(_t);				_t = _retTree;			}			else if ((_t.getType()==Sql_comp_query)) {				sql_comp_query(_t);				_t = _retTree;			}			else {				throw new NoViableAltException(_t);			}						}			_t = __t2445;			_t = _t.getNextSibling();			break;		}		case GE:		{			AST __t2447 = _t;			AST tmp2437_AST_in = (AST)_t;			match(_t,GE);			_t = _t.getFirstChild();			sqlscalar(_t);			_t = _retTree;			{			if (_t==null) _t=ASTNULL;			if ((_tokenSet_40.member(_t.getType()))) {				sqlscalar(_t);				_t = _retTree;			}			else if ((_t.getType()==Sql_comp_query)) {				sql_comp_query(_t);				_t = _retTree;			}			else {				throw new NoViableAltException(_t);			}						}			_t = __t2447;			_t = _t.getNextSibling();			break;		}		case LTHAN:		{			AST __t2449 = _t;			AST tmp2438_AST_in = (AST)_t;			match(_t,LTHAN);			_t = _t.getFirstChild();			sqlscalar(_t);			_t = _retTree;			{			if (_t==null) _t=ASTNULL;			if ((_tokenSet_40.member(_t.getType()))) {				sqlscalar(_t);				_t = _retTree;			}			else if ((_t.getType()==Sql_comp_query)) {				sql_comp_query(_t);				_t = _retTree;			}			else {				throw new NoViableAltException(_t);			}						}			_t = __t2449;			_t = _t.getNextSibling();			break;		}		case LE:		{			AST __t2451 = _t;			AST tmp2439_AST_in = (AST)_t;			match(_t,LE);			_t = _t.getFirstChild();			sqlscalar(_t);			_t = _retTree;			{			if (_t==null) _t=ASTNULL;			if ((_tokenSet_40.member(_t.getType()))) {				sqlscalar(_t);				_t = _retTree;			}			else if ((_t.getType()==Sql_comp_query)) {				sql_comp_query(_t);				_t = _retTree;			}			else {				throw new NoViableAltException(_t);			}						}			_t = __t2451;			_t = _t.getNextSibling();			break;		}		case EXISTS:		{			AST __t2453 = _t;			AST tmp2440_AST_in = (AST)_t;			match(_t,EXISTS);			_t = _t.getFirstChild();			AST tmp2441_AST_in = (AST)_t;			match(_t,LEFTPAREN);			_t = _t.getNextSibling();			selectstatea(_t);			_t = _retTree;			AST tmp2442_AST_in = (AST)_t;			match(_t,RIGHTPAREN);			_t = _t.getNextSibling();			_t = __t2453;			_t = _t.getNextSibling();			break;		}		case Sql_begins:		{			AST __t2454 = _t;			AST tmp2443_AST_in = (AST)_t;			match(_t,Sql_begins);			_t = _t.getFirstChild();			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case NOT:			{				AST tmp2444_AST_in = (AST)_t;				match(_t,NOT);				_t = _t.getNextSibling();				break;			}			case BEGINS:			{				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			AST tmp2445_AST_in = (AST)_t;			match(_t,BEGINS);			_t = _t.getNextSibling();			sqlscalar(_t);			_t = _retTree;			_t = __t2454;			_t = _t.getNextSibling();			break;		}		case Sql_between:		{			AST __t2456 = _t;			AST tmp2446_AST_in = (AST)_t;			match(_t,Sql_between);			_t = _t.getFirstChild();			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case NOT:			{				AST tmp2447_AST_in = (AST)_t;				match(_t,NOT);				_t = _t.getNextSibling();				break;			}			case BETWEEN:			{				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			AST tmp2448_AST_in = (AST)_t;			match(_t,BETWEEN);			_t = _t.getNextSibling();			sqlscalar(_t);			_t = _retTree;			AST tmp2449_AST_in = (AST)_t;			match(_t,AND);			_t = _t.getNextSibling();			sqlscalar(_t);			_t = _retTree;			_t = __t2456;			_t = _t.getNextSibling();			break;		}		case Sql_in:		{			AST __t2458 = _t;			AST tmp2450_AST_in = (AST)_t;			match(_t,Sql_in);			_t = _t.getFirstChild();			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case NOT:			{				AST tmp2451_AST_in = (AST)_t;				match(_t,NOT);				_t = _t.getNextSibling();				break;			}			case IN_KW:			{				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			AST tmp2452_AST_in = (AST)_t;			match(_t,IN_KW);			_t = _t.getNextSibling();			AST tmp2453_AST_in = (AST)_t;			match(_t,LEFTPAREN);			_t = _t.getNextSibling();			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case SELECT:			{				selectstatea(_t);				_t = _retTree;				break;			}			case LEXDATE:			case NUMBER:			case QSTRING:			case BIGENDIAN:			case EXCLUSIVELOCK:			case FALSE_KW:			case FINDCASESENSITIVE:			case FINDGLOBAL:			case FINDNEXTOCCURRENCE:			case FINDPREVOCCURRENCE:			case FINDSELECT:			case FINDWRAPAROUND:			case HOSTBYTEORDER:			case LITTLEENDIAN:			case NO:			case NOLOCK:			case NOWAIT:			case NULL_KW:			case READAVAILABLE:			case READEXACTNUM:			case SEARCHSELF:			case SEARCHTARGET:			case SHARELOCK:			case TRUE_KW:			case USERID:			case WINDOWDELAYEDMINIMIZE:			case WINDOWMAXIMIZED:			case WINDOWMINIMIZED:			case WINDOWNORMAL:			case YES:			case UNKNOWNVALUE:			case Field_ref:			case FUNCTIONCALLTYPE:			case GETATTRCALLTYPE:			case PROCEDURECALLTYPE:			case SAXCOMPLETE:			case SAXPARSERERROR:			case SAXRUNNING:			case SAXUNINITIALIZED:			case SETATTRCALLTYPE:			case ROWUNMODIFIED:			case ROWDELETED:			case ROWMODIFIED:			case ROWCREATED:			{				sql_in_val(_t);				_t = _retTree;				{				_loop2462:				do {					if (_t==null) _t=ASTNULL;					if ((_t.getType()==COMMA)) {						AST tmp2454_AST_in = (AST)_t;						match(_t,COMMA);						_t = _t.getNextSibling();						sql_in_val(_t);						_t = _retTree;					}					else {						break _loop2462;					}									} while (true);				}				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			AST tmp2455_AST_in = (AST)_t;			match(_t,RIGHTPAREN);			_t = _t.getNextSibling();			_t = __t2458;			_t = _t.getNextSibling();			break;		}		case Sql_like:		{			AST __t2463 = _t;			AST tmp2456_AST_in = (AST)_t;			match(_t,Sql_like);			_t = _t.getFirstChild();			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case NOT:			{				AST tmp2457_AST_in = (AST)_t;				match(_t,NOT);				_t = _t.getNextSibling();				break;			}			case LIKE:			{				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			AST tmp2458_AST_in = (AST)_t;			match(_t,LIKE);			_t = _t.getNextSibling();			sqlscalar(_t);			_t = _retTree;			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case ESCAPE:			{				AST tmp2459_AST_in = (AST)_t;				match(_t,ESCAPE);				_t = _t.getNextSibling();				sqlscalar(_t);				_t = _retTree;				break;			}			case 3:			{				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			_t = __t2463;			_t = _t.getNextSibling();			break;		}		case Sql_null_test:		{			AST __t2466 = _t;			AST tmp2460_AST_in = (AST)_t;			match(_t,Sql_null_test);			_t = _t.getFirstChild();			AST tmp2461_AST_in = (AST)_t;			match(_t,IS);			_t = _t.getNextSibling();			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case NOT:			{				AST tmp2462_AST_in = (AST)_t;				match(_t,NOT);				_t = _t.getNextSibling();				break;			}			case NULL_KW:			{				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			AST tmp2463_AST_in = (AST)_t;			match(_t,NULL_KW);			_t = _t.getNextSibling();			_t = __t2466;			_t = _t.getNextSibling();			break;		}		default:			if (_t==null) _t=ASTNULL;			if ((_tokenSet_40.member(_t.getType()))) {				sqlscalar(_t);				_t = _retTree;			}		else {			throw new NoViableAltException(_t);		}		}		_retTree = _t;	}