AST tmp1903_AST_in = (AST)_t;
AST tmp1905_AST_in = (AST)_t;
	public final void createdatabasestate(AST _t) throws RecognitionException {				AST createdatabasestate_AST_in = (_t == ASTNULL) ? null : (AST)_t;				AST __t1818 = _t;		AST tmp1903_AST_in = (AST)_t;		match(_t,CREATE);		_t = _t.getFirstChild();		AST tmp1904_AST_in = (AST)_t;		match(_t,DATABASE);		_t = _t.getNextSibling();		expression(_t);		_t = _retTree;		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case FROM:		{			AST __t1820 = _t;			AST tmp1905_AST_in = (AST)_t;			match(_t,FROM);			_t = _t.getFirstChild();			expression(_t);			_t = _retTree;			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case NEWINSTANCE:			{				AST tmp1906_AST_in = (AST)_t;				match(_t,NEWINSTANCE);				_t = _t.getNextSibling();				break;			}			case 3:			{				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			_t = __t1820;			_t = _t.getNextSibling();			break;		}		case EOF:		case PERIOD:		case NOERROR_KW:		case REPLACE:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case REPLACE:		{			AST tmp1907_AST_in = (AST)_t;			match(_t,REPLACE);			_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 tmp1908_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 = __t1818;		_t = _t.getNextSibling();		_retTree = _t;	}