AST tmp718_AST_in = (AST)_t;
AST tmp717_AST_in = (AST)_t;
	public final void createautomationobjectstate(AST _t) throws RecognitionException {				AST createautomationobjectstate_AST_in = (_t == ASTNULL) ? null : (AST)_t;				AST __t886 = _t;		AST tmp714_AST_in = (AST)_t;		match(_t,CREATE);		_t = _t.getFirstChild();		AST tmp715_AST_in = (AST)_t;		match(_t,QSTRING);		_t = _t.getNextSibling();		field(_t);		_t = _retTree;		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case CONNECT:		{			AST __t888 = _t;			AST tmp716_AST_in = (AST)_t;			match(_t,CONNECT);			_t = _t.getFirstChild();			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case TO:			{				AST __t890 = _t;				AST tmp717_AST_in = (AST)_t;				match(_t,TO);				_t = _t.getFirstChild();				expression(_t);				_t = _retTree;				_t = __t890;				_t = _t.getNextSibling();				break;			}			case 3:			{				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			_t = __t888;			_t = _t.getNextSibling();			break;		}		case EOF:		case PERIOD:		case NOERROR_KW:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case NOERROR_KW:		{			AST tmp718_AST_in = (AST)_t;			match(_t,NOERROR_KW);			_t = _t.getNextSibling();			break;		}		case EOF:		case PERIOD:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		state_end(_t);		_t = _retTree;		_t = __t886;		_t = _t.getNextSibling();		_retTree = _t;	}