AST tmp1710_AST_in = (AST)_t;
AST tmp1712_AST_in = (AST)_t;
	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 __t2469 = _t;			AST tmp1678_AST_in = (AST)_t;			match(_t,OR);			_t = _t.getFirstChild();			sqlexpression(_t);			_t = _retTree;			sqlexpression(_t);			_t = _retTree;			_t = __t2469;			_t = _t.getNextSibling();			break;		}		case AND:		{			AST __t2470 = _t;			AST tmp1679_AST_in = (AST)_t;			match(_t,AND);			_t = _t.getFirstChild();			sqlexpression(_t);			_t = _retTree;			sqlexpression(_t);			_t = _retTree;			_t = __t2470;			_t = _t.getNextSibling();			break;		}		case NOT:		{			AST __t2471 = _t;			AST tmp1680_AST_in = (AST)_t;			match(_t,NOT);			_t = _t.getFirstChild();			sqlexpression(_t);			_t = _retTree;			_t = __t2471;			_t = _t.getNextSibling();			break;		}		case MATCHES:		{			AST __t2472 = _t;			AST tmp1681_AST_in = (AST)_t;			match(_t,MATCHES);			_t = _t.getFirstChild();			sqlscalar(_t);			_t = _retTree;			{			if (_t==null) _t=ASTNULL;			if ((_tokenSet_31.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 = __t2472;			_t = _t.getNextSibling();			break;		}		case BEGINS:		{			AST __t2474 = _t;			AST tmp1682_AST_in = (AST)_t;			match(_t,BEGINS);			_t = _t.getFirstChild();			sqlscalar(_t);			_t = _retTree;			{			if (_t==null) _t=ASTNULL;			if ((_tokenSet_31.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 = __t2474;			_t = _t.getNextSibling();			break;		}		case CONTAINS:		{			AST __t2476 = _t;			AST tmp1683_AST_in = (AST)_t;			match(_t,CONTAINS);			_t = _t.getFirstChild();			sqlscalar(_t);			_t = _retTree;			{			if (_t==null) _t=ASTNULL;			if ((_tokenSet_31.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 = __t2476;			_t = _t.getNextSibling();			break;		}		case EQ:		{			AST __t2478 = _t;			AST tmp1684_AST_in = (AST)_t;			match(_t,EQ);			_t = _t.getFirstChild();			sqlscalar(_t);			_t = _retTree;			{			if (_t==null) _t=ASTNULL;			if ((_tokenSet_31.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 = __t2478;			_t = _t.getNextSibling();			break;		}		case NE:		{			AST __t2480 = _t;			AST tmp1685_AST_in = (AST)_t;			match(_t,NE);			_t = _t.getFirstChild();			sqlscalar(_t);			_t = _retTree;			{			if (_t==null) _t=ASTNULL;			if ((_tokenSet_31.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 = __t2480;			_t = _t.getNextSibling();			break;		}		case GTHAN:		{			AST __t2482 = _t;			AST tmp1686_AST_in = (AST)_t;			match(_t,GTHAN);			_t = _t.getFirstChild();			sqlscalar(_t);			_t = _retTree;			{			if (_t==null) _t=ASTNULL;			if ((_tokenSet_31.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 = __t2482;			_t = _t.getNextSibling();			break;		}		case GE:		{			AST __t2484 = _t;			AST tmp1687_AST_in = (AST)_t;			match(_t,GE);			_t = _t.getFirstChild();			sqlscalar(_t);			_t = _retTree;			{			if (_t==null) _t=ASTNULL;			if ((_tokenSet_31.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 = __t2484;			_t = _t.getNextSibling();			break;		}		case LTHAN:		{			AST __t2486 = _t;			AST tmp1688_AST_in = (AST)_t;			match(_t,LTHAN);			_t = _t.getFirstChild();			sqlscalar(_t);			_t = _retTree;			{			if (_t==null) _t=ASTNULL;			if ((_tokenSet_31.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 = __t2486;			_t = _t.getNextSibling();			break;		}		case LE:		{			AST __t2488 = _t;			AST tmp1689_AST_in = (AST)_t;			match(_t,LE);			_t = _t.getFirstChild();			sqlscalar(_t);			_t = _retTree;			{			if (_t==null) _t=ASTNULL;			if ((_tokenSet_31.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 = __t2488;			_t = _t.getNextSibling();			break;		}		case EXISTS:		{			AST __t2490 = _t;			AST tmp1690_AST_in = (AST)_t;			match(_t,EXISTS);			_t = _t.getFirstChild();			AST tmp1691_AST_in = (AST)_t;			match(_t,LEFTPAREN);			_t = _t.getNextSibling();			selectstatea(_t);			_t = _retTree;			AST tmp1692_AST_in = (AST)_t;			match(_t,RIGHTPAREN);			_t = _t.getNextSibling();			_t = __t2490;			_t = _t.getNextSibling();			break;		}		case Sql_begins:		{			AST __t2491 = _t;			AST tmp1693_AST_in = (AST)_t;			match(_t,Sql_begins);			_t = _t.getFirstChild();			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case NOT:			{				AST tmp1694_AST_in = (AST)_t;				match(_t,NOT);				_t = _t.getNextSibling();				break;			}			case BEGINS:			{				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			AST tmp1695_AST_in = (AST)_t;			match(_t,BEGINS);			_t = _t.getNextSibling();			sqlscalar(_t);			_t = _retTree;			_t = __t2491;			_t = _t.getNextSibling();			break;		}		case Sql_between:		{			AST __t2493 = _t;			AST tmp1696_AST_in = (AST)_t;			match(_t,Sql_between);			_t = _t.getFirstChild();			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case NOT:			{				AST tmp1697_AST_in = (AST)_t;				match(_t,NOT);				_t = _t.getNextSibling();				break;			}			case BETWEEN:			{				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			AST tmp1698_AST_in = (AST)_t;			match(_t,BETWEEN);			_t = _t.getNextSibling();			sqlscalar(_t);			_t = _retTree;			AST tmp1699_AST_in = (AST)_t;			match(_t,AND);			_t = _t.getNextSibling();			sqlscalar(_t);			_t = _retTree;			_t = __t2493;			_t = _t.getNextSibling();			break;		}		case Sql_in:		{			AST __t2495 = _t;			AST tmp1700_AST_in = (AST)_t;			match(_t,Sql_in);			_t = _t.getFirstChild();			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case NOT:			{				AST tmp1701_AST_in = (AST)_t;				match(_t,NOT);				_t = _t.getNextSibling();				break;			}			case IN_KW:			{				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			AST tmp1702_AST_in = (AST)_t;			match(_t,IN_KW);			_t = _t.getNextSibling();			AST tmp1703_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;				{				_loop2499:				do {					if (_t==null) _t=ASTNULL;					if ((_t.getType()==COMMA)) {						AST tmp1704_AST_in = (AST)_t;						match(_t,COMMA);						_t = _t.getNextSibling();						sql_in_val(_t);						_t = _retTree;					}					else {						break _loop2499;					}									} while (true);				}				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			AST tmp1705_AST_in = (AST)_t;			match(_t,RIGHTPAREN);			_t = _t.getNextSibling();			_t = __t2495;			_t = _t.getNextSibling();			break;		}		case Sql_like:		{			AST __t2500 = _t;			AST tmp1706_AST_in = (AST)_t;			match(_t,Sql_like);			_t = _t.getFirstChild();			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case NOT:			{				AST tmp1707_AST_in = (AST)_t;				match(_t,NOT);				_t = _t.getNextSibling();				break;			}			case LIKE:			{				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			AST tmp1708_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 tmp1709_AST_in = (AST)_t;				match(_t,ESCAPE);				_t = _t.getNextSibling();				sqlscalar(_t);				_t = _retTree;				break;			}			case 3:			{				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			_t = __t2500;			_t = _t.getNextSibling();			break;		}		case Sql_null_test:		{			AST __t2503 = _t;			AST tmp1710_AST_in = (AST)_t;			match(_t,Sql_null_test);			_t = _t.getFirstChild();			AST tmp1711_AST_in = (AST)_t;			match(_t,IS);			_t = _t.getNextSibling();			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case NOT:			{				AST tmp1712_AST_in = (AST)_t;				match(_t,NOT);				_t = _t.getNextSibling();				break;			}			case NULL_KW:			{				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			AST tmp1713_AST_in = (AST)_t;			match(_t,NULL_KW);			_t = _t.getNextSibling();			_t = __t2503;			_t = _t.getNextSibling();			break;		}		default:			if (_t==null) _t=ASTNULL;			if ((_tokenSet_31.member(_t.getType()))) {				sqlscalar(_t);				_t = _retTree;			}		else {			throw new NoViableAltException(_t);		}		}		_retTree = _t;	}