AST tmp1133_AST_in = (AST)_t;
AST tmp1134_AST_in = (AST)_t;
	public final void defineparameterstate(AST _t) throws RecognitionException {				AST defineparameterstate_AST_in = (_t == ASTNULL) ? null : (AST)_t;		AST def = null;		AST bid = null;		AST brec = null;		AST id = null;		AST ds = null;		AST id3 = null;		AST id2 = null;				AST __t525 = _t;		def = _t==ASTNULL ? null :(AST)_t;		match(_t,DEFINE);		_t = _t.getFirstChild();		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case NEW:		case SHARED:		{			def_shared(_t);			_t = _retTree;			break;		}		case INPUT:		case INPUTOUTPUT:		case OUTPUT:		case PARAMETER:		case PRIVATE:		case PUBLIC:		case RETURN:		case PROTECTED:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case PRIVATE:		case PUBLIC:		case PROTECTED:		{			def_visib(_t);			_t = _retTree;			break;		}		case INPUT:		case INPUTOUTPUT:		case OUTPUT:		case PARAMETER:		case RETURN:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case PARAMETER:		{			AST tmp1120_AST_in = (AST)_t;			match(_t,PARAMETER);			_t = _t.getNextSibling();			AST tmp1121_AST_in = (AST)_t;			match(_t,BUFFER);			_t = _t.getNextSibling();			bid = (AST)_t;			match(_t,ID);			_t = _t.getNextSibling();			AST tmp1122_AST_in = (AST)_t;			match(_t,FOR);			_t = _t.getNextSibling();			brec = _t==ASTNULL ? null : (AST)_t;			tbl(_t,CQ.SYMBOL);			_t = _retTree;			if ( inputState.guessing==0 ) {				action.defineBuffer(def, bid, brec, true);			}			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case PRESELECT:			{				AST tmp1123_AST_in = (AST)_t;				match(_t,PRESELECT);				_t = _t.getNextSibling();				break;			}			case EOF:			case PERIOD:			case COLUMNLABEL:			case FIELDS:			case LABEL:			{				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case COLUMNLABEL:			case LABEL:			{				label_constant(_t);				_t = _retTree;				break;			}			case EOF:			case PERIOD:			case FIELDS:			{				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case FIELDS:			{				AST __t532 = _t;				AST tmp1124_AST_in = (AST)_t;				match(_t,FIELDS);				_t = _t.getFirstChild();				{				_loop534:				do {					if (_t==null) _t=ASTNULL;					if ((_t.getType()==Field_ref)) {						fld1(_t,CQ.SYMBOL);						_t = _retTree;					}					else {						break _loop534;					}									} while (true);				}				_t = __t532;				_t = _t.getNextSibling();				break;			}			case EOF:			case PERIOD:			{				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			break;		}		case INPUT:		case INPUTOUTPUT:		case OUTPUT:		case RETURN:		{			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case INPUT:			{				AST tmp1125_AST_in = (AST)_t;				match(_t,INPUT);				_t = _t.getNextSibling();				break;			}			case OUTPUT:			{				AST tmp1126_AST_in = (AST)_t;				match(_t,OUTPUT);				_t = _t.getNextSibling();				break;			}			case INPUTOUTPUT:			{				AST tmp1127_AST_in = (AST)_t;				match(_t,INPUTOUTPUT);				_t = _t.getNextSibling();				break;			}			case RETURN:			{				AST tmp1128_AST_in = (AST)_t;				match(_t,RETURN);				_t = _t.getNextSibling();				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			AST tmp1129_AST_in = (AST)_t;			match(_t,PARAMETER);			_t = _t.getNextSibling();			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case TABLE:			{				AST tmp1130_AST_in = (AST)_t;				match(_t,TABLE);				_t = _t.getNextSibling();				AST tmp1131_AST_in = (AST)_t;				match(_t,FOR);				_t = _t.getNextSibling();				tbl(_t,CQ.TEMPTABLESYMBOL);				_t = _retTree;				{				_loop538:				do {					if (_t==null) _t=ASTNULL;					switch ( _t.getType()) {					case APPEND:					{						AST tmp1132_AST_in = (AST)_t;						match(_t,APPEND);						_t = _t.getNextSibling();						break;					}					case BIND:					{						AST tmp1133_AST_in = (AST)_t;						match(_t,BIND);						_t = _t.getNextSibling();						break;					}					default:					{						break _loop538;					}					}				} while (true);				}				break;			}			case TABLEHANDLE:			{				AST tmp1134_AST_in = (AST)_t;				match(_t,TABLEHANDLE);				_t = _t.getNextSibling();				{				if (_t==null) _t=ASTNULL;				switch ( _t.getType()) {				case FOR:				{					AST tmp1135_AST_in = (AST)_t;					match(_t,FOR);					_t = _t.getNextSibling();					break;				}				case ID:				{					break;				}				default:				{					throw new NoViableAltException(_t);				}				}				}				id = (AST)_t;				match(_t,ID);				_t = _t.getNextSibling();				{				_loop541:				do {					if (_t==null) _t=ASTNULL;					switch ( _t.getType()) {					case APPEND:					{						AST tmp1136_AST_in = (AST)_t;						match(_t,APPEND);						_t = _t.getNextSibling();						break;					}					case BIND:					{						AST tmp1137_AST_in = (AST)_t;						match(_t,BIND);						_t = _t.getNextSibling();						break;					}					default:					{						break _loop541;					}					}				} while (true);				}				if ( inputState.guessing==0 ) {					action.addToSymbolScope(action.defineVariable(def, id, HANDLE));				}				break;			}			case DATASET:			{				AST tmp1138_AST_in = (AST)_t;				match(_t,DATASET);				_t = _t.getNextSibling();				AST tmp1139_AST_in = (AST)_t;				match(_t,FOR);				_t = _t.getNextSibling();				ds = (AST)_t;				match(_t,ID);				_t = _t.getNextSibling();				{				_loop543:				do {					if (_t==null) _t=ASTNULL;					switch ( _t.getType()) {					case APPEND:					{						AST tmp1140_AST_in = (AST)_t;						match(_t,APPEND);						_t = _t.getNextSibling();						break;					}					case BYVALUE:					{						AST tmp1141_AST_in = (AST)_t;						match(_t,BYVALUE);						_t = _t.getNextSibling();						break;					}					case BIND:					{						AST tmp1142_AST_in = (AST)_t;						match(_t,BIND);						_t = _t.getNextSibling();						break;					}					default:					{						break _loop543;					}					}				} while (true);				}				if ( inputState.guessing==0 ) {					action.addToSymbolScope(action.defineSymbol(DATASET, ds, ds));				}				break;			}			case DATASETHANDLE:			{				AST tmp1143_AST_in = (AST)_t;				match(_t,DATASETHANDLE);				_t = _t.getNextSibling();				id3 = (AST)_t;				match(_t,ID);				_t = _t.getNextSibling();				{				_loop545:				do {					if (_t==null) _t=ASTNULL;					switch ( _t.getType()) {					case APPEND:					{						AST tmp1144_AST_in = (AST)_t;						match(_t,APPEND);						_t = _t.getNextSibling();						break;					}					case BYVALUE:					{						AST tmp1145_AST_in = (AST)_t;						match(_t,BYVALUE);						_t = _t.getNextSibling();						break;					}					case BIND:					{						AST tmp1146_AST_in = (AST)_t;						match(_t,BIND);						_t = _t.getNextSibling();						break;					}					default:					{						break _loop545;					}					}				} while (true);				}				if ( inputState.guessing==0 ) {					action.addToSymbolScope(action.defineVariable(def, id3, HANDLE));				}				break;			}			case ID:			{				id2 = (AST)_t;				match(_t,ID);				_t = _t.getNextSibling();				if ( inputState.guessing==0 ) {					push(action.defineVariable(def, id2));				}				defineparam_var(_t);				_t = _retTree;				{				if (_t==null) _t=ASTNULL;				switch ( _t.getType()) {				case TRIGGERS:				{					triggerphrase(_t);					_t = _retTree;					break;				}				case EOF:				case PERIOD:				{					break;				}				default:				{					throw new NoViableAltException(_t);				}				}				}				if ( inputState.guessing==0 ) {					action.addToSymbolScope(pop());				}				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		state_end(_t);		_t = _retTree;		_t = __t525;		_t = _t.getNextSibling();		_retTree = _t;	}