_t = __t531;
_t = __t535;
	public final void clearstate(AST _t) throws RecognitionException {				AST clearstate_AST_in = (_t == ASTNULL) ? null : (AST)_t;				AST __t529 = _t;		AST tmp328_AST_in = (AST)_t;		match(_t,CLEAR);		_t = _t.getFirstChild();		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case FRAME:		{			AST __t531 = _t;			AST tmp329_AST_in = (AST)_t;			match(_t,FRAME);			_t = _t.getFirstChild();			AST tmp330_AST_in = (AST)_t;			match(_t,ID);			_t = _t.getNextSibling();			_t = __t531;			_t = _t.getNextSibling();			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 tmp331_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 tmp332_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;		_t = __t529;		_t = _t.getNextSibling();		_retTree = _t;	}