AST __t225 = _t;
AST __t230 = _t;
	public final void clearstate(AST _t) throws RecognitionException {				AST clearstate_AST_in = (_t == ASTNULL) ? null : (AST)_t;		AST c = null;				AST __t225 = _t;		c = _t==ASTNULL ? null :(AST)_t;		match(_t,CLEAR);		_t = _t.getFirstChild();		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case FRAME:		{			frame_ref(_t);			_t = _retTree;			break;		}		case EOF:		case PERIOD:		case ALL:		case NOPAUSE:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case ALL:		{			AST tmp804_AST_in = (AST)_t;			match(_t,ALL);			_t = _t.getNextSibling();			break;		}		case EOF:		case PERIOD:		case NOPAUSE:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case NOPAUSE:		{			AST tmp805_AST_in = (AST)_t;			match(_t,NOPAUSE);			_t = _t.getNextSibling();			break;		}		case EOF:		case PERIOD:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		state_end(_t);		_t = _retTree;		if ( inputState.guessing==0 ) {			action.clearState(c);		}		_t = __t225;		_t = _t.getNextSibling();		_retTree = _t;	}