public Dotted_nameContext dotted_name()
    {
        Dotted_nameContext _localctx = new Dotted_nameContext(Context, State);

        EnterRule(_localctx, 24, RULE_dotted_name);
        int _la;

        try {
            EnterOuterAlt(_localctx, 1);
            {
                State = 94; node_inst();
                State = 97;
                ErrorHandler.Sync(this);
                _la = TokenStream.LA(1);
                if (_la == DOT)
                {
                    {
                        State = 95; Match(DOT);
                        State = 96; Match(NAME);
                    }
                }
            }
        }
        catch (RecognitionException re) {
            _localctx.exception = re;
            ErrorHandler.ReportError(this, re);
            ErrorHandler.Recover(this, re);
        }
        finally {
            ExitRule();
        }
        return(_localctx);
    }
Example #2
0
	public Dotted_nameContext dotted_name() {
		Dotted_nameContext _localctx = new Dotted_nameContext(Context, State);
		EnterRule(_localctx, 66, RULE_dotted_name);
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 525; Match(NAME);
			State = 530;
			ErrorHandler.Sync(this);
			_la = TokenStream.La(1);
			while (_la==DOT) {
				{
				{
				State = 526; Match(DOT);
				State = 527; Match(NAME);
				}
				}
				State = 532;
				ErrorHandler.Sync(this);
				_la = TokenStream.La(1);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}