Verilog2001Parser.java 文件源码

java
阅读 24 收藏 0 点赞 0 评论 0

项目:netlist-graph 作者:
public final Range_or_typeContext range_or_type() throws RecognitionException {
    Range_or_typeContext _localctx = new Range_or_typeContext(_ctx, getState());
    enterRule(_localctx, 148, RULE_range_or_type);
    try {
        setState(1666);
        switch (_input.LA(1)) {
        case T__20:
            enterOuterAlt(_localctx, 1);
            {
            setState(1661);
            range();
            }
            break;
        case T__25:
            enterOuterAlt(_localctx, 2);
            {
            setState(1662);
            match(T__25);
            }
            break;
        case T__26:
            enterOuterAlt(_localctx, 3);
            {
            setState(1663);
            match(T__26);
            }
            break;
        case T__27:
            enterOuterAlt(_localctx, 4);
            {
            setState(1664);
            match(T__27);
            }
            break;
        case T__28:
            enterOuterAlt(_localctx, 5);
            {
            setState(1665);
            match(T__28);
            }
            break;
        default:
            throw new NoViableAltException(this);
        }
    }
    catch (RecognitionException re) {
        _localctx.exception = re;
        _errHandler.reportError(this, re);
        _errHandler.recover(this, re);
    }
    finally {
        exitRule();
    }
    return _localctx;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号