AST tmp1810_AST_in = (AST)_t;
AST tmp1809_AST_in = (AST)_t;
	public final void applystate(AST _t) throws RecognitionException {				AST applystate_AST_in = (_t == ASTNULL) ? null : (AST)_t;				AST __t1636 = _t;		AST tmp1809_AST_in = (AST)_t;		match(_t,APPLY);		_t = _t.getFirstChild();		expression(_t);		_t = _retTree;		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case TO:		{			AST __t1638 = _t;			AST tmp1810_AST_in = (AST)_t;			match(_t,TO);			_t = _t.getFirstChild();			gwidget(_t);			_t = _retTree;			_t = __t1638;			_t = _t.getNextSibling();			break;		}		case EOF:		case PERIOD:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		state_end(_t);		_t = _retTree;		_t = __t1636;		_t = _t.getNextSibling();		_retTree = _t;	}