
// Generated from SystemRDL.g4 by ANTLR 4.9


#include "SystemRDLVisitor.h"

#include "SystemRDLParser.h"


using namespace antlrcpp;
using namespace antlr4;

SystemRDLParser::SystemRDLParser(TokenStream *input) : Parser(input) {
  _interpreter = new atn::ParserATNSimulator(this, _atn, _decisionToDFA, _sharedContextCache);
}

SystemRDLParser::~SystemRDLParser() {
  delete _interpreter;
}

std::string SystemRDLParser::getGrammarFileName() const {
  return "SystemRDL.g4";
}

const std::vector<std::string>& SystemRDLParser::getRuleNames() const {
  return _ruleNames;
}

dfa::Vocabulary& SystemRDLParser::getVocabulary() const {
  return _vocabulary;
}


//----------------- RootContext ------------------------------------------------------------------

SystemRDLParser::RootContext::RootContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::RootContext::EOF() {
  return getToken(SystemRDLParser::EOF, 0);
}

std::vector<SystemRDLParser::Root_elemContext *> SystemRDLParser::RootContext::root_elem() {
  return getRuleContexts<SystemRDLParser::Root_elemContext>();
}

SystemRDLParser::Root_elemContext* SystemRDLParser::RootContext::root_elem(size_t i) {
  return getRuleContext<SystemRDLParser::Root_elemContext>(i);
}


size_t SystemRDLParser::RootContext::getRuleIndex() const {
  return SystemRDLParser::RuleRoot;
}


antlrcpp::Any SystemRDLParser::RootContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitRoot(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::RootContext* SystemRDLParser::root() {
  RootContext *_localctx = _tracker.createInstance<RootContext>(_ctx, getState());
  enterRule(_localctx, 0, SystemRDLParser::RuleRoot);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(173);
    _errHandler->sync(this);
    _la = _input->LA(1);
    while ((((_la & ~ 0x3fULL) == 0) &&
      ((1ULL << _la) & ((1ULL << SystemRDLParser::ALIAS_kw)
      | (1ULL << SystemRDLParser::EXTERNAL_kw)
      | (1ULL << SystemRDLParser::INTERNAL_kw)
      | (1ULL << SystemRDLParser::ADDRMAP_kw)
      | (1ULL << SystemRDLParser::REGFILE_kw)
      | (1ULL << SystemRDLParser::REG_kw)
      | (1ULL << SystemRDLParser::FIELD_kw)
      | (1ULL << SystemRDLParser::MEM_kw)
      | (1ULL << SystemRDLParser::SIGNAL_kw)
      | (1ULL << SystemRDLParser::RCLR_kw)
      | (1ULL << SystemRDLParser::RSET_kw)
      | (1ULL << SystemRDLParser::WOSET_kw)
      | (1ULL << SystemRDLParser::WOCLR_kw)
      | (1ULL << SystemRDLParser::HW_kw)
      | (1ULL << SystemRDLParser::SW_kw)
      | (1ULL << SystemRDLParser::POSEDGE_kw)
      | (1ULL << SystemRDLParser::NEGEDGE_kw))) != 0) || ((((_la - 64) & ~ 0x3fULL) == 0) &&
      ((1ULL << (_la - 64)) & ((1ULL << (SystemRDLParser::BOTHEDGE_kw - 64))
      | (1ULL << (SystemRDLParser::LEVEL_kw - 64))
      | (1ULL << (SystemRDLParser::NONSTICKY_kw - 64))
      | (1ULL << (SystemRDLParser::ABSTRACT_kw - 64))
      | (1ULL << (SystemRDLParser::CONSTRAINT_kw - 64))
      | (1ULL << (SystemRDLParser::DEFAULT_kw - 64))
      | (1ULL << (SystemRDLParser::ENUM_kw - 64))
      | (1ULL << (SystemRDLParser::ENCODE_kw - 64))
      | (1ULL << (SystemRDLParser::PROPERTY_kw - 64))
      | (1ULL << (SystemRDLParser::STRUCT_kw - 64))
      | (1ULL << (SystemRDLParser::ID - 64)))) != 0)) {
      setState(168);
      root_elem();
      setState(169);
      match(SystemRDLParser::T__0);
      setState(175);
      _errHandler->sync(this);
      _la = _input->LA(1);
    }
    setState(176);
    match(SystemRDLParser::EOF);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Root_elemContext ------------------------------------------------------------------

SystemRDLParser::Root_elemContext::Root_elemContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::Component_defContext* SystemRDLParser::Root_elemContext::component_def() {
  return getRuleContext<SystemRDLParser::Component_defContext>(0);
}

SystemRDLParser::Enum_defContext* SystemRDLParser::Root_elemContext::enum_def() {
  return getRuleContext<SystemRDLParser::Enum_defContext>(0);
}

SystemRDLParser::Udp_defContext* SystemRDLParser::Root_elemContext::udp_def() {
  return getRuleContext<SystemRDLParser::Udp_defContext>(0);
}

SystemRDLParser::Struct_defContext* SystemRDLParser::Root_elemContext::struct_def() {
  return getRuleContext<SystemRDLParser::Struct_defContext>(0);
}

SystemRDLParser::Constraint_defContext* SystemRDLParser::Root_elemContext::constraint_def() {
  return getRuleContext<SystemRDLParser::Constraint_defContext>(0);
}

SystemRDLParser::Explicit_component_instContext* SystemRDLParser::Root_elemContext::explicit_component_inst() {
  return getRuleContext<SystemRDLParser::Explicit_component_instContext>(0);
}

SystemRDLParser::Local_property_assignmentContext* SystemRDLParser::Root_elemContext::local_property_assignment() {
  return getRuleContext<SystemRDLParser::Local_property_assignmentContext>(0);
}

SystemRDLParser::Dynamic_property_assignmentContext* SystemRDLParser::Root_elemContext::dynamic_property_assignment() {
  return getRuleContext<SystemRDLParser::Dynamic_property_assignmentContext>(0);
}


size_t SystemRDLParser::Root_elemContext::getRuleIndex() const {
  return SystemRDLParser::RuleRoot_elem;
}


antlrcpp::Any SystemRDLParser::Root_elemContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitRoot_elem(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Root_elemContext* SystemRDLParser::root_elem() {
  Root_elemContext *_localctx = _tracker.createInstance<Root_elemContext>(_ctx, getState());
  enterRule(_localctx, 2, SystemRDLParser::RuleRoot_elem);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    setState(186);
    _errHandler->sync(this);
    switch (getInterpreter<atn::ParserATNSimulator>()->adaptivePredict(_input, 1, _ctx)) {
    case 1: {
      enterOuterAlt(_localctx, 1);
      setState(178);
      component_def();
      break;
    }

    case 2: {
      enterOuterAlt(_localctx, 2);
      setState(179);
      enum_def();
      break;
    }

    case 3: {
      enterOuterAlt(_localctx, 3);
      setState(180);
      udp_def();
      break;
    }

    case 4: {
      enterOuterAlt(_localctx, 4);
      setState(181);
      struct_def();
      break;
    }

    case 5: {
      enterOuterAlt(_localctx, 5);
      setState(182);
      constraint_def();
      break;
    }

    case 6: {
      enterOuterAlt(_localctx, 6);
      setState(183);
      explicit_component_inst();
      break;
    }

    case 7: {
      enterOuterAlt(_localctx, 7);
      setState(184);
      local_property_assignment();
      break;
    }

    case 8: {
      enterOuterAlt(_localctx, 8);
      setState(185);
      dynamic_property_assignment();
      break;
    }

    default:
      break;
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Component_defContext ------------------------------------------------------------------

SystemRDLParser::Component_defContext::Component_defContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::Component_named_defContext* SystemRDLParser::Component_defContext::component_named_def() {
  return getRuleContext<SystemRDLParser::Component_named_defContext>(0);
}

SystemRDLParser::Component_inst_typeContext* SystemRDLParser::Component_defContext::component_inst_type() {
  return getRuleContext<SystemRDLParser::Component_inst_typeContext>(0);
}

SystemRDLParser::Component_instsContext* SystemRDLParser::Component_defContext::component_insts() {
  return getRuleContext<SystemRDLParser::Component_instsContext>(0);
}

SystemRDLParser::Component_anon_defContext* SystemRDLParser::Component_defContext::component_anon_def() {
  return getRuleContext<SystemRDLParser::Component_anon_defContext>(0);
}


size_t SystemRDLParser::Component_defContext::getRuleIndex() const {
  return SystemRDLParser::RuleComponent_def;
}


antlrcpp::Any SystemRDLParser::Component_defContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitComponent_def(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Component_defContext* SystemRDLParser::component_def() {
  Component_defContext *_localctx = _tracker.createInstance<Component_defContext>(_ctx, getState());
  enterRule(_localctx, 4, SystemRDLParser::RuleComponent_def);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    setState(212);
    _errHandler->sync(this);
    switch (getInterpreter<atn::ParserATNSimulator>()->adaptivePredict(_input, 5, _ctx)) {
    case 1: {
      enterOuterAlt(_localctx, 1);
      setState(188);
      component_named_def();
      setState(195);
      _errHandler->sync(this);
      switch (_input->LA(1)) {
        case SystemRDLParser::EXTERNAL_kw:
        case SystemRDLParser::INTERNAL_kw: {
          setState(189);
          component_inst_type();
          setState(190);
          component_insts();
          break;
        }

        case SystemRDLParser::T__0:
        case SystemRDLParser::T__4:
        case SystemRDLParser::ID: {
          setState(193);
          _errHandler->sync(this);

          _la = _input->LA(1);
          if (_la == SystemRDLParser::T__4 || _la == SystemRDLParser::ID) {
            setState(192);
            component_insts();
          }
          break;
        }

      default:
        throw NoViableAltException(this);
      }
      break;
    }

    case 2: {
      enterOuterAlt(_localctx, 2);
      setState(197);
      component_anon_def();
      setState(202);
      _errHandler->sync(this);
      switch (_input->LA(1)) {
        case SystemRDLParser::EXTERNAL_kw:
        case SystemRDLParser::INTERNAL_kw: {
          setState(198);
          component_inst_type();
          setState(199);
          component_insts();
          break;
        }

        case SystemRDLParser::T__4:
        case SystemRDLParser::ID: {
          setState(201);
          component_insts();
          break;
        }

      default:
        throw NoViableAltException(this);
      }
      break;
    }

    case 3: {
      enterOuterAlt(_localctx, 3);
      setState(204);
      component_inst_type();
      setState(205);
      component_named_def();
      setState(206);
      component_insts();
      break;
    }

    case 4: {
      enterOuterAlt(_localctx, 4);
      setState(208);
      component_inst_type();
      setState(209);
      component_anon_def();
      setState(210);
      component_insts();
      break;
    }

    default:
      break;
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Explicit_component_instContext ------------------------------------------------------------------

SystemRDLParser::Explicit_component_instContext::Explicit_component_instContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Explicit_component_instContext::ID() {
  return getToken(SystemRDLParser::ID, 0);
}

SystemRDLParser::Component_instsContext* SystemRDLParser::Explicit_component_instContext::component_insts() {
  return getRuleContext<SystemRDLParser::Component_instsContext>(0);
}

SystemRDLParser::Component_inst_typeContext* SystemRDLParser::Explicit_component_instContext::component_inst_type() {
  return getRuleContext<SystemRDLParser::Component_inst_typeContext>(0);
}

SystemRDLParser::Component_inst_aliasContext* SystemRDLParser::Explicit_component_instContext::component_inst_alias() {
  return getRuleContext<SystemRDLParser::Component_inst_aliasContext>(0);
}


size_t SystemRDLParser::Explicit_component_instContext::getRuleIndex() const {
  return SystemRDLParser::RuleExplicit_component_inst;
}


antlrcpp::Any SystemRDLParser::Explicit_component_instContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitExplicit_component_inst(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Explicit_component_instContext* SystemRDLParser::explicit_component_inst() {
  Explicit_component_instContext *_localctx = _tracker.createInstance<Explicit_component_instContext>(_ctx, getState());
  enterRule(_localctx, 6, SystemRDLParser::RuleExplicit_component_inst);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(215);
    _errHandler->sync(this);

    _la = _input->LA(1);
    if (_la == SystemRDLParser::EXTERNAL_kw

    || _la == SystemRDLParser::INTERNAL_kw) {
      setState(214);
      component_inst_type();
    }
    setState(218);
    _errHandler->sync(this);

    _la = _input->LA(1);
    if (_la == SystemRDLParser::ALIAS_kw) {
      setState(217);
      component_inst_alias();
    }
    setState(220);
    match(SystemRDLParser::ID);
    setState(221);
    component_insts();
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Component_inst_aliasContext ------------------------------------------------------------------

SystemRDLParser::Component_inst_aliasContext::Component_inst_aliasContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Component_inst_aliasContext::ALIAS_kw() {
  return getToken(SystemRDLParser::ALIAS_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Component_inst_aliasContext::ID() {
  return getToken(SystemRDLParser::ID, 0);
}


size_t SystemRDLParser::Component_inst_aliasContext::getRuleIndex() const {
  return SystemRDLParser::RuleComponent_inst_alias;
}


antlrcpp::Any SystemRDLParser::Component_inst_aliasContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitComponent_inst_alias(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Component_inst_aliasContext* SystemRDLParser::component_inst_alias() {
  Component_inst_aliasContext *_localctx = _tracker.createInstance<Component_inst_aliasContext>(_ctx, getState());
  enterRule(_localctx, 8, SystemRDLParser::RuleComponent_inst_alias);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(223);
    match(SystemRDLParser::ALIAS_kw);
    setState(224);
    match(SystemRDLParser::ID);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Component_named_defContext ------------------------------------------------------------------

SystemRDLParser::Component_named_defContext::Component_named_defContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::Component_typeContext* SystemRDLParser::Component_named_defContext::component_type() {
  return getRuleContext<SystemRDLParser::Component_typeContext>(0);
}

tree::TerminalNode* SystemRDLParser::Component_named_defContext::ID() {
  return getToken(SystemRDLParser::ID, 0);
}

SystemRDLParser::Component_bodyContext* SystemRDLParser::Component_named_defContext::component_body() {
  return getRuleContext<SystemRDLParser::Component_bodyContext>(0);
}

SystemRDLParser::Param_defContext* SystemRDLParser::Component_named_defContext::param_def() {
  return getRuleContext<SystemRDLParser::Param_defContext>(0);
}


size_t SystemRDLParser::Component_named_defContext::getRuleIndex() const {
  return SystemRDLParser::RuleComponent_named_def;
}


antlrcpp::Any SystemRDLParser::Component_named_defContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitComponent_named_def(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Component_named_defContext* SystemRDLParser::component_named_def() {
  Component_named_defContext *_localctx = _tracker.createInstance<Component_named_defContext>(_ctx, getState());
  enterRule(_localctx, 10, SystemRDLParser::RuleComponent_named_def);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(226);
    component_type();
    setState(227);
    match(SystemRDLParser::ID);
    setState(229);
    _errHandler->sync(this);

    _la = _input->LA(1);
    if (_la == SystemRDLParser::T__4) {
      setState(228);
      param_def();
    }
    setState(231);
    component_body();
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Component_anon_defContext ------------------------------------------------------------------

SystemRDLParser::Component_anon_defContext::Component_anon_defContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::Component_typeContext* SystemRDLParser::Component_anon_defContext::component_type() {
  return getRuleContext<SystemRDLParser::Component_typeContext>(0);
}

SystemRDLParser::Component_bodyContext* SystemRDLParser::Component_anon_defContext::component_body() {
  return getRuleContext<SystemRDLParser::Component_bodyContext>(0);
}


size_t SystemRDLParser::Component_anon_defContext::getRuleIndex() const {
  return SystemRDLParser::RuleComponent_anon_def;
}


antlrcpp::Any SystemRDLParser::Component_anon_defContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitComponent_anon_def(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Component_anon_defContext* SystemRDLParser::component_anon_def() {
  Component_anon_defContext *_localctx = _tracker.createInstance<Component_anon_defContext>(_ctx, getState());
  enterRule(_localctx, 12, SystemRDLParser::RuleComponent_anon_def);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(233);
    component_type();
    setState(234);
    component_body();
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Component_bodyContext ------------------------------------------------------------------

SystemRDLParser::Component_bodyContext::Component_bodyContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

std::vector<SystemRDLParser::Component_body_elemContext *> SystemRDLParser::Component_bodyContext::component_body_elem() {
  return getRuleContexts<SystemRDLParser::Component_body_elemContext>();
}

SystemRDLParser::Component_body_elemContext* SystemRDLParser::Component_bodyContext::component_body_elem(size_t i) {
  return getRuleContext<SystemRDLParser::Component_body_elemContext>(i);
}


size_t SystemRDLParser::Component_bodyContext::getRuleIndex() const {
  return SystemRDLParser::RuleComponent_body;
}


antlrcpp::Any SystemRDLParser::Component_bodyContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitComponent_body(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Component_bodyContext* SystemRDLParser::component_body() {
  Component_bodyContext *_localctx = _tracker.createInstance<Component_bodyContext>(_ctx, getState());
  enterRule(_localctx, 14, SystemRDLParser::RuleComponent_body);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(236);
    match(SystemRDLParser::T__1);
    setState(242);
    _errHandler->sync(this);
    _la = _input->LA(1);
    while ((((_la & ~ 0x3fULL) == 0) &&
      ((1ULL << _la) & ((1ULL << SystemRDLParser::ALIAS_kw)
      | (1ULL << SystemRDLParser::EXTERNAL_kw)
      | (1ULL << SystemRDLParser::INTERNAL_kw)
      | (1ULL << SystemRDLParser::ADDRMAP_kw)
      | (1ULL << SystemRDLParser::REGFILE_kw)
      | (1ULL << SystemRDLParser::REG_kw)
      | (1ULL << SystemRDLParser::FIELD_kw)
      | (1ULL << SystemRDLParser::MEM_kw)
      | (1ULL << SystemRDLParser::SIGNAL_kw)
      | (1ULL << SystemRDLParser::RCLR_kw)
      | (1ULL << SystemRDLParser::RSET_kw)
      | (1ULL << SystemRDLParser::WOSET_kw)
      | (1ULL << SystemRDLParser::WOCLR_kw)
      | (1ULL << SystemRDLParser::HW_kw)
      | (1ULL << SystemRDLParser::SW_kw)
      | (1ULL << SystemRDLParser::POSEDGE_kw)
      | (1ULL << SystemRDLParser::NEGEDGE_kw))) != 0) || ((((_la - 64) & ~ 0x3fULL) == 0) &&
      ((1ULL << (_la - 64)) & ((1ULL << (SystemRDLParser::BOTHEDGE_kw - 64))
      | (1ULL << (SystemRDLParser::LEVEL_kw - 64))
      | (1ULL << (SystemRDLParser::NONSTICKY_kw - 64))
      | (1ULL << (SystemRDLParser::ABSTRACT_kw - 64))
      | (1ULL << (SystemRDLParser::CONSTRAINT_kw - 64))
      | (1ULL << (SystemRDLParser::DEFAULT_kw - 64))
      | (1ULL << (SystemRDLParser::ENUM_kw - 64))
      | (1ULL << (SystemRDLParser::ENCODE_kw - 64))
      | (1ULL << (SystemRDLParser::STRUCT_kw - 64))
      | (1ULL << (SystemRDLParser::ID - 64)))) != 0)) {
      setState(237);
      component_body_elem();
      setState(238);
      match(SystemRDLParser::T__0);
      setState(244);
      _errHandler->sync(this);
      _la = _input->LA(1);
    }
    setState(245);
    match(SystemRDLParser::T__2);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Component_body_elemContext ------------------------------------------------------------------

SystemRDLParser::Component_body_elemContext::Component_body_elemContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::Component_defContext* SystemRDLParser::Component_body_elemContext::component_def() {
  return getRuleContext<SystemRDLParser::Component_defContext>(0);
}

SystemRDLParser::Enum_defContext* SystemRDLParser::Component_body_elemContext::enum_def() {
  return getRuleContext<SystemRDLParser::Enum_defContext>(0);
}

SystemRDLParser::Struct_defContext* SystemRDLParser::Component_body_elemContext::struct_def() {
  return getRuleContext<SystemRDLParser::Struct_defContext>(0);
}

SystemRDLParser::Constraint_defContext* SystemRDLParser::Component_body_elemContext::constraint_def() {
  return getRuleContext<SystemRDLParser::Constraint_defContext>(0);
}

SystemRDLParser::Explicit_component_instContext* SystemRDLParser::Component_body_elemContext::explicit_component_inst() {
  return getRuleContext<SystemRDLParser::Explicit_component_instContext>(0);
}

SystemRDLParser::Local_property_assignmentContext* SystemRDLParser::Component_body_elemContext::local_property_assignment() {
  return getRuleContext<SystemRDLParser::Local_property_assignmentContext>(0);
}

SystemRDLParser::Dynamic_property_assignmentContext* SystemRDLParser::Component_body_elemContext::dynamic_property_assignment() {
  return getRuleContext<SystemRDLParser::Dynamic_property_assignmentContext>(0);
}


size_t SystemRDLParser::Component_body_elemContext::getRuleIndex() const {
  return SystemRDLParser::RuleComponent_body_elem;
}


antlrcpp::Any SystemRDLParser::Component_body_elemContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitComponent_body_elem(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Component_body_elemContext* SystemRDLParser::component_body_elem() {
  Component_body_elemContext *_localctx = _tracker.createInstance<Component_body_elemContext>(_ctx, getState());
  enterRule(_localctx, 16, SystemRDLParser::RuleComponent_body_elem);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    setState(254);
    _errHandler->sync(this);
    switch (getInterpreter<atn::ParserATNSimulator>()->adaptivePredict(_input, 10, _ctx)) {
    case 1: {
      enterOuterAlt(_localctx, 1);
      setState(247);
      component_def();
      break;
    }

    case 2: {
      enterOuterAlt(_localctx, 2);
      setState(248);
      enum_def();
      break;
    }

    case 3: {
      enterOuterAlt(_localctx, 3);
      setState(249);
      struct_def();
      break;
    }

    case 4: {
      enterOuterAlt(_localctx, 4);
      setState(250);
      constraint_def();
      break;
    }

    case 5: {
      enterOuterAlt(_localctx, 5);
      setState(251);
      explicit_component_inst();
      break;
    }

    case 6: {
      enterOuterAlt(_localctx, 6);
      setState(252);
      local_property_assignment();
      break;
    }

    case 7: {
      enterOuterAlt(_localctx, 7);
      setState(253);
      dynamic_property_assignment();
      break;
    }

    default:
      break;
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Component_instsContext ------------------------------------------------------------------

SystemRDLParser::Component_instsContext::Component_instsContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

std::vector<SystemRDLParser::Component_instContext *> SystemRDLParser::Component_instsContext::component_inst() {
  return getRuleContexts<SystemRDLParser::Component_instContext>();
}

SystemRDLParser::Component_instContext* SystemRDLParser::Component_instsContext::component_inst(size_t i) {
  return getRuleContext<SystemRDLParser::Component_instContext>(i);
}

SystemRDLParser::Param_instContext* SystemRDLParser::Component_instsContext::param_inst() {
  return getRuleContext<SystemRDLParser::Param_instContext>(0);
}


size_t SystemRDLParser::Component_instsContext::getRuleIndex() const {
  return SystemRDLParser::RuleComponent_insts;
}


antlrcpp::Any SystemRDLParser::Component_instsContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitComponent_insts(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Component_instsContext* SystemRDLParser::component_insts() {
  Component_instsContext *_localctx = _tracker.createInstance<Component_instsContext>(_ctx, getState());
  enterRule(_localctx, 18, SystemRDLParser::RuleComponent_insts);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(257);
    _errHandler->sync(this);

    _la = _input->LA(1);
    if (_la == SystemRDLParser::T__4) {
      setState(256);
      param_inst();
    }
    setState(259);
    component_inst();
    setState(264);
    _errHandler->sync(this);
    _la = _input->LA(1);
    while (_la == SystemRDLParser::T__3) {
      setState(260);
      match(SystemRDLParser::T__3);
      setState(261);
      component_inst();
      setState(266);
      _errHandler->sync(this);
      _la = _input->LA(1);
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Component_instContext ------------------------------------------------------------------

SystemRDLParser::Component_instContext::Component_instContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Component_instContext::ID() {
  return getToken(SystemRDLParser::ID, 0);
}

SystemRDLParser::Range_suffixContext* SystemRDLParser::Component_instContext::range_suffix() {
  return getRuleContext<SystemRDLParser::Range_suffixContext>(0);
}

SystemRDLParser::Field_inst_resetContext* SystemRDLParser::Component_instContext::field_inst_reset() {
  return getRuleContext<SystemRDLParser::Field_inst_resetContext>(0);
}

SystemRDLParser::Inst_addr_fixedContext* SystemRDLParser::Component_instContext::inst_addr_fixed() {
  return getRuleContext<SystemRDLParser::Inst_addr_fixedContext>(0);
}

SystemRDLParser::Inst_addr_strideContext* SystemRDLParser::Component_instContext::inst_addr_stride() {
  return getRuleContext<SystemRDLParser::Inst_addr_strideContext>(0);
}

SystemRDLParser::Inst_addr_alignContext* SystemRDLParser::Component_instContext::inst_addr_align() {
  return getRuleContext<SystemRDLParser::Inst_addr_alignContext>(0);
}

std::vector<SystemRDLParser::Array_suffixContext *> SystemRDLParser::Component_instContext::array_suffix() {
  return getRuleContexts<SystemRDLParser::Array_suffixContext>();
}

SystemRDLParser::Array_suffixContext* SystemRDLParser::Component_instContext::array_suffix(size_t i) {
  return getRuleContext<SystemRDLParser::Array_suffixContext>(i);
}


size_t SystemRDLParser::Component_instContext::getRuleIndex() const {
  return SystemRDLParser::RuleComponent_inst;
}


antlrcpp::Any SystemRDLParser::Component_instContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitComponent_inst(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Component_instContext* SystemRDLParser::component_inst() {
  Component_instContext *_localctx = _tracker.createInstance<Component_instContext>(_ctx, getState());
  enterRule(_localctx, 20, SystemRDLParser::RuleComponent_inst);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(267);
    match(SystemRDLParser::ID);
    setState(274);
    _errHandler->sync(this);

    switch (getInterpreter<atn::ParserATNSimulator>()->adaptivePredict(_input, 14, _ctx)) {
    case 1: {
      setState(269); 
      _errHandler->sync(this);
      _la = _input->LA(1);
      do {
        setState(268);
        array_suffix();
        setState(271); 
        _errHandler->sync(this);
        _la = _input->LA(1);
      } while (_la == SystemRDLParser::T__11);
      break;
    }

    case 2: {
      setState(273);
      range_suffix();
      break;
    }

    default:
      break;
    }
    setState(277);
    _errHandler->sync(this);

    _la = _input->LA(1);
    if (_la == SystemRDLParser::ASSIGN) {
      setState(276);
      field_inst_reset();
    }
    setState(280);
    _errHandler->sync(this);

    _la = _input->LA(1);
    if (_la == SystemRDLParser::AT) {
      setState(279);
      inst_addr_fixed();
    }
    setState(283);
    _errHandler->sync(this);

    _la = _input->LA(1);
    if (_la == SystemRDLParser::INC) {
      setState(282);
      inst_addr_stride();
    }
    setState(286);
    _errHandler->sync(this);

    _la = _input->LA(1);
    if (_la == SystemRDLParser::ALIGN) {
      setState(285);
      inst_addr_align();
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Field_inst_resetContext ------------------------------------------------------------------

SystemRDLParser::Field_inst_resetContext::Field_inst_resetContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::ExprContext* SystemRDLParser::Field_inst_resetContext::expr() {
  return getRuleContext<SystemRDLParser::ExprContext>(0);
}

tree::TerminalNode* SystemRDLParser::Field_inst_resetContext::ASSIGN() {
  return getToken(SystemRDLParser::ASSIGN, 0);
}


size_t SystemRDLParser::Field_inst_resetContext::getRuleIndex() const {
  return SystemRDLParser::RuleField_inst_reset;
}


antlrcpp::Any SystemRDLParser::Field_inst_resetContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitField_inst_reset(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Field_inst_resetContext* SystemRDLParser::field_inst_reset() {
  Field_inst_resetContext *_localctx = _tracker.createInstance<Field_inst_resetContext>(_ctx, getState());
  enterRule(_localctx, 22, SystemRDLParser::RuleField_inst_reset);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(288);
    dynamic_cast<Field_inst_resetContext *>(_localctx)->op = match(SystemRDLParser::ASSIGN);
    setState(289);
    expr(0);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Inst_addr_fixedContext ------------------------------------------------------------------

SystemRDLParser::Inst_addr_fixedContext::Inst_addr_fixedContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::ExprContext* SystemRDLParser::Inst_addr_fixedContext::expr() {
  return getRuleContext<SystemRDLParser::ExprContext>(0);
}

tree::TerminalNode* SystemRDLParser::Inst_addr_fixedContext::AT() {
  return getToken(SystemRDLParser::AT, 0);
}


size_t SystemRDLParser::Inst_addr_fixedContext::getRuleIndex() const {
  return SystemRDLParser::RuleInst_addr_fixed;
}


antlrcpp::Any SystemRDLParser::Inst_addr_fixedContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitInst_addr_fixed(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Inst_addr_fixedContext* SystemRDLParser::inst_addr_fixed() {
  Inst_addr_fixedContext *_localctx = _tracker.createInstance<Inst_addr_fixedContext>(_ctx, getState());
  enterRule(_localctx, 24, SystemRDLParser::RuleInst_addr_fixed);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(291);
    dynamic_cast<Inst_addr_fixedContext *>(_localctx)->op = match(SystemRDLParser::AT);
    setState(292);
    expr(0);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Inst_addr_strideContext ------------------------------------------------------------------

SystemRDLParser::Inst_addr_strideContext::Inst_addr_strideContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::ExprContext* SystemRDLParser::Inst_addr_strideContext::expr() {
  return getRuleContext<SystemRDLParser::ExprContext>(0);
}

tree::TerminalNode* SystemRDLParser::Inst_addr_strideContext::INC() {
  return getToken(SystemRDLParser::INC, 0);
}


size_t SystemRDLParser::Inst_addr_strideContext::getRuleIndex() const {
  return SystemRDLParser::RuleInst_addr_stride;
}


antlrcpp::Any SystemRDLParser::Inst_addr_strideContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitInst_addr_stride(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Inst_addr_strideContext* SystemRDLParser::inst_addr_stride() {
  Inst_addr_strideContext *_localctx = _tracker.createInstance<Inst_addr_strideContext>(_ctx, getState());
  enterRule(_localctx, 26, SystemRDLParser::RuleInst_addr_stride);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(294);
    dynamic_cast<Inst_addr_strideContext *>(_localctx)->op = match(SystemRDLParser::INC);
    setState(295);
    expr(0);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Inst_addr_alignContext ------------------------------------------------------------------

SystemRDLParser::Inst_addr_alignContext::Inst_addr_alignContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::ExprContext* SystemRDLParser::Inst_addr_alignContext::expr() {
  return getRuleContext<SystemRDLParser::ExprContext>(0);
}

tree::TerminalNode* SystemRDLParser::Inst_addr_alignContext::ALIGN() {
  return getToken(SystemRDLParser::ALIGN, 0);
}


size_t SystemRDLParser::Inst_addr_alignContext::getRuleIndex() const {
  return SystemRDLParser::RuleInst_addr_align;
}


antlrcpp::Any SystemRDLParser::Inst_addr_alignContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitInst_addr_align(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Inst_addr_alignContext* SystemRDLParser::inst_addr_align() {
  Inst_addr_alignContext *_localctx = _tracker.createInstance<Inst_addr_alignContext>(_ctx, getState());
  enterRule(_localctx, 28, SystemRDLParser::RuleInst_addr_align);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(297);
    dynamic_cast<Inst_addr_alignContext *>(_localctx)->op = match(SystemRDLParser::ALIGN);
    setState(298);
    expr(0);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Component_inst_typeContext ------------------------------------------------------------------

SystemRDLParser::Component_inst_typeContext::Component_inst_typeContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Component_inst_typeContext::EXTERNAL_kw() {
  return getToken(SystemRDLParser::EXTERNAL_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Component_inst_typeContext::INTERNAL_kw() {
  return getToken(SystemRDLParser::INTERNAL_kw, 0);
}


size_t SystemRDLParser::Component_inst_typeContext::getRuleIndex() const {
  return SystemRDLParser::RuleComponent_inst_type;
}


antlrcpp::Any SystemRDLParser::Component_inst_typeContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitComponent_inst_type(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Component_inst_typeContext* SystemRDLParser::component_inst_type() {
  Component_inst_typeContext *_localctx = _tracker.createInstance<Component_inst_typeContext>(_ctx, getState());
  enterRule(_localctx, 30, SystemRDLParser::RuleComponent_inst_type);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(300);
    dynamic_cast<Component_inst_typeContext *>(_localctx)->kw = _input->LT(1);
    _la = _input->LA(1);
    if (!(_la == SystemRDLParser::EXTERNAL_kw

    || _la == SystemRDLParser::INTERNAL_kw)) {
      dynamic_cast<Component_inst_typeContext *>(_localctx)->kw = _errHandler->recoverInline(this);
    }
    else {
      _errHandler->reportMatch(this);
      consume();
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Component_typeContext ------------------------------------------------------------------

SystemRDLParser::Component_typeContext::Component_typeContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::Component_type_primaryContext* SystemRDLParser::Component_typeContext::component_type_primary() {
  return getRuleContext<SystemRDLParser::Component_type_primaryContext>(0);
}

tree::TerminalNode* SystemRDLParser::Component_typeContext::SIGNAL_kw() {
  return getToken(SystemRDLParser::SIGNAL_kw, 0);
}


size_t SystemRDLParser::Component_typeContext::getRuleIndex() const {
  return SystemRDLParser::RuleComponent_type;
}


antlrcpp::Any SystemRDLParser::Component_typeContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitComponent_type(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Component_typeContext* SystemRDLParser::component_type() {
  Component_typeContext *_localctx = _tracker.createInstance<Component_typeContext>(_ctx, getState());
  enterRule(_localctx, 32, SystemRDLParser::RuleComponent_type);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    setState(304);
    _errHandler->sync(this);
    switch (_input->LA(1)) {
      case SystemRDLParser::ADDRMAP_kw:
      case SystemRDLParser::REGFILE_kw:
      case SystemRDLParser::REG_kw:
      case SystemRDLParser::FIELD_kw:
      case SystemRDLParser::MEM_kw: {
        enterOuterAlt(_localctx, 1);
        setState(302);
        component_type_primary();
        break;
      }

      case SystemRDLParser::SIGNAL_kw: {
        enterOuterAlt(_localctx, 2);
        setState(303);
        dynamic_cast<Component_typeContext *>(_localctx)->kw = match(SystemRDLParser::SIGNAL_kw);
        break;
      }

    default:
      throw NoViableAltException(this);
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Component_type_primaryContext ------------------------------------------------------------------

SystemRDLParser::Component_type_primaryContext::Component_type_primaryContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Component_type_primaryContext::ADDRMAP_kw() {
  return getToken(SystemRDLParser::ADDRMAP_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Component_type_primaryContext::REGFILE_kw() {
  return getToken(SystemRDLParser::REGFILE_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Component_type_primaryContext::REG_kw() {
  return getToken(SystemRDLParser::REG_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Component_type_primaryContext::FIELD_kw() {
  return getToken(SystemRDLParser::FIELD_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Component_type_primaryContext::MEM_kw() {
  return getToken(SystemRDLParser::MEM_kw, 0);
}


size_t SystemRDLParser::Component_type_primaryContext::getRuleIndex() const {
  return SystemRDLParser::RuleComponent_type_primary;
}


antlrcpp::Any SystemRDLParser::Component_type_primaryContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitComponent_type_primary(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Component_type_primaryContext* SystemRDLParser::component_type_primary() {
  Component_type_primaryContext *_localctx = _tracker.createInstance<Component_type_primaryContext>(_ctx, getState());
  enterRule(_localctx, 34, SystemRDLParser::RuleComponent_type_primary);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(306);
    dynamic_cast<Component_type_primaryContext *>(_localctx)->kw = _input->LT(1);
    _la = _input->LA(1);
    if (!((((_la & ~ 0x3fULL) == 0) &&
      ((1ULL << _la) & ((1ULL << SystemRDLParser::ADDRMAP_kw)
      | (1ULL << SystemRDLParser::REGFILE_kw)
      | (1ULL << SystemRDLParser::REG_kw)
      | (1ULL << SystemRDLParser::FIELD_kw)
      | (1ULL << SystemRDLParser::MEM_kw))) != 0))) {
      dynamic_cast<Component_type_primaryContext *>(_localctx)->kw = _errHandler->recoverInline(this);
    }
    else {
      _errHandler->reportMatch(this);
      consume();
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Param_defContext ------------------------------------------------------------------

SystemRDLParser::Param_defContext::Param_defContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

std::vector<SystemRDLParser::Param_def_elemContext *> SystemRDLParser::Param_defContext::param_def_elem() {
  return getRuleContexts<SystemRDLParser::Param_def_elemContext>();
}

SystemRDLParser::Param_def_elemContext* SystemRDLParser::Param_defContext::param_def_elem(size_t i) {
  return getRuleContext<SystemRDLParser::Param_def_elemContext>(i);
}


size_t SystemRDLParser::Param_defContext::getRuleIndex() const {
  return SystemRDLParser::RuleParam_def;
}


antlrcpp::Any SystemRDLParser::Param_defContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitParam_def(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Param_defContext* SystemRDLParser::param_def() {
  Param_defContext *_localctx = _tracker.createInstance<Param_defContext>(_ctx, getState());
  enterRule(_localctx, 36, SystemRDLParser::RuleParam_def);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(308);
    match(SystemRDLParser::T__4);
    setState(309);
    match(SystemRDLParser::T__5);
    setState(310);
    param_def_elem();
    setState(315);
    _errHandler->sync(this);
    _la = _input->LA(1);
    while (_la == SystemRDLParser::T__3) {
      setState(311);
      match(SystemRDLParser::T__3);
      setState(312);
      param_def_elem();
      setState(317);
      _errHandler->sync(this);
      _la = _input->LA(1);
    }
    setState(318);
    match(SystemRDLParser::T__6);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Param_def_elemContext ------------------------------------------------------------------

SystemRDLParser::Param_def_elemContext::Param_def_elemContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::Data_typeContext* SystemRDLParser::Param_def_elemContext::data_type() {
  return getRuleContext<SystemRDLParser::Data_typeContext>(0);
}

tree::TerminalNode* SystemRDLParser::Param_def_elemContext::ID() {
  return getToken(SystemRDLParser::ID, 0);
}

SystemRDLParser::Array_type_suffixContext* SystemRDLParser::Param_def_elemContext::array_type_suffix() {
  return getRuleContext<SystemRDLParser::Array_type_suffixContext>(0);
}

tree::TerminalNode* SystemRDLParser::Param_def_elemContext::ASSIGN() {
  return getToken(SystemRDLParser::ASSIGN, 0);
}

SystemRDLParser::ExprContext* SystemRDLParser::Param_def_elemContext::expr() {
  return getRuleContext<SystemRDLParser::ExprContext>(0);
}


size_t SystemRDLParser::Param_def_elemContext::getRuleIndex() const {
  return SystemRDLParser::RuleParam_def_elem;
}


antlrcpp::Any SystemRDLParser::Param_def_elemContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitParam_def_elem(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Param_def_elemContext* SystemRDLParser::param_def_elem() {
  Param_def_elemContext *_localctx = _tracker.createInstance<Param_def_elemContext>(_ctx, getState());
  enterRule(_localctx, 38, SystemRDLParser::RuleParam_def_elem);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(320);
    data_type();
    setState(321);
    match(SystemRDLParser::ID);
    setState(323);
    _errHandler->sync(this);

    _la = _input->LA(1);
    if (_la == SystemRDLParser::T__11) {
      setState(322);
      array_type_suffix();
    }
    setState(327);
    _errHandler->sync(this);

    _la = _input->LA(1);
    if (_la == SystemRDLParser::ASSIGN) {
      setState(325);
      match(SystemRDLParser::ASSIGN);
      setState(326);
      expr(0);
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Param_instContext ------------------------------------------------------------------

SystemRDLParser::Param_instContext::Param_instContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

std::vector<SystemRDLParser::Param_assignmentContext *> SystemRDLParser::Param_instContext::param_assignment() {
  return getRuleContexts<SystemRDLParser::Param_assignmentContext>();
}

SystemRDLParser::Param_assignmentContext* SystemRDLParser::Param_instContext::param_assignment(size_t i) {
  return getRuleContext<SystemRDLParser::Param_assignmentContext>(i);
}


size_t SystemRDLParser::Param_instContext::getRuleIndex() const {
  return SystemRDLParser::RuleParam_inst;
}


antlrcpp::Any SystemRDLParser::Param_instContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitParam_inst(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Param_instContext* SystemRDLParser::param_inst() {
  Param_instContext *_localctx = _tracker.createInstance<Param_instContext>(_ctx, getState());
  enterRule(_localctx, 40, SystemRDLParser::RuleParam_inst);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(329);
    match(SystemRDLParser::T__4);
    setState(330);
    match(SystemRDLParser::T__5);
    setState(331);
    param_assignment();
    setState(336);
    _errHandler->sync(this);
    _la = _input->LA(1);
    while (_la == SystemRDLParser::T__3) {
      setState(332);
      match(SystemRDLParser::T__3);
      setState(333);
      param_assignment();
      setState(338);
      _errHandler->sync(this);
      _la = _input->LA(1);
    }
    setState(339);
    match(SystemRDLParser::T__6);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Param_assignmentContext ------------------------------------------------------------------

SystemRDLParser::Param_assignmentContext::Param_assignmentContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Param_assignmentContext::ID() {
  return getToken(SystemRDLParser::ID, 0);
}

SystemRDLParser::ExprContext* SystemRDLParser::Param_assignmentContext::expr() {
  return getRuleContext<SystemRDLParser::ExprContext>(0);
}


size_t SystemRDLParser::Param_assignmentContext::getRuleIndex() const {
  return SystemRDLParser::RuleParam_assignment;
}


antlrcpp::Any SystemRDLParser::Param_assignmentContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitParam_assignment(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Param_assignmentContext* SystemRDLParser::param_assignment() {
  Param_assignmentContext *_localctx = _tracker.createInstance<Param_assignmentContext>(_ctx, getState());
  enterRule(_localctx, 42, SystemRDLParser::RuleParam_assignment);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(341);
    match(SystemRDLParser::T__7);
    setState(342);
    match(SystemRDLParser::ID);
    setState(343);
    match(SystemRDLParser::T__5);
    setState(344);
    expr(0);
    setState(345);
    match(SystemRDLParser::T__6);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- ExprContext ------------------------------------------------------------------

SystemRDLParser::ExprContext::ExprContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}


size_t SystemRDLParser::ExprContext::getRuleIndex() const {
  return SystemRDLParser::RuleExpr;
}

void SystemRDLParser::ExprContext::copyFrom(ExprContext *ctx) {
  ParserRuleContext::copyFrom(ctx);
}

//----------------- BinaryExprContext ------------------------------------------------------------------

std::vector<SystemRDLParser::ExprContext *> SystemRDLParser::BinaryExprContext::expr() {
  return getRuleContexts<SystemRDLParser::ExprContext>();
}

SystemRDLParser::ExprContext* SystemRDLParser::BinaryExprContext::expr(size_t i) {
  return getRuleContext<SystemRDLParser::ExprContext>(i);
}

tree::TerminalNode* SystemRDLParser::BinaryExprContext::EXP() {
  return getToken(SystemRDLParser::EXP, 0);
}

tree::TerminalNode* SystemRDLParser::BinaryExprContext::MULT() {
  return getToken(SystemRDLParser::MULT, 0);
}

tree::TerminalNode* SystemRDLParser::BinaryExprContext::DIV() {
  return getToken(SystemRDLParser::DIV, 0);
}

tree::TerminalNode* SystemRDLParser::BinaryExprContext::MOD() {
  return getToken(SystemRDLParser::MOD, 0);
}

tree::TerminalNode* SystemRDLParser::BinaryExprContext::PLUS() {
  return getToken(SystemRDLParser::PLUS, 0);
}

tree::TerminalNode* SystemRDLParser::BinaryExprContext::MINUS() {
  return getToken(SystemRDLParser::MINUS, 0);
}

tree::TerminalNode* SystemRDLParser::BinaryExprContext::LSHIFT() {
  return getToken(SystemRDLParser::LSHIFT, 0);
}

tree::TerminalNode* SystemRDLParser::BinaryExprContext::RSHIFT() {
  return getToken(SystemRDLParser::RSHIFT, 0);
}

tree::TerminalNode* SystemRDLParser::BinaryExprContext::LT() {
  return getToken(SystemRDLParser::LT, 0);
}

tree::TerminalNode* SystemRDLParser::BinaryExprContext::LEQ() {
  return getToken(SystemRDLParser::LEQ, 0);
}

tree::TerminalNode* SystemRDLParser::BinaryExprContext::GT() {
  return getToken(SystemRDLParser::GT, 0);
}

tree::TerminalNode* SystemRDLParser::BinaryExprContext::GEQ() {
  return getToken(SystemRDLParser::GEQ, 0);
}

tree::TerminalNode* SystemRDLParser::BinaryExprContext::EQ() {
  return getToken(SystemRDLParser::EQ, 0);
}

tree::TerminalNode* SystemRDLParser::BinaryExprContext::NEQ() {
  return getToken(SystemRDLParser::NEQ, 0);
}

tree::TerminalNode* SystemRDLParser::BinaryExprContext::AND() {
  return getToken(SystemRDLParser::AND, 0);
}

tree::TerminalNode* SystemRDLParser::BinaryExprContext::XOR() {
  return getToken(SystemRDLParser::XOR, 0);
}

tree::TerminalNode* SystemRDLParser::BinaryExprContext::XNOR() {
  return getToken(SystemRDLParser::XNOR, 0);
}

tree::TerminalNode* SystemRDLParser::BinaryExprContext::OR() {
  return getToken(SystemRDLParser::OR, 0);
}

tree::TerminalNode* SystemRDLParser::BinaryExprContext::BAND() {
  return getToken(SystemRDLParser::BAND, 0);
}

tree::TerminalNode* SystemRDLParser::BinaryExprContext::BOR() {
  return getToken(SystemRDLParser::BOR, 0);
}

SystemRDLParser::BinaryExprContext::BinaryExprContext(ExprContext *ctx) { copyFrom(ctx); }


antlrcpp::Any SystemRDLParser::BinaryExprContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitBinaryExpr(this);
  else
    return visitor->visitChildren(this);
}
//----------------- UnaryExprContext ------------------------------------------------------------------

SystemRDLParser::Expr_primaryContext* SystemRDLParser::UnaryExprContext::expr_primary() {
  return getRuleContext<SystemRDLParser::Expr_primaryContext>(0);
}

tree::TerminalNode* SystemRDLParser::UnaryExprContext::PLUS() {
  return getToken(SystemRDLParser::PLUS, 0);
}

tree::TerminalNode* SystemRDLParser::UnaryExprContext::MINUS() {
  return getToken(SystemRDLParser::MINUS, 0);
}

tree::TerminalNode* SystemRDLParser::UnaryExprContext::BNOT() {
  return getToken(SystemRDLParser::BNOT, 0);
}

tree::TerminalNode* SystemRDLParser::UnaryExprContext::NOT() {
  return getToken(SystemRDLParser::NOT, 0);
}

tree::TerminalNode* SystemRDLParser::UnaryExprContext::AND() {
  return getToken(SystemRDLParser::AND, 0);
}

tree::TerminalNode* SystemRDLParser::UnaryExprContext::NAND() {
  return getToken(SystemRDLParser::NAND, 0);
}

tree::TerminalNode* SystemRDLParser::UnaryExprContext::OR() {
  return getToken(SystemRDLParser::OR, 0);
}

tree::TerminalNode* SystemRDLParser::UnaryExprContext::NOR() {
  return getToken(SystemRDLParser::NOR, 0);
}

tree::TerminalNode* SystemRDLParser::UnaryExprContext::XOR() {
  return getToken(SystemRDLParser::XOR, 0);
}

tree::TerminalNode* SystemRDLParser::UnaryExprContext::XNOR() {
  return getToken(SystemRDLParser::XNOR, 0);
}

SystemRDLParser::UnaryExprContext::UnaryExprContext(ExprContext *ctx) { copyFrom(ctx); }


antlrcpp::Any SystemRDLParser::UnaryExprContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitUnaryExpr(this);
  else
    return visitor->visitChildren(this);
}
//----------------- NOPContext ------------------------------------------------------------------

SystemRDLParser::Expr_primaryContext* SystemRDLParser::NOPContext::expr_primary() {
  return getRuleContext<SystemRDLParser::Expr_primaryContext>(0);
}

SystemRDLParser::NOPContext::NOPContext(ExprContext *ctx) { copyFrom(ctx); }


antlrcpp::Any SystemRDLParser::NOPContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitNOP(this);
  else
    return visitor->visitChildren(this);
}
//----------------- TernaryExprContext ------------------------------------------------------------------

std::vector<SystemRDLParser::ExprContext *> SystemRDLParser::TernaryExprContext::expr() {
  return getRuleContexts<SystemRDLParser::ExprContext>();
}

SystemRDLParser::ExprContext* SystemRDLParser::TernaryExprContext::expr(size_t i) {
  return getRuleContext<SystemRDLParser::ExprContext>(i);
}

SystemRDLParser::TernaryExprContext::TernaryExprContext(ExprContext *ctx) { copyFrom(ctx); }


antlrcpp::Any SystemRDLParser::TernaryExprContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitTernaryExpr(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::ExprContext* SystemRDLParser::expr() {
   return expr(0);
}

SystemRDLParser::ExprContext* SystemRDLParser::expr(int precedence) {
  ParserRuleContext *parentContext = _ctx;
  size_t parentState = getState();
  SystemRDLParser::ExprContext *_localctx = _tracker.createInstance<ExprContext>(_ctx, parentState);
  SystemRDLParser::ExprContext *previousContext = _localctx;
  (void)previousContext; // Silence compiler, in case the context is not used by generated code.
  size_t startState = 44;
  enterRecursionRule(_localctx, 44, SystemRDLParser::RuleExpr, precedence);

    size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    unrollRecursionContexts(parentContext);
  });
  try {
    size_t alt;
    enterOuterAlt(_localctx, 1);
    setState(351);
    _errHandler->sync(this);
    switch (_input->LA(1)) {
      case SystemRDLParser::PLUS:
      case SystemRDLParser::MINUS:
      case SystemRDLParser::BNOT:
      case SystemRDLParser::NOT:
      case SystemRDLParser::NAND:
      case SystemRDLParser::AND:
      case SystemRDLParser::OR:
      case SystemRDLParser::NOR:
      case SystemRDLParser::XOR:
      case SystemRDLParser::XNOR: {
        _localctx = _tracker.createInstance<UnaryExprContext>(_localctx);
        _ctx = _localctx;
        previousContext = _localctx;

        setState(348);
        dynamic_cast<UnaryExprContext *>(_localctx)->op = _input->LT(1);
        _la = _input->LA(1);
        if (!(((((_la - 96) & ~ 0x3fULL) == 0) &&
          ((1ULL << (_la - 96)) & ((1ULL << (SystemRDLParser::PLUS - 96))
          | (1ULL << (SystemRDLParser::MINUS - 96))
          | (1ULL << (SystemRDLParser::BNOT - 96))
          | (1ULL << (SystemRDLParser::NOT - 96))
          | (1ULL << (SystemRDLParser::NAND - 96))
          | (1ULL << (SystemRDLParser::AND - 96))
          | (1ULL << (SystemRDLParser::OR - 96))
          | (1ULL << (SystemRDLParser::NOR - 96))
          | (1ULL << (SystemRDLParser::XOR - 96))
          | (1ULL << (SystemRDLParser::XNOR - 96)))) != 0))) {
          dynamic_cast<UnaryExprContext *>(_localctx)->op = _errHandler->recoverInline(this);
        }
        else {
          _errHandler->reportMatch(this);
          consume();
        }
        setState(349);
        expr_primary();
        break;
      }

      case SystemRDLParser::T__1:
      case SystemRDLParser::T__5:
      case SystemRDLParser::T__10:
      case SystemRDLParser::BOOLEAN_kw:
      case SystemRDLParser::BIT_kw:
      case SystemRDLParser::LONGINT_kw:
      case SystemRDLParser::TRUE_kw:
      case SystemRDLParser::FALSE_kw:
      case SystemRDLParser::NA_kw:
      case SystemRDLParser::RW_kw:
      case SystemRDLParser::WR_kw:
      case SystemRDLParser::R_kw:
      case SystemRDLParser::W_kw:
      case SystemRDLParser::RW1_kw:
      case SystemRDLParser::W1_kw:
      case SystemRDLParser::RCLR_kw:
      case SystemRDLParser::RSET_kw:
      case SystemRDLParser::RUSER_kw:
      case SystemRDLParser::WOSET_kw:
      case SystemRDLParser::WOCLR_kw:
      case SystemRDLParser::WOT_kw:
      case SystemRDLParser::WZS_kw:
      case SystemRDLParser::WZC_kw:
      case SystemRDLParser::WZT_kw:
      case SystemRDLParser::WCLR_kw:
      case SystemRDLParser::WSET_kw:
      case SystemRDLParser::WUSER_kw:
      case SystemRDLParser::COMPACT_kw:
      case SystemRDLParser::REGALIGN_kw:
      case SystemRDLParser::FULLALIGN_kw:
      case SystemRDLParser::HW_kw:
      case SystemRDLParser::SW_kw:
      case SystemRDLParser::INT:
      case SystemRDLParser::HEX_INT:
      case SystemRDLParser::VLOG_INT:
      case SystemRDLParser::STRING:
      case SystemRDLParser::ID: {
        _localctx = _tracker.createInstance<NOPContext>(_localctx);
        _ctx = _localctx;
        previousContext = _localctx;
        setState(350);
        expr_primary();
        break;
      }

    default:
      throw NoViableAltException(this);
    }
    _ctx->stop = _input->LT(-1);
    setState(394);
    _errHandler->sync(this);
    alt = getInterpreter<atn::ParserATNSimulator>()->adaptivePredict(_input, 26, _ctx);
    while (alt != 2 && alt != atn::ATN::INVALID_ALT_NUMBER) {
      if (alt == 1) {
        if (!_parseListeners.empty())
          triggerExitRuleEvent();
        previousContext = _localctx;
        setState(392);
        _errHandler->sync(this);
        switch (getInterpreter<atn::ParserATNSimulator>()->adaptivePredict(_input, 25, _ctx)) {
        case 1: {
          auto newContext = _tracker.createInstance<BinaryExprContext>(_tracker.createInstance<ExprContext>(parentContext, parentState));
          _localctx = newContext;
          pushNewRecursionContext(newContext, startState, RuleExpr);
          setState(353);

          if (!(precpred(_ctx, 13))) throw FailedPredicateException(this, "precpred(_ctx, 13)");
          setState(354);
          dynamic_cast<BinaryExprContext *>(_localctx)->op = match(SystemRDLParser::EXP);
          setState(355);
          expr(14);
          break;
        }

        case 2: {
          auto newContext = _tracker.createInstance<BinaryExprContext>(_tracker.createInstance<ExprContext>(parentContext, parentState));
          _localctx = newContext;
          pushNewRecursionContext(newContext, startState, RuleExpr);
          setState(356);

          if (!(precpred(_ctx, 12))) throw FailedPredicateException(this, "precpred(_ctx, 12)");
          setState(357);
          dynamic_cast<BinaryExprContext *>(_localctx)->op = _input->LT(1);
          _la = _input->LA(1);
          if (!(((((_la - 110) & ~ 0x3fULL) == 0) &&
            ((1ULL << (_la - 110)) & ((1ULL << (SystemRDLParser::MULT - 110))
            | (1ULL << (SystemRDLParser::DIV - 110))
            | (1ULL << (SystemRDLParser::MOD - 110)))) != 0))) {
            dynamic_cast<BinaryExprContext *>(_localctx)->op = _errHandler->recoverInline(this);
          }
          else {
            _errHandler->reportMatch(this);
            consume();
          }
          setState(358);
          expr(13);
          break;
        }

        case 3: {
          auto newContext = _tracker.createInstance<BinaryExprContext>(_tracker.createInstance<ExprContext>(parentContext, parentState));
          _localctx = newContext;
          pushNewRecursionContext(newContext, startState, RuleExpr);
          setState(359);

          if (!(precpred(_ctx, 11))) throw FailedPredicateException(this, "precpred(_ctx, 11)");
          setState(360);
          dynamic_cast<BinaryExprContext *>(_localctx)->op = _input->LT(1);
          _la = _input->LA(1);
          if (!(_la == SystemRDLParser::PLUS

          || _la == SystemRDLParser::MINUS)) {
            dynamic_cast<BinaryExprContext *>(_localctx)->op = _errHandler->recoverInline(this);
          }
          else {
            _errHandler->reportMatch(this);
            consume();
          }
          setState(361);
          expr(12);
          break;
        }

        case 4: {
          auto newContext = _tracker.createInstance<BinaryExprContext>(_tracker.createInstance<ExprContext>(parentContext, parentState));
          _localctx = newContext;
          pushNewRecursionContext(newContext, startState, RuleExpr);
          setState(362);

          if (!(precpred(_ctx, 10))) throw FailedPredicateException(this, "precpred(_ctx, 10)");
          setState(363);
          dynamic_cast<BinaryExprContext *>(_localctx)->op = _input->LT(1);
          _la = _input->LA(1);
          if (!(_la == SystemRDLParser::LSHIFT

          || _la == SystemRDLParser::RSHIFT)) {
            dynamic_cast<BinaryExprContext *>(_localctx)->op = _errHandler->recoverInline(this);
          }
          else {
            _errHandler->reportMatch(this);
            consume();
          }
          setState(364);
          expr(11);
          break;
        }

        case 5: {
          auto newContext = _tracker.createInstance<BinaryExprContext>(_tracker.createInstance<ExprContext>(parentContext, parentState));
          _localctx = newContext;
          pushNewRecursionContext(newContext, startState, RuleExpr);
          setState(365);

          if (!(precpred(_ctx, 9))) throw FailedPredicateException(this, "precpred(_ctx, 9)");
          setState(366);
          dynamic_cast<BinaryExprContext *>(_localctx)->op = _input->LT(1);
          _la = _input->LA(1);
          if (!(((((_la - 117) & ~ 0x3fULL) == 0) &&
            ((1ULL << (_la - 117)) & ((1ULL << (SystemRDLParser::LEQ - 117))
            | (1ULL << (SystemRDLParser::LT - 117))
            | (1ULL << (SystemRDLParser::GEQ - 117))
            | (1ULL << (SystemRDLParser::GT - 117)))) != 0))) {
            dynamic_cast<BinaryExprContext *>(_localctx)->op = _errHandler->recoverInline(this);
          }
          else {
            _errHandler->reportMatch(this);
            consume();
          }
          setState(367);
          expr(10);
          break;
        }

        case 6: {
          auto newContext = _tracker.createInstance<BinaryExprContext>(_tracker.createInstance<ExprContext>(parentContext, parentState));
          _localctx = newContext;
          pushNewRecursionContext(newContext, startState, RuleExpr);
          setState(368);

          if (!(precpred(_ctx, 8))) throw FailedPredicateException(this, "precpred(_ctx, 8)");
          setState(369);
          dynamic_cast<BinaryExprContext *>(_localctx)->op = _input->LT(1);
          _la = _input->LA(1);
          if (!(_la == SystemRDLParser::EQ

          || _la == SystemRDLParser::NEQ)) {
            dynamic_cast<BinaryExprContext *>(_localctx)->op = _errHandler->recoverInline(this);
          }
          else {
            _errHandler->reportMatch(this);
            consume();
          }
          setState(370);
          expr(9);
          break;
        }

        case 7: {
          auto newContext = _tracker.createInstance<BinaryExprContext>(_tracker.createInstance<ExprContext>(parentContext, parentState));
          _localctx = newContext;
          pushNewRecursionContext(newContext, startState, RuleExpr);
          setState(371);

          if (!(precpred(_ctx, 7))) throw FailedPredicateException(this, "precpred(_ctx, 7)");
          setState(372);
          dynamic_cast<BinaryExprContext *>(_localctx)->op = match(SystemRDLParser::AND);
          setState(373);
          expr(8);
          break;
        }

        case 8: {
          auto newContext = _tracker.createInstance<BinaryExprContext>(_tracker.createInstance<ExprContext>(parentContext, parentState));
          _localctx = newContext;
          pushNewRecursionContext(newContext, startState, RuleExpr);
          setState(374);

          if (!(precpred(_ctx, 6))) throw FailedPredicateException(this, "precpred(_ctx, 6)");
          setState(375);
          dynamic_cast<BinaryExprContext *>(_localctx)->op = _input->LT(1);
          _la = _input->LA(1);
          if (!(_la == SystemRDLParser::XOR

          || _la == SystemRDLParser::XNOR)) {
            dynamic_cast<BinaryExprContext *>(_localctx)->op = _errHandler->recoverInline(this);
          }
          else {
            _errHandler->reportMatch(this);
            consume();
          }
          setState(376);
          expr(7);
          break;
        }

        case 9: {
          auto newContext = _tracker.createInstance<BinaryExprContext>(_tracker.createInstance<ExprContext>(parentContext, parentState));
          _localctx = newContext;
          pushNewRecursionContext(newContext, startState, RuleExpr);
          setState(377);

          if (!(precpred(_ctx, 5))) throw FailedPredicateException(this, "precpred(_ctx, 5)");
          setState(378);
          dynamic_cast<BinaryExprContext *>(_localctx)->op = match(SystemRDLParser::OR);
          setState(379);
          expr(6);
          break;
        }

        case 10: {
          auto newContext = _tracker.createInstance<BinaryExprContext>(_tracker.createInstance<ExprContext>(parentContext, parentState));
          _localctx = newContext;
          pushNewRecursionContext(newContext, startState, RuleExpr);
          setState(380);

          if (!(precpred(_ctx, 4))) throw FailedPredicateException(this, "precpred(_ctx, 4)");
          setState(381);
          dynamic_cast<BinaryExprContext *>(_localctx)->op = match(SystemRDLParser::BAND);
          setState(382);
          expr(5);
          break;
        }

        case 11: {
          auto newContext = _tracker.createInstance<BinaryExprContext>(_tracker.createInstance<ExprContext>(parentContext, parentState));
          _localctx = newContext;
          pushNewRecursionContext(newContext, startState, RuleExpr);
          setState(383);

          if (!(precpred(_ctx, 3))) throw FailedPredicateException(this, "precpred(_ctx, 3)");
          setState(384);
          dynamic_cast<BinaryExprContext *>(_localctx)->op = match(SystemRDLParser::BOR);
          setState(385);
          expr(4);
          break;
        }

        case 12: {
          auto newContext = _tracker.createInstance<TernaryExprContext>(_tracker.createInstance<ExprContext>(parentContext, parentState));
          _localctx = newContext;
          pushNewRecursionContext(newContext, startState, RuleExpr);
          setState(386);

          if (!(precpred(_ctx, 2))) throw FailedPredicateException(this, "precpred(_ctx, 2)");
          setState(387);
          dynamic_cast<TernaryExprContext *>(_localctx)->op = match(SystemRDLParser::T__8);
          setState(388);
          expr(0);
          setState(389);
          match(SystemRDLParser::T__9);
          setState(390);
          expr(2);
          break;
        }

        default:
          break;
        } 
      }
      setState(396);
      _errHandler->sync(this);
      alt = getInterpreter<atn::ParserATNSimulator>()->adaptivePredict(_input, 26, _ctx);
    }
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }
  return _localctx;
}

//----------------- Expr_primaryContext ------------------------------------------------------------------

SystemRDLParser::Expr_primaryContext::Expr_primaryContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::LiteralContext* SystemRDLParser::Expr_primaryContext::literal() {
  return getRuleContext<SystemRDLParser::LiteralContext>(0);
}

SystemRDLParser::ConcatenateContext* SystemRDLParser::Expr_primaryContext::concatenate() {
  return getRuleContext<SystemRDLParser::ConcatenateContext>(0);
}

SystemRDLParser::ReplicateContext* SystemRDLParser::Expr_primaryContext::replicate() {
  return getRuleContext<SystemRDLParser::ReplicateContext>(0);
}

SystemRDLParser::Paren_exprContext* SystemRDLParser::Expr_primaryContext::paren_expr() {
  return getRuleContext<SystemRDLParser::Paren_exprContext>(0);
}

SystemRDLParser::CastContext* SystemRDLParser::Expr_primaryContext::cast() {
  return getRuleContext<SystemRDLParser::CastContext>(0);
}

SystemRDLParser::Prop_refContext* SystemRDLParser::Expr_primaryContext::prop_ref() {
  return getRuleContext<SystemRDLParser::Prop_refContext>(0);
}

SystemRDLParser::Instance_refContext* SystemRDLParser::Expr_primaryContext::instance_ref() {
  return getRuleContext<SystemRDLParser::Instance_refContext>(0);
}

SystemRDLParser::Struct_literalContext* SystemRDLParser::Expr_primaryContext::struct_literal() {
  return getRuleContext<SystemRDLParser::Struct_literalContext>(0);
}

SystemRDLParser::Array_literalContext* SystemRDLParser::Expr_primaryContext::array_literal() {
  return getRuleContext<SystemRDLParser::Array_literalContext>(0);
}


size_t SystemRDLParser::Expr_primaryContext::getRuleIndex() const {
  return SystemRDLParser::RuleExpr_primary;
}


antlrcpp::Any SystemRDLParser::Expr_primaryContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitExpr_primary(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Expr_primaryContext* SystemRDLParser::expr_primary() {
  Expr_primaryContext *_localctx = _tracker.createInstance<Expr_primaryContext>(_ctx, getState());
  enterRule(_localctx, 46, SystemRDLParser::RuleExpr_primary);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    setState(406);
    _errHandler->sync(this);
    switch (getInterpreter<atn::ParserATNSimulator>()->adaptivePredict(_input, 27, _ctx)) {
    case 1: {
      enterOuterAlt(_localctx, 1);
      setState(397);
      literal();
      break;
    }

    case 2: {
      enterOuterAlt(_localctx, 2);
      setState(398);
      concatenate();
      break;
    }

    case 3: {
      enterOuterAlt(_localctx, 3);
      setState(399);
      replicate();
      break;
    }

    case 4: {
      enterOuterAlt(_localctx, 4);
      setState(400);
      paren_expr();
      break;
    }

    case 5: {
      enterOuterAlt(_localctx, 5);
      setState(401);
      cast();
      break;
    }

    case 6: {
      enterOuterAlt(_localctx, 6);
      setState(402);
      prop_ref();
      break;
    }

    case 7: {
      enterOuterAlt(_localctx, 7);
      setState(403);
      instance_ref();
      break;
    }

    case 8: {
      enterOuterAlt(_localctx, 8);
      setState(404);
      struct_literal();
      break;
    }

    case 9: {
      enterOuterAlt(_localctx, 9);
      setState(405);
      array_literal();
      break;
    }

    default:
      break;
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- ConcatenateContext ------------------------------------------------------------------

SystemRDLParser::ConcatenateContext::ConcatenateContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

std::vector<SystemRDLParser::ExprContext *> SystemRDLParser::ConcatenateContext::expr() {
  return getRuleContexts<SystemRDLParser::ExprContext>();
}

SystemRDLParser::ExprContext* SystemRDLParser::ConcatenateContext::expr(size_t i) {
  return getRuleContext<SystemRDLParser::ExprContext>(i);
}


size_t SystemRDLParser::ConcatenateContext::getRuleIndex() const {
  return SystemRDLParser::RuleConcatenate;
}


antlrcpp::Any SystemRDLParser::ConcatenateContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitConcatenate(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::ConcatenateContext* SystemRDLParser::concatenate() {
  ConcatenateContext *_localctx = _tracker.createInstance<ConcatenateContext>(_ctx, getState());
  enterRule(_localctx, 48, SystemRDLParser::RuleConcatenate);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(408);
    match(SystemRDLParser::T__1);
    setState(409);
    expr(0);
    setState(414);
    _errHandler->sync(this);
    _la = _input->LA(1);
    while (_la == SystemRDLParser::T__3) {
      setState(410);
      match(SystemRDLParser::T__3);
      setState(411);
      expr(0);
      setState(416);
      _errHandler->sync(this);
      _la = _input->LA(1);
    }
    setState(417);
    match(SystemRDLParser::T__2);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- ReplicateContext ------------------------------------------------------------------

SystemRDLParser::ReplicateContext::ReplicateContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::ExprContext* SystemRDLParser::ReplicateContext::expr() {
  return getRuleContext<SystemRDLParser::ExprContext>(0);
}

SystemRDLParser::ConcatenateContext* SystemRDLParser::ReplicateContext::concatenate() {
  return getRuleContext<SystemRDLParser::ConcatenateContext>(0);
}


size_t SystemRDLParser::ReplicateContext::getRuleIndex() const {
  return SystemRDLParser::RuleReplicate;
}


antlrcpp::Any SystemRDLParser::ReplicateContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitReplicate(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::ReplicateContext* SystemRDLParser::replicate() {
  ReplicateContext *_localctx = _tracker.createInstance<ReplicateContext>(_ctx, getState());
  enterRule(_localctx, 50, SystemRDLParser::RuleReplicate);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(419);
    match(SystemRDLParser::T__1);
    setState(420);
    expr(0);
    setState(421);
    concatenate();
    setState(422);
    match(SystemRDLParser::T__2);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Paren_exprContext ------------------------------------------------------------------

SystemRDLParser::Paren_exprContext::Paren_exprContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::ExprContext* SystemRDLParser::Paren_exprContext::expr() {
  return getRuleContext<SystemRDLParser::ExprContext>(0);
}


size_t SystemRDLParser::Paren_exprContext::getRuleIndex() const {
  return SystemRDLParser::RuleParen_expr;
}


antlrcpp::Any SystemRDLParser::Paren_exprContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitParen_expr(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Paren_exprContext* SystemRDLParser::paren_expr() {
  Paren_exprContext *_localctx = _tracker.createInstance<Paren_exprContext>(_ctx, getState());
  enterRule(_localctx, 52, SystemRDLParser::RuleParen_expr);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(424);
    match(SystemRDLParser::T__5);
    setState(425);
    expr(0);
    setState(426);
    match(SystemRDLParser::T__6);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- CastContext ------------------------------------------------------------------

SystemRDLParser::CastContext::CastContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}


size_t SystemRDLParser::CastContext::getRuleIndex() const {
  return SystemRDLParser::RuleCast;
}

void SystemRDLParser::CastContext::copyFrom(CastContext *ctx) {
  ParserRuleContext::copyFrom(ctx);
}

//----------------- CastWidthContext ------------------------------------------------------------------

SystemRDLParser::Cast_width_exprContext* SystemRDLParser::CastWidthContext::cast_width_expr() {
  return getRuleContext<SystemRDLParser::Cast_width_exprContext>(0);
}

SystemRDLParser::ExprContext* SystemRDLParser::CastWidthContext::expr() {
  return getRuleContext<SystemRDLParser::ExprContext>(0);
}

SystemRDLParser::CastWidthContext::CastWidthContext(CastContext *ctx) { copyFrom(ctx); }


antlrcpp::Any SystemRDLParser::CastWidthContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitCastWidth(this);
  else
    return visitor->visitChildren(this);
}
//----------------- CastTypeContext ------------------------------------------------------------------

SystemRDLParser::ExprContext* SystemRDLParser::CastTypeContext::expr() {
  return getRuleContext<SystemRDLParser::ExprContext>(0);
}

tree::TerminalNode* SystemRDLParser::CastTypeContext::BOOLEAN_kw() {
  return getToken(SystemRDLParser::BOOLEAN_kw, 0);
}

tree::TerminalNode* SystemRDLParser::CastTypeContext::BIT_kw() {
  return getToken(SystemRDLParser::BIT_kw, 0);
}

tree::TerminalNode* SystemRDLParser::CastTypeContext::LONGINT_kw() {
  return getToken(SystemRDLParser::LONGINT_kw, 0);
}

SystemRDLParser::CastTypeContext::CastTypeContext(CastContext *ctx) { copyFrom(ctx); }


antlrcpp::Any SystemRDLParser::CastTypeContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitCastType(this);
  else
    return visitor->visitChildren(this);
}
SystemRDLParser::CastContext* SystemRDLParser::cast() {
  CastContext *_localctx = _tracker.createInstance<CastContext>(_ctx, getState());
  enterRule(_localctx, 54, SystemRDLParser::RuleCast);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    setState(440);
    _errHandler->sync(this);
    switch (_input->LA(1)) {
      case SystemRDLParser::BOOLEAN_kw:
      case SystemRDLParser::BIT_kw:
      case SystemRDLParser::LONGINT_kw: {
        _localctx = dynamic_cast<CastContext *>(_tracker.createInstance<SystemRDLParser::CastTypeContext>(_localctx));
        enterOuterAlt(_localctx, 1);
        setState(428);
        dynamic_cast<CastTypeContext *>(_localctx)->typ = _input->LT(1);
        _la = _input->LA(1);
        if (!((((_la & ~ 0x3fULL) == 0) &&
          ((1ULL << _la) & ((1ULL << SystemRDLParser::BOOLEAN_kw)
          | (1ULL << SystemRDLParser::BIT_kw)
          | (1ULL << SystemRDLParser::LONGINT_kw))) != 0))) {
          dynamic_cast<CastTypeContext *>(_localctx)->typ = _errHandler->recoverInline(this);
        }
        else {
          _errHandler->reportMatch(this);
          consume();
        }
        setState(429);
        dynamic_cast<CastTypeContext *>(_localctx)->op = match(SystemRDLParser::T__10);
        setState(430);
        match(SystemRDLParser::T__5);
        setState(431);
        expr(0);
        setState(432);
        match(SystemRDLParser::T__6);
        break;
      }

      case SystemRDLParser::T__5:
      case SystemRDLParser::TRUE_kw:
      case SystemRDLParser::FALSE_kw:
      case SystemRDLParser::NA_kw:
      case SystemRDLParser::RW_kw:
      case SystemRDLParser::WR_kw:
      case SystemRDLParser::R_kw:
      case SystemRDLParser::W_kw:
      case SystemRDLParser::RW1_kw:
      case SystemRDLParser::W1_kw:
      case SystemRDLParser::RCLR_kw:
      case SystemRDLParser::RSET_kw:
      case SystemRDLParser::RUSER_kw:
      case SystemRDLParser::WOSET_kw:
      case SystemRDLParser::WOCLR_kw:
      case SystemRDLParser::WOT_kw:
      case SystemRDLParser::WZS_kw:
      case SystemRDLParser::WZC_kw:
      case SystemRDLParser::WZT_kw:
      case SystemRDLParser::WCLR_kw:
      case SystemRDLParser::WSET_kw:
      case SystemRDLParser::WUSER_kw:
      case SystemRDLParser::COMPACT_kw:
      case SystemRDLParser::REGALIGN_kw:
      case SystemRDLParser::FULLALIGN_kw:
      case SystemRDLParser::HW_kw:
      case SystemRDLParser::SW_kw:
      case SystemRDLParser::INT:
      case SystemRDLParser::HEX_INT:
      case SystemRDLParser::VLOG_INT:
      case SystemRDLParser::STRING:
      case SystemRDLParser::ID: {
        _localctx = dynamic_cast<CastContext *>(_tracker.createInstance<SystemRDLParser::CastWidthContext>(_localctx));
        enterOuterAlt(_localctx, 2);
        setState(434);
        cast_width_expr();
        setState(435);
        dynamic_cast<CastWidthContext *>(_localctx)->op = match(SystemRDLParser::T__10);
        setState(436);
        match(SystemRDLParser::T__5);
        setState(437);
        expr(0);
        setState(438);
        match(SystemRDLParser::T__6);
        break;
      }

    default:
      throw NoViableAltException(this);
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Cast_width_exprContext ------------------------------------------------------------------

SystemRDLParser::Cast_width_exprContext::Cast_width_exprContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::LiteralContext* SystemRDLParser::Cast_width_exprContext::literal() {
  return getRuleContext<SystemRDLParser::LiteralContext>(0);
}

SystemRDLParser::Paren_exprContext* SystemRDLParser::Cast_width_exprContext::paren_expr() {
  return getRuleContext<SystemRDLParser::Paren_exprContext>(0);
}


size_t SystemRDLParser::Cast_width_exprContext::getRuleIndex() const {
  return SystemRDLParser::RuleCast_width_expr;
}


antlrcpp::Any SystemRDLParser::Cast_width_exprContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitCast_width_expr(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Cast_width_exprContext* SystemRDLParser::cast_width_expr() {
  Cast_width_exprContext *_localctx = _tracker.createInstance<Cast_width_exprContext>(_ctx, getState());
  enterRule(_localctx, 56, SystemRDLParser::RuleCast_width_expr);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    setState(444);
    _errHandler->sync(this);
    switch (_input->LA(1)) {
      case SystemRDLParser::TRUE_kw:
      case SystemRDLParser::FALSE_kw:
      case SystemRDLParser::NA_kw:
      case SystemRDLParser::RW_kw:
      case SystemRDLParser::WR_kw:
      case SystemRDLParser::R_kw:
      case SystemRDLParser::W_kw:
      case SystemRDLParser::RW1_kw:
      case SystemRDLParser::W1_kw:
      case SystemRDLParser::RCLR_kw:
      case SystemRDLParser::RSET_kw:
      case SystemRDLParser::RUSER_kw:
      case SystemRDLParser::WOSET_kw:
      case SystemRDLParser::WOCLR_kw:
      case SystemRDLParser::WOT_kw:
      case SystemRDLParser::WZS_kw:
      case SystemRDLParser::WZC_kw:
      case SystemRDLParser::WZT_kw:
      case SystemRDLParser::WCLR_kw:
      case SystemRDLParser::WSET_kw:
      case SystemRDLParser::WUSER_kw:
      case SystemRDLParser::COMPACT_kw:
      case SystemRDLParser::REGALIGN_kw:
      case SystemRDLParser::FULLALIGN_kw:
      case SystemRDLParser::HW_kw:
      case SystemRDLParser::SW_kw:
      case SystemRDLParser::INT:
      case SystemRDLParser::HEX_INT:
      case SystemRDLParser::VLOG_INT:
      case SystemRDLParser::STRING:
      case SystemRDLParser::ID: {
        enterOuterAlt(_localctx, 1);
        setState(442);
        literal();
        break;
      }

      case SystemRDLParser::T__5: {
        enterOuterAlt(_localctx, 2);
        setState(443);
        paren_expr();
        break;
      }

    default:
      throw NoViableAltException(this);
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Range_suffixContext ------------------------------------------------------------------

SystemRDLParser::Range_suffixContext::Range_suffixContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

std::vector<SystemRDLParser::ExprContext *> SystemRDLParser::Range_suffixContext::expr() {
  return getRuleContexts<SystemRDLParser::ExprContext>();
}

SystemRDLParser::ExprContext* SystemRDLParser::Range_suffixContext::expr(size_t i) {
  return getRuleContext<SystemRDLParser::ExprContext>(i);
}


size_t SystemRDLParser::Range_suffixContext::getRuleIndex() const {
  return SystemRDLParser::RuleRange_suffix;
}


antlrcpp::Any SystemRDLParser::Range_suffixContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitRange_suffix(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Range_suffixContext* SystemRDLParser::range_suffix() {
  Range_suffixContext *_localctx = _tracker.createInstance<Range_suffixContext>(_ctx, getState());
  enterRule(_localctx, 58, SystemRDLParser::RuleRange_suffix);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(446);
    match(SystemRDLParser::T__11);
    setState(447);
    expr(0);
    setState(448);
    match(SystemRDLParser::T__9);
    setState(449);
    expr(0);
    setState(450);
    match(SystemRDLParser::T__12);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Array_suffixContext ------------------------------------------------------------------

SystemRDLParser::Array_suffixContext::Array_suffixContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::ExprContext* SystemRDLParser::Array_suffixContext::expr() {
  return getRuleContext<SystemRDLParser::ExprContext>(0);
}


size_t SystemRDLParser::Array_suffixContext::getRuleIndex() const {
  return SystemRDLParser::RuleArray_suffix;
}


antlrcpp::Any SystemRDLParser::Array_suffixContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitArray_suffix(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Array_suffixContext* SystemRDLParser::array_suffix() {
  Array_suffixContext *_localctx = _tracker.createInstance<Array_suffixContext>(_ctx, getState());
  enterRule(_localctx, 60, SystemRDLParser::RuleArray_suffix);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(452);
    match(SystemRDLParser::T__11);
    setState(453);
    expr(0);
    setState(454);
    match(SystemRDLParser::T__12);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Array_type_suffixContext ------------------------------------------------------------------

SystemRDLParser::Array_type_suffixContext::Array_type_suffixContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}


size_t SystemRDLParser::Array_type_suffixContext::getRuleIndex() const {
  return SystemRDLParser::RuleArray_type_suffix;
}


antlrcpp::Any SystemRDLParser::Array_type_suffixContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitArray_type_suffix(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Array_type_suffixContext* SystemRDLParser::array_type_suffix() {
  Array_type_suffixContext *_localctx = _tracker.createInstance<Array_type_suffixContext>(_ctx, getState());
  enterRule(_localctx, 62, SystemRDLParser::RuleArray_type_suffix);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(456);
    match(SystemRDLParser::T__11);
    setState(457);
    match(SystemRDLParser::T__12);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Data_typeContext ------------------------------------------------------------------

SystemRDLParser::Data_typeContext::Data_typeContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::Basic_data_typeContext* SystemRDLParser::Data_typeContext::basic_data_type() {
  return getRuleContext<SystemRDLParser::Basic_data_typeContext>(0);
}

tree::TerminalNode* SystemRDLParser::Data_typeContext::ACCESSTYPE_kw() {
  return getToken(SystemRDLParser::ACCESSTYPE_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Data_typeContext::ADDRESSINGTYPE_kw() {
  return getToken(SystemRDLParser::ADDRESSINGTYPE_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Data_typeContext::ONREADTYPE_kw() {
  return getToken(SystemRDLParser::ONREADTYPE_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Data_typeContext::ONWRITETYPE_kw() {
  return getToken(SystemRDLParser::ONWRITETYPE_kw, 0);
}


size_t SystemRDLParser::Data_typeContext::getRuleIndex() const {
  return SystemRDLParser::RuleData_type;
}


antlrcpp::Any SystemRDLParser::Data_typeContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitData_type(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Data_typeContext* SystemRDLParser::data_type() {
  Data_typeContext *_localctx = _tracker.createInstance<Data_typeContext>(_ctx, getState());
  enterRule(_localctx, 64, SystemRDLParser::RuleData_type);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    setState(461);
    _errHandler->sync(this);
    switch (_input->LA(1)) {
      case SystemRDLParser::BOOLEAN_kw:
      case SystemRDLParser::BIT_kw:
      case SystemRDLParser::LONGINT_kw:
      case SystemRDLParser::STRING_kw:
      case SystemRDLParser::ID: {
        enterOuterAlt(_localctx, 1);
        setState(459);
        basic_data_type();
        break;
      }

      case SystemRDLParser::ACCESSTYPE_kw:
      case SystemRDLParser::ADDRESSINGTYPE_kw:
      case SystemRDLParser::ONREADTYPE_kw:
      case SystemRDLParser::ONWRITETYPE_kw: {
        enterOuterAlt(_localctx, 2);
        setState(460);
        dynamic_cast<Data_typeContext *>(_localctx)->kw = _input->LT(1);
        _la = _input->LA(1);
        if (!((((_la & ~ 0x3fULL) == 0) &&
          ((1ULL << _la) & ((1ULL << SystemRDLParser::ACCESSTYPE_kw)
          | (1ULL << SystemRDLParser::ADDRESSINGTYPE_kw)
          | (1ULL << SystemRDLParser::ONREADTYPE_kw)
          | (1ULL << SystemRDLParser::ONWRITETYPE_kw))) != 0))) {
          dynamic_cast<Data_typeContext *>(_localctx)->kw = _errHandler->recoverInline(this);
        }
        else {
          _errHandler->reportMatch(this);
          consume();
        }
        break;
      }

    default:
      throw NoViableAltException(this);
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Basic_data_typeContext ------------------------------------------------------------------

SystemRDLParser::Basic_data_typeContext::Basic_data_typeContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Basic_data_typeContext::BIT_kw() {
  return getToken(SystemRDLParser::BIT_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Basic_data_typeContext::LONGINT_kw() {
  return getToken(SystemRDLParser::LONGINT_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Basic_data_typeContext::UNSIGNED_kw() {
  return getToken(SystemRDLParser::UNSIGNED_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Basic_data_typeContext::STRING_kw() {
  return getToken(SystemRDLParser::STRING_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Basic_data_typeContext::BOOLEAN_kw() {
  return getToken(SystemRDLParser::BOOLEAN_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Basic_data_typeContext::ID() {
  return getToken(SystemRDLParser::ID, 0);
}


size_t SystemRDLParser::Basic_data_typeContext::getRuleIndex() const {
  return SystemRDLParser::RuleBasic_data_type;
}


antlrcpp::Any SystemRDLParser::Basic_data_typeContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitBasic_data_type(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Basic_data_typeContext* SystemRDLParser::basic_data_type() {
  Basic_data_typeContext *_localctx = _tracker.createInstance<Basic_data_typeContext>(_ctx, getState());
  enterRule(_localctx, 66, SystemRDLParser::RuleBasic_data_type);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    setState(468);
    _errHandler->sync(this);
    switch (_input->LA(1)) {
      case SystemRDLParser::BIT_kw:
      case SystemRDLParser::LONGINT_kw: {
        enterOuterAlt(_localctx, 1);
        setState(463);
        dynamic_cast<Basic_data_typeContext *>(_localctx)->kw = _input->LT(1);
        _la = _input->LA(1);
        if (!(_la == SystemRDLParser::BIT_kw

        || _la == SystemRDLParser::LONGINT_kw)) {
          dynamic_cast<Basic_data_typeContext *>(_localctx)->kw = _errHandler->recoverInline(this);
        }
        else {
          _errHandler->reportMatch(this);
          consume();
        }
        setState(465);
        _errHandler->sync(this);

        _la = _input->LA(1);
        if (_la == SystemRDLParser::UNSIGNED_kw) {
          setState(464);
          match(SystemRDLParser::UNSIGNED_kw);
        }
        break;
      }

      case SystemRDLParser::BOOLEAN_kw:
      case SystemRDLParser::STRING_kw:
      case SystemRDLParser::ID: {
        enterOuterAlt(_localctx, 2);
        setState(467);
        dynamic_cast<Basic_data_typeContext *>(_localctx)->kw = _input->LT(1);
        _la = _input->LA(1);
        if (!(_la == SystemRDLParser::BOOLEAN_kw

        || _la == SystemRDLParser::STRING_kw || _la == SystemRDLParser::ID)) {
          dynamic_cast<Basic_data_typeContext *>(_localctx)->kw = _errHandler->recoverInline(this);
        }
        else {
          _errHandler->reportMatch(this);
          consume();
        }
        break;
      }

    default:
      throw NoViableAltException(this);
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- LiteralContext ------------------------------------------------------------------

SystemRDLParser::LiteralContext::LiteralContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::NumberContext* SystemRDLParser::LiteralContext::number() {
  return getRuleContext<SystemRDLParser::NumberContext>(0);
}

SystemRDLParser::String_literalContext* SystemRDLParser::LiteralContext::string_literal() {
  return getRuleContext<SystemRDLParser::String_literalContext>(0);
}

SystemRDLParser::Boolean_literalContext* SystemRDLParser::LiteralContext::boolean_literal() {
  return getRuleContext<SystemRDLParser::Boolean_literalContext>(0);
}

SystemRDLParser::Accesstype_literalContext* SystemRDLParser::LiteralContext::accesstype_literal() {
  return getRuleContext<SystemRDLParser::Accesstype_literalContext>(0);
}

SystemRDLParser::Onreadtype_literalContext* SystemRDLParser::LiteralContext::onreadtype_literal() {
  return getRuleContext<SystemRDLParser::Onreadtype_literalContext>(0);
}

SystemRDLParser::Onwritetype_literalContext* SystemRDLParser::LiteralContext::onwritetype_literal() {
  return getRuleContext<SystemRDLParser::Onwritetype_literalContext>(0);
}

SystemRDLParser::Addressingtype_literalContext* SystemRDLParser::LiteralContext::addressingtype_literal() {
  return getRuleContext<SystemRDLParser::Addressingtype_literalContext>(0);
}

SystemRDLParser::Precedencetype_literalContext* SystemRDLParser::LiteralContext::precedencetype_literal() {
  return getRuleContext<SystemRDLParser::Precedencetype_literalContext>(0);
}

SystemRDLParser::Enum_literalContext* SystemRDLParser::LiteralContext::enum_literal() {
  return getRuleContext<SystemRDLParser::Enum_literalContext>(0);
}


size_t SystemRDLParser::LiteralContext::getRuleIndex() const {
  return SystemRDLParser::RuleLiteral;
}


antlrcpp::Any SystemRDLParser::LiteralContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitLiteral(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::LiteralContext* SystemRDLParser::literal() {
  LiteralContext *_localctx = _tracker.createInstance<LiteralContext>(_ctx, getState());
  enterRule(_localctx, 68, SystemRDLParser::RuleLiteral);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    setState(479);
    _errHandler->sync(this);
    switch (_input->LA(1)) {
      case SystemRDLParser::INT:
      case SystemRDLParser::HEX_INT:
      case SystemRDLParser::VLOG_INT: {
        enterOuterAlt(_localctx, 1);
        setState(470);
        number();
        break;
      }

      case SystemRDLParser::STRING: {
        enterOuterAlt(_localctx, 2);
        setState(471);
        string_literal();
        break;
      }

      case SystemRDLParser::TRUE_kw:
      case SystemRDLParser::FALSE_kw: {
        enterOuterAlt(_localctx, 3);
        setState(472);
        boolean_literal();
        break;
      }

      case SystemRDLParser::NA_kw:
      case SystemRDLParser::RW_kw:
      case SystemRDLParser::WR_kw:
      case SystemRDLParser::R_kw:
      case SystemRDLParser::W_kw:
      case SystemRDLParser::RW1_kw:
      case SystemRDLParser::W1_kw: {
        enterOuterAlt(_localctx, 4);
        setState(473);
        accesstype_literal();
        break;
      }

      case SystemRDLParser::RCLR_kw:
      case SystemRDLParser::RSET_kw:
      case SystemRDLParser::RUSER_kw: {
        enterOuterAlt(_localctx, 5);
        setState(474);
        onreadtype_literal();
        break;
      }

      case SystemRDLParser::WOSET_kw:
      case SystemRDLParser::WOCLR_kw:
      case SystemRDLParser::WOT_kw:
      case SystemRDLParser::WZS_kw:
      case SystemRDLParser::WZC_kw:
      case SystemRDLParser::WZT_kw:
      case SystemRDLParser::WCLR_kw:
      case SystemRDLParser::WSET_kw:
      case SystemRDLParser::WUSER_kw: {
        enterOuterAlt(_localctx, 6);
        setState(475);
        onwritetype_literal();
        break;
      }

      case SystemRDLParser::COMPACT_kw:
      case SystemRDLParser::REGALIGN_kw:
      case SystemRDLParser::FULLALIGN_kw: {
        enterOuterAlt(_localctx, 7);
        setState(476);
        addressingtype_literal();
        break;
      }

      case SystemRDLParser::HW_kw:
      case SystemRDLParser::SW_kw: {
        enterOuterAlt(_localctx, 8);
        setState(477);
        precedencetype_literal();
        break;
      }

      case SystemRDLParser::ID: {
        enterOuterAlt(_localctx, 9);
        setState(478);
        enum_literal();
        break;
      }

    default:
      throw NoViableAltException(this);
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- NumberContext ------------------------------------------------------------------

SystemRDLParser::NumberContext::NumberContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}


size_t SystemRDLParser::NumberContext::getRuleIndex() const {
  return SystemRDLParser::RuleNumber;
}

void SystemRDLParser::NumberContext::copyFrom(NumberContext *ctx) {
  ParserRuleContext::copyFrom(ctx);
}

//----------------- NumberHexContext ------------------------------------------------------------------

tree::TerminalNode* SystemRDLParser::NumberHexContext::HEX_INT() {
  return getToken(SystemRDLParser::HEX_INT, 0);
}

SystemRDLParser::NumberHexContext::NumberHexContext(NumberContext *ctx) { copyFrom(ctx); }


antlrcpp::Any SystemRDLParser::NumberHexContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitNumberHex(this);
  else
    return visitor->visitChildren(this);
}
//----------------- NumberVerilogContext ------------------------------------------------------------------

tree::TerminalNode* SystemRDLParser::NumberVerilogContext::VLOG_INT() {
  return getToken(SystemRDLParser::VLOG_INT, 0);
}

SystemRDLParser::NumberVerilogContext::NumberVerilogContext(NumberContext *ctx) { copyFrom(ctx); }


antlrcpp::Any SystemRDLParser::NumberVerilogContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitNumberVerilog(this);
  else
    return visitor->visitChildren(this);
}
//----------------- NumberIntContext ------------------------------------------------------------------

tree::TerminalNode* SystemRDLParser::NumberIntContext::INT() {
  return getToken(SystemRDLParser::INT, 0);
}

SystemRDLParser::NumberIntContext::NumberIntContext(NumberContext *ctx) { copyFrom(ctx); }


antlrcpp::Any SystemRDLParser::NumberIntContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitNumberInt(this);
  else
    return visitor->visitChildren(this);
}
SystemRDLParser::NumberContext* SystemRDLParser::number() {
  NumberContext *_localctx = _tracker.createInstance<NumberContext>(_ctx, getState());
  enterRule(_localctx, 70, SystemRDLParser::RuleNumber);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    setState(484);
    _errHandler->sync(this);
    switch (_input->LA(1)) {
      case SystemRDLParser::INT: {
        _localctx = dynamic_cast<NumberContext *>(_tracker.createInstance<SystemRDLParser::NumberIntContext>(_localctx));
        enterOuterAlt(_localctx, 1);
        setState(481);
        match(SystemRDLParser::INT);
        break;
      }

      case SystemRDLParser::HEX_INT: {
        _localctx = dynamic_cast<NumberContext *>(_tracker.createInstance<SystemRDLParser::NumberHexContext>(_localctx));
        enterOuterAlt(_localctx, 2);
        setState(482);
        match(SystemRDLParser::HEX_INT);
        break;
      }

      case SystemRDLParser::VLOG_INT: {
        _localctx = dynamic_cast<NumberContext *>(_tracker.createInstance<SystemRDLParser::NumberVerilogContext>(_localctx));
        enterOuterAlt(_localctx, 3);
        setState(483);
        match(SystemRDLParser::VLOG_INT);
        break;
      }

    default:
      throw NoViableAltException(this);
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- String_literalContext ------------------------------------------------------------------

SystemRDLParser::String_literalContext::String_literalContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::String_literalContext::STRING() {
  return getToken(SystemRDLParser::STRING, 0);
}


size_t SystemRDLParser::String_literalContext::getRuleIndex() const {
  return SystemRDLParser::RuleString_literal;
}


antlrcpp::Any SystemRDLParser::String_literalContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitString_literal(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::String_literalContext* SystemRDLParser::string_literal() {
  String_literalContext *_localctx = _tracker.createInstance<String_literalContext>(_ctx, getState());
  enterRule(_localctx, 72, SystemRDLParser::RuleString_literal);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(486);
    match(SystemRDLParser::STRING);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Boolean_literalContext ------------------------------------------------------------------

SystemRDLParser::Boolean_literalContext::Boolean_literalContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Boolean_literalContext::TRUE_kw() {
  return getToken(SystemRDLParser::TRUE_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Boolean_literalContext::FALSE_kw() {
  return getToken(SystemRDLParser::FALSE_kw, 0);
}


size_t SystemRDLParser::Boolean_literalContext::getRuleIndex() const {
  return SystemRDLParser::RuleBoolean_literal;
}


antlrcpp::Any SystemRDLParser::Boolean_literalContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitBoolean_literal(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Boolean_literalContext* SystemRDLParser::boolean_literal() {
  Boolean_literalContext *_localctx = _tracker.createInstance<Boolean_literalContext>(_ctx, getState());
  enterRule(_localctx, 74, SystemRDLParser::RuleBoolean_literal);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(488);
    dynamic_cast<Boolean_literalContext *>(_localctx)->val = _input->LT(1);
    _la = _input->LA(1);
    if (!(_la == SystemRDLParser::TRUE_kw

    || _la == SystemRDLParser::FALSE_kw)) {
      dynamic_cast<Boolean_literalContext *>(_localctx)->val = _errHandler->recoverInline(this);
    }
    else {
      _errHandler->reportMatch(this);
      consume();
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Array_literalContext ------------------------------------------------------------------

SystemRDLParser::Array_literalContext::Array_literalContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

std::vector<SystemRDLParser::ExprContext *> SystemRDLParser::Array_literalContext::expr() {
  return getRuleContexts<SystemRDLParser::ExprContext>();
}

SystemRDLParser::ExprContext* SystemRDLParser::Array_literalContext::expr(size_t i) {
  return getRuleContext<SystemRDLParser::ExprContext>(i);
}


size_t SystemRDLParser::Array_literalContext::getRuleIndex() const {
  return SystemRDLParser::RuleArray_literal;
}


antlrcpp::Any SystemRDLParser::Array_literalContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitArray_literal(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Array_literalContext* SystemRDLParser::array_literal() {
  Array_literalContext *_localctx = _tracker.createInstance<Array_literalContext>(_ctx, getState());
  enterRule(_localctx, 76, SystemRDLParser::RuleArray_literal);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    setState(505);
    _errHandler->sync(this);
    switch (getInterpreter<atn::ParserATNSimulator>()->adaptivePredict(_input, 37, _ctx)) {
    case 1: {
      enterOuterAlt(_localctx, 1);
      setState(490);
      match(SystemRDLParser::T__10);
      setState(491);
      match(SystemRDLParser::T__1);
      setState(492);
      match(SystemRDLParser::T__2);
      break;
    }

    case 2: {
      enterOuterAlt(_localctx, 2);
      setState(493);
      match(SystemRDLParser::T__10);
      setState(494);
      match(SystemRDLParser::T__1);
      setState(495);
      expr(0);
      setState(500);
      _errHandler->sync(this);
      _la = _input->LA(1);
      while (_la == SystemRDLParser::T__3) {
        setState(496);
        match(SystemRDLParser::T__3);
        setState(497);
        expr(0);
        setState(502);
        _errHandler->sync(this);
        _la = _input->LA(1);
      }
      setState(503);
      match(SystemRDLParser::T__2);
      break;
    }

    default:
      break;
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Struct_literalContext ------------------------------------------------------------------

SystemRDLParser::Struct_literalContext::Struct_literalContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Struct_literalContext::ID() {
  return getToken(SystemRDLParser::ID, 0);
}

std::vector<SystemRDLParser::Struct_kvContext *> SystemRDLParser::Struct_literalContext::struct_kv() {
  return getRuleContexts<SystemRDLParser::Struct_kvContext>();
}

SystemRDLParser::Struct_kvContext* SystemRDLParser::Struct_literalContext::struct_kv(size_t i) {
  return getRuleContext<SystemRDLParser::Struct_kvContext>(i);
}


size_t SystemRDLParser::Struct_literalContext::getRuleIndex() const {
  return SystemRDLParser::RuleStruct_literal;
}


antlrcpp::Any SystemRDLParser::Struct_literalContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitStruct_literal(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Struct_literalContext* SystemRDLParser::struct_literal() {
  Struct_literalContext *_localctx = _tracker.createInstance<Struct_literalContext>(_ctx, getState());
  enterRule(_localctx, 78, SystemRDLParser::RuleStruct_literal);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(507);
    match(SystemRDLParser::ID);
    setState(508);
    match(SystemRDLParser::T__10);
    setState(509);
    match(SystemRDLParser::T__1);
    setState(510);
    struct_kv();
    setState(515);
    _errHandler->sync(this);
    _la = _input->LA(1);
    while (_la == SystemRDLParser::T__3) {
      setState(511);
      match(SystemRDLParser::T__3);
      setState(512);
      struct_kv();
      setState(517);
      _errHandler->sync(this);
      _la = _input->LA(1);
    }
    setState(518);
    match(SystemRDLParser::T__2);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Struct_kvContext ------------------------------------------------------------------

SystemRDLParser::Struct_kvContext::Struct_kvContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Struct_kvContext::ID() {
  return getToken(SystemRDLParser::ID, 0);
}

SystemRDLParser::ExprContext* SystemRDLParser::Struct_kvContext::expr() {
  return getRuleContext<SystemRDLParser::ExprContext>(0);
}


size_t SystemRDLParser::Struct_kvContext::getRuleIndex() const {
  return SystemRDLParser::RuleStruct_kv;
}


antlrcpp::Any SystemRDLParser::Struct_kvContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitStruct_kv(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Struct_kvContext* SystemRDLParser::struct_kv() {
  Struct_kvContext *_localctx = _tracker.createInstance<Struct_kvContext>(_ctx, getState());
  enterRule(_localctx, 80, SystemRDLParser::RuleStruct_kv);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(520);
    match(SystemRDLParser::ID);
    setState(521);
    match(SystemRDLParser::T__9);
    setState(522);
    expr(0);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Enum_literalContext ------------------------------------------------------------------

SystemRDLParser::Enum_literalContext::Enum_literalContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

std::vector<tree::TerminalNode *> SystemRDLParser::Enum_literalContext::ID() {
  return getTokens(SystemRDLParser::ID);
}

tree::TerminalNode* SystemRDLParser::Enum_literalContext::ID(size_t i) {
  return getToken(SystemRDLParser::ID, i);
}


size_t SystemRDLParser::Enum_literalContext::getRuleIndex() const {
  return SystemRDLParser::RuleEnum_literal;
}


antlrcpp::Any SystemRDLParser::Enum_literalContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitEnum_literal(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Enum_literalContext* SystemRDLParser::enum_literal() {
  Enum_literalContext *_localctx = _tracker.createInstance<Enum_literalContext>(_ctx, getState());
  enterRule(_localctx, 82, SystemRDLParser::RuleEnum_literal);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(524);
    match(SystemRDLParser::ID);
    setState(525);
    match(SystemRDLParser::T__13);
    setState(526);
    match(SystemRDLParser::ID);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Accesstype_literalContext ------------------------------------------------------------------

SystemRDLParser::Accesstype_literalContext::Accesstype_literalContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Accesstype_literalContext::NA_kw() {
  return getToken(SystemRDLParser::NA_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Accesstype_literalContext::RW_kw() {
  return getToken(SystemRDLParser::RW_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Accesstype_literalContext::WR_kw() {
  return getToken(SystemRDLParser::WR_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Accesstype_literalContext::R_kw() {
  return getToken(SystemRDLParser::R_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Accesstype_literalContext::W_kw() {
  return getToken(SystemRDLParser::W_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Accesstype_literalContext::RW1_kw() {
  return getToken(SystemRDLParser::RW1_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Accesstype_literalContext::W1_kw() {
  return getToken(SystemRDLParser::W1_kw, 0);
}


size_t SystemRDLParser::Accesstype_literalContext::getRuleIndex() const {
  return SystemRDLParser::RuleAccesstype_literal;
}


antlrcpp::Any SystemRDLParser::Accesstype_literalContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitAccesstype_literal(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Accesstype_literalContext* SystemRDLParser::accesstype_literal() {
  Accesstype_literalContext *_localctx = _tracker.createInstance<Accesstype_literalContext>(_ctx, getState());
  enterRule(_localctx, 84, SystemRDLParser::RuleAccesstype_literal);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(528);
    dynamic_cast<Accesstype_literalContext *>(_localctx)->kw = _input->LT(1);
    _la = _input->LA(1);
    if (!((((_la & ~ 0x3fULL) == 0) &&
      ((1ULL << _la) & ((1ULL << SystemRDLParser::NA_kw)
      | (1ULL << SystemRDLParser::RW_kw)
      | (1ULL << SystemRDLParser::WR_kw)
      | (1ULL << SystemRDLParser::R_kw)
      | (1ULL << SystemRDLParser::W_kw)
      | (1ULL << SystemRDLParser::RW1_kw)
      | (1ULL << SystemRDLParser::W1_kw))) != 0))) {
      dynamic_cast<Accesstype_literalContext *>(_localctx)->kw = _errHandler->recoverInline(this);
    }
    else {
      _errHandler->reportMatch(this);
      consume();
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Onreadtype_literalContext ------------------------------------------------------------------

SystemRDLParser::Onreadtype_literalContext::Onreadtype_literalContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Onreadtype_literalContext::RCLR_kw() {
  return getToken(SystemRDLParser::RCLR_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Onreadtype_literalContext::RSET_kw() {
  return getToken(SystemRDLParser::RSET_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Onreadtype_literalContext::RUSER_kw() {
  return getToken(SystemRDLParser::RUSER_kw, 0);
}


size_t SystemRDLParser::Onreadtype_literalContext::getRuleIndex() const {
  return SystemRDLParser::RuleOnreadtype_literal;
}


antlrcpp::Any SystemRDLParser::Onreadtype_literalContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitOnreadtype_literal(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Onreadtype_literalContext* SystemRDLParser::onreadtype_literal() {
  Onreadtype_literalContext *_localctx = _tracker.createInstance<Onreadtype_literalContext>(_ctx, getState());
  enterRule(_localctx, 86, SystemRDLParser::RuleOnreadtype_literal);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(530);
    dynamic_cast<Onreadtype_literalContext *>(_localctx)->kw = _input->LT(1);
    _la = _input->LA(1);
    if (!((((_la & ~ 0x3fULL) == 0) &&
      ((1ULL << _la) & ((1ULL << SystemRDLParser::RCLR_kw)
      | (1ULL << SystemRDLParser::RSET_kw)
      | (1ULL << SystemRDLParser::RUSER_kw))) != 0))) {
      dynamic_cast<Onreadtype_literalContext *>(_localctx)->kw = _errHandler->recoverInline(this);
    }
    else {
      _errHandler->reportMatch(this);
      consume();
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Onwritetype_literalContext ------------------------------------------------------------------

SystemRDLParser::Onwritetype_literalContext::Onwritetype_literalContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Onwritetype_literalContext::WOSET_kw() {
  return getToken(SystemRDLParser::WOSET_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Onwritetype_literalContext::WOCLR_kw() {
  return getToken(SystemRDLParser::WOCLR_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Onwritetype_literalContext::WOT_kw() {
  return getToken(SystemRDLParser::WOT_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Onwritetype_literalContext::WZS_kw() {
  return getToken(SystemRDLParser::WZS_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Onwritetype_literalContext::WZC_kw() {
  return getToken(SystemRDLParser::WZC_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Onwritetype_literalContext::WZT_kw() {
  return getToken(SystemRDLParser::WZT_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Onwritetype_literalContext::WCLR_kw() {
  return getToken(SystemRDLParser::WCLR_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Onwritetype_literalContext::WSET_kw() {
  return getToken(SystemRDLParser::WSET_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Onwritetype_literalContext::WUSER_kw() {
  return getToken(SystemRDLParser::WUSER_kw, 0);
}


size_t SystemRDLParser::Onwritetype_literalContext::getRuleIndex() const {
  return SystemRDLParser::RuleOnwritetype_literal;
}


antlrcpp::Any SystemRDLParser::Onwritetype_literalContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitOnwritetype_literal(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Onwritetype_literalContext* SystemRDLParser::onwritetype_literal() {
  Onwritetype_literalContext *_localctx = _tracker.createInstance<Onwritetype_literalContext>(_ctx, getState());
  enterRule(_localctx, 88, SystemRDLParser::RuleOnwritetype_literal);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(532);
    dynamic_cast<Onwritetype_literalContext *>(_localctx)->kw = _input->LT(1);
    _la = _input->LA(1);
    if (!((((_la & ~ 0x3fULL) == 0) &&
      ((1ULL << _la) & ((1ULL << SystemRDLParser::WOSET_kw)
      | (1ULL << SystemRDLParser::WOCLR_kw)
      | (1ULL << SystemRDLParser::WOT_kw)
      | (1ULL << SystemRDLParser::WZS_kw)
      | (1ULL << SystemRDLParser::WZC_kw)
      | (1ULL << SystemRDLParser::WZT_kw)
      | (1ULL << SystemRDLParser::WCLR_kw)
      | (1ULL << SystemRDLParser::WSET_kw)
      | (1ULL << SystemRDLParser::WUSER_kw))) != 0))) {
      dynamic_cast<Onwritetype_literalContext *>(_localctx)->kw = _errHandler->recoverInline(this);
    }
    else {
      _errHandler->reportMatch(this);
      consume();
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Addressingtype_literalContext ------------------------------------------------------------------

SystemRDLParser::Addressingtype_literalContext::Addressingtype_literalContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Addressingtype_literalContext::COMPACT_kw() {
  return getToken(SystemRDLParser::COMPACT_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Addressingtype_literalContext::REGALIGN_kw() {
  return getToken(SystemRDLParser::REGALIGN_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Addressingtype_literalContext::FULLALIGN_kw() {
  return getToken(SystemRDLParser::FULLALIGN_kw, 0);
}


size_t SystemRDLParser::Addressingtype_literalContext::getRuleIndex() const {
  return SystemRDLParser::RuleAddressingtype_literal;
}


antlrcpp::Any SystemRDLParser::Addressingtype_literalContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitAddressingtype_literal(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Addressingtype_literalContext* SystemRDLParser::addressingtype_literal() {
  Addressingtype_literalContext *_localctx = _tracker.createInstance<Addressingtype_literalContext>(_ctx, getState());
  enterRule(_localctx, 90, SystemRDLParser::RuleAddressingtype_literal);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(534);
    dynamic_cast<Addressingtype_literalContext *>(_localctx)->kw = _input->LT(1);
    _la = _input->LA(1);
    if (!((((_la & ~ 0x3fULL) == 0) &&
      ((1ULL << _la) & ((1ULL << SystemRDLParser::COMPACT_kw)
      | (1ULL << SystemRDLParser::REGALIGN_kw)
      | (1ULL << SystemRDLParser::FULLALIGN_kw))) != 0))) {
      dynamic_cast<Addressingtype_literalContext *>(_localctx)->kw = _errHandler->recoverInline(this);
    }
    else {
      _errHandler->reportMatch(this);
      consume();
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Precedencetype_literalContext ------------------------------------------------------------------

SystemRDLParser::Precedencetype_literalContext::Precedencetype_literalContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Precedencetype_literalContext::HW_kw() {
  return getToken(SystemRDLParser::HW_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Precedencetype_literalContext::SW_kw() {
  return getToken(SystemRDLParser::SW_kw, 0);
}


size_t SystemRDLParser::Precedencetype_literalContext::getRuleIndex() const {
  return SystemRDLParser::RulePrecedencetype_literal;
}


antlrcpp::Any SystemRDLParser::Precedencetype_literalContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitPrecedencetype_literal(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Precedencetype_literalContext* SystemRDLParser::precedencetype_literal() {
  Precedencetype_literalContext *_localctx = _tracker.createInstance<Precedencetype_literalContext>(_ctx, getState());
  enterRule(_localctx, 92, SystemRDLParser::RulePrecedencetype_literal);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(536);
    dynamic_cast<Precedencetype_literalContext *>(_localctx)->kw = _input->LT(1);
    _la = _input->LA(1);
    if (!(_la == SystemRDLParser::HW_kw

    || _la == SystemRDLParser::SW_kw)) {
      dynamic_cast<Precedencetype_literalContext *>(_localctx)->kw = _errHandler->recoverInline(this);
    }
    else {
      _errHandler->reportMatch(this);
      consume();
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Instance_refContext ------------------------------------------------------------------

SystemRDLParser::Instance_refContext::Instance_refContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

std::vector<SystemRDLParser::Instance_ref_elementContext *> SystemRDLParser::Instance_refContext::instance_ref_element() {
  return getRuleContexts<SystemRDLParser::Instance_ref_elementContext>();
}

SystemRDLParser::Instance_ref_elementContext* SystemRDLParser::Instance_refContext::instance_ref_element(size_t i) {
  return getRuleContext<SystemRDLParser::Instance_ref_elementContext>(i);
}


size_t SystemRDLParser::Instance_refContext::getRuleIndex() const {
  return SystemRDLParser::RuleInstance_ref;
}


antlrcpp::Any SystemRDLParser::Instance_refContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitInstance_ref(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Instance_refContext* SystemRDLParser::instance_ref() {
  Instance_refContext *_localctx = _tracker.createInstance<Instance_refContext>(_ctx, getState());
  enterRule(_localctx, 94, SystemRDLParser::RuleInstance_ref);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    size_t alt;
    enterOuterAlt(_localctx, 1);
    setState(538);
    instance_ref_element();
    setState(543);
    _errHandler->sync(this);
    alt = getInterpreter<atn::ParserATNSimulator>()->adaptivePredict(_input, 39, _ctx);
    while (alt != 2 && alt != atn::ATN::INVALID_ALT_NUMBER) {
      if (alt == 1) {
        setState(539);
        match(SystemRDLParser::T__7);
        setState(540);
        instance_ref_element(); 
      }
      setState(545);
      _errHandler->sync(this);
      alt = getInterpreter<atn::ParserATNSimulator>()->adaptivePredict(_input, 39, _ctx);
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Instance_ref_elementContext ------------------------------------------------------------------

SystemRDLParser::Instance_ref_elementContext::Instance_ref_elementContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Instance_ref_elementContext::ID() {
  return getToken(SystemRDLParser::ID, 0);
}

std::vector<SystemRDLParser::Array_suffixContext *> SystemRDLParser::Instance_ref_elementContext::array_suffix() {
  return getRuleContexts<SystemRDLParser::Array_suffixContext>();
}

SystemRDLParser::Array_suffixContext* SystemRDLParser::Instance_ref_elementContext::array_suffix(size_t i) {
  return getRuleContext<SystemRDLParser::Array_suffixContext>(i);
}


size_t SystemRDLParser::Instance_ref_elementContext::getRuleIndex() const {
  return SystemRDLParser::RuleInstance_ref_element;
}


antlrcpp::Any SystemRDLParser::Instance_ref_elementContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitInstance_ref_element(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Instance_ref_elementContext* SystemRDLParser::instance_ref_element() {
  Instance_ref_elementContext *_localctx = _tracker.createInstance<Instance_ref_elementContext>(_ctx, getState());
  enterRule(_localctx, 96, SystemRDLParser::RuleInstance_ref_element);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    size_t alt;
    enterOuterAlt(_localctx, 1);
    setState(546);
    match(SystemRDLParser::ID);
    setState(550);
    _errHandler->sync(this);
    alt = getInterpreter<atn::ParserATNSimulator>()->adaptivePredict(_input, 40, _ctx);
    while (alt != 2 && alt != atn::ATN::INVALID_ALT_NUMBER) {
      if (alt == 1) {
        setState(547);
        array_suffix(); 
      }
      setState(552);
      _errHandler->sync(this);
      alt = getInterpreter<atn::ParserATNSimulator>()->adaptivePredict(_input, 40, _ctx);
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Prop_refContext ------------------------------------------------------------------

SystemRDLParser::Prop_refContext::Prop_refContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::Instance_refContext* SystemRDLParser::Prop_refContext::instance_ref() {
  return getRuleContext<SystemRDLParser::Instance_refContext>(0);
}

SystemRDLParser::Prop_keywordContext* SystemRDLParser::Prop_refContext::prop_keyword() {
  return getRuleContext<SystemRDLParser::Prop_keywordContext>(0);
}

tree::TerminalNode* SystemRDLParser::Prop_refContext::ID() {
  return getToken(SystemRDLParser::ID, 0);
}


size_t SystemRDLParser::Prop_refContext::getRuleIndex() const {
  return SystemRDLParser::RuleProp_ref;
}


antlrcpp::Any SystemRDLParser::Prop_refContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitProp_ref(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Prop_refContext* SystemRDLParser::prop_ref() {
  Prop_refContext *_localctx = _tracker.createInstance<Prop_refContext>(_ctx, getState());
  enterRule(_localctx, 98, SystemRDLParser::RuleProp_ref);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(553);
    instance_ref();
    setState(554);
    match(SystemRDLParser::T__14);
    setState(557);
    _errHandler->sync(this);
    switch (_input->LA(1)) {
      case SystemRDLParser::RCLR_kw:
      case SystemRDLParser::RSET_kw:
      case SystemRDLParser::WOSET_kw:
      case SystemRDLParser::WOCLR_kw:
      case SystemRDLParser::HW_kw:
      case SystemRDLParser::SW_kw: {
        setState(555);
        prop_keyword();
        break;
      }

      case SystemRDLParser::ID: {
        setState(556);
        match(SystemRDLParser::ID);
        break;
      }

    default:
      throw NoViableAltException(this);
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Local_property_assignmentContext ------------------------------------------------------------------

SystemRDLParser::Local_property_assignmentContext::Local_property_assignmentContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::Normal_prop_assignContext* SystemRDLParser::Local_property_assignmentContext::normal_prop_assign() {
  return getRuleContext<SystemRDLParser::Normal_prop_assignContext>(0);
}

tree::TerminalNode* SystemRDLParser::Local_property_assignmentContext::DEFAULT_kw() {
  return getToken(SystemRDLParser::DEFAULT_kw, 0);
}

SystemRDLParser::Encode_prop_assignContext* SystemRDLParser::Local_property_assignmentContext::encode_prop_assign() {
  return getRuleContext<SystemRDLParser::Encode_prop_assignContext>(0);
}

SystemRDLParser::Prop_mod_assignContext* SystemRDLParser::Local_property_assignmentContext::prop_mod_assign() {
  return getRuleContext<SystemRDLParser::Prop_mod_assignContext>(0);
}


size_t SystemRDLParser::Local_property_assignmentContext::getRuleIndex() const {
  return SystemRDLParser::RuleLocal_property_assignment;
}


antlrcpp::Any SystemRDLParser::Local_property_assignmentContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitLocal_property_assignment(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Local_property_assignmentContext* SystemRDLParser::local_property_assignment() {
  Local_property_assignmentContext *_localctx = _tracker.createInstance<Local_property_assignmentContext>(_ctx, getState());
  enterRule(_localctx, 100, SystemRDLParser::RuleLocal_property_assignment);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    setState(571);
    _errHandler->sync(this);
    switch (getInterpreter<atn::ParserATNSimulator>()->adaptivePredict(_input, 45, _ctx)) {
    case 1: {
      enterOuterAlt(_localctx, 1);
      setState(560);
      _errHandler->sync(this);

      _la = _input->LA(1);
      if (_la == SystemRDLParser::DEFAULT_kw) {
        setState(559);
        match(SystemRDLParser::DEFAULT_kw);
      }
      setState(562);
      normal_prop_assign();
      break;
    }

    case 2: {
      enterOuterAlt(_localctx, 2);
      setState(564);
      _errHandler->sync(this);

      _la = _input->LA(1);
      if (_la == SystemRDLParser::DEFAULT_kw) {
        setState(563);
        match(SystemRDLParser::DEFAULT_kw);
      }
      setState(566);
      encode_prop_assign();
      break;
    }

    case 3: {
      enterOuterAlt(_localctx, 3);
      setState(568);
      _errHandler->sync(this);

      _la = _input->LA(1);
      if (_la == SystemRDLParser::DEFAULT_kw) {
        setState(567);
        match(SystemRDLParser::DEFAULT_kw);
      }
      setState(570);
      prop_mod_assign();
      break;
    }

    default:
      break;
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Dynamic_property_assignmentContext ------------------------------------------------------------------

SystemRDLParser::Dynamic_property_assignmentContext::Dynamic_property_assignmentContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::Instance_refContext* SystemRDLParser::Dynamic_property_assignmentContext::instance_ref() {
  return getRuleContext<SystemRDLParser::Instance_refContext>(0);
}

SystemRDLParser::Normal_prop_assignContext* SystemRDLParser::Dynamic_property_assignmentContext::normal_prop_assign() {
  return getRuleContext<SystemRDLParser::Normal_prop_assignContext>(0);
}

SystemRDLParser::Encode_prop_assignContext* SystemRDLParser::Dynamic_property_assignmentContext::encode_prop_assign() {
  return getRuleContext<SystemRDLParser::Encode_prop_assignContext>(0);
}


size_t SystemRDLParser::Dynamic_property_assignmentContext::getRuleIndex() const {
  return SystemRDLParser::RuleDynamic_property_assignment;
}


antlrcpp::Any SystemRDLParser::Dynamic_property_assignmentContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitDynamic_property_assignment(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Dynamic_property_assignmentContext* SystemRDLParser::dynamic_property_assignment() {
  Dynamic_property_assignmentContext *_localctx = _tracker.createInstance<Dynamic_property_assignmentContext>(_ctx, getState());
  enterRule(_localctx, 102, SystemRDLParser::RuleDynamic_property_assignment);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    setState(581);
    _errHandler->sync(this);
    switch (getInterpreter<atn::ParserATNSimulator>()->adaptivePredict(_input, 46, _ctx)) {
    case 1: {
      enterOuterAlt(_localctx, 1);
      setState(573);
      instance_ref();
      setState(574);
      match(SystemRDLParser::T__14);
      setState(575);
      normal_prop_assign();
      break;
    }

    case 2: {
      enterOuterAlt(_localctx, 2);
      setState(577);
      instance_ref();
      setState(578);
      match(SystemRDLParser::T__14);
      setState(579);
      encode_prop_assign();
      break;
    }

    default:
      break;
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Normal_prop_assignContext ------------------------------------------------------------------

SystemRDLParser::Normal_prop_assignContext::Normal_prop_assignContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::Prop_keywordContext* SystemRDLParser::Normal_prop_assignContext::prop_keyword() {
  return getRuleContext<SystemRDLParser::Prop_keywordContext>(0);
}

tree::TerminalNode* SystemRDLParser::Normal_prop_assignContext::ID() {
  return getToken(SystemRDLParser::ID, 0);
}

tree::TerminalNode* SystemRDLParser::Normal_prop_assignContext::ASSIGN() {
  return getToken(SystemRDLParser::ASSIGN, 0);
}

SystemRDLParser::Prop_assignment_rhsContext* SystemRDLParser::Normal_prop_assignContext::prop_assignment_rhs() {
  return getRuleContext<SystemRDLParser::Prop_assignment_rhsContext>(0);
}


size_t SystemRDLParser::Normal_prop_assignContext::getRuleIndex() const {
  return SystemRDLParser::RuleNormal_prop_assign;
}


antlrcpp::Any SystemRDLParser::Normal_prop_assignContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitNormal_prop_assign(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Normal_prop_assignContext* SystemRDLParser::normal_prop_assign() {
  Normal_prop_assignContext *_localctx = _tracker.createInstance<Normal_prop_assignContext>(_ctx, getState());
  enterRule(_localctx, 104, SystemRDLParser::RuleNormal_prop_assign);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(585);
    _errHandler->sync(this);
    switch (_input->LA(1)) {
      case SystemRDLParser::RCLR_kw:
      case SystemRDLParser::RSET_kw:
      case SystemRDLParser::WOSET_kw:
      case SystemRDLParser::WOCLR_kw:
      case SystemRDLParser::HW_kw:
      case SystemRDLParser::SW_kw: {
        setState(583);
        prop_keyword();
        break;
      }

      case SystemRDLParser::ID: {
        setState(584);
        match(SystemRDLParser::ID);
        break;
      }

    default:
      throw NoViableAltException(this);
    }
    setState(589);
    _errHandler->sync(this);

    _la = _input->LA(1);
    if (_la == SystemRDLParser::ASSIGN) {
      setState(587);
      match(SystemRDLParser::ASSIGN);
      setState(588);
      prop_assignment_rhs();
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Encode_prop_assignContext ------------------------------------------------------------------

SystemRDLParser::Encode_prop_assignContext::Encode_prop_assignContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Encode_prop_assignContext::ENCODE_kw() {
  return getToken(SystemRDLParser::ENCODE_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Encode_prop_assignContext::ASSIGN() {
  return getToken(SystemRDLParser::ASSIGN, 0);
}

tree::TerminalNode* SystemRDLParser::Encode_prop_assignContext::ID() {
  return getToken(SystemRDLParser::ID, 0);
}


size_t SystemRDLParser::Encode_prop_assignContext::getRuleIndex() const {
  return SystemRDLParser::RuleEncode_prop_assign;
}


antlrcpp::Any SystemRDLParser::Encode_prop_assignContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitEncode_prop_assign(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Encode_prop_assignContext* SystemRDLParser::encode_prop_assign() {
  Encode_prop_assignContext *_localctx = _tracker.createInstance<Encode_prop_assignContext>(_ctx, getState());
  enterRule(_localctx, 106, SystemRDLParser::RuleEncode_prop_assign);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(591);
    match(SystemRDLParser::ENCODE_kw);
    setState(592);
    match(SystemRDLParser::ASSIGN);
    setState(593);
    match(SystemRDLParser::ID);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Prop_mod_assignContext ------------------------------------------------------------------

SystemRDLParser::Prop_mod_assignContext::Prop_mod_assignContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::Prop_modContext* SystemRDLParser::Prop_mod_assignContext::prop_mod() {
  return getRuleContext<SystemRDLParser::Prop_modContext>(0);
}

tree::TerminalNode* SystemRDLParser::Prop_mod_assignContext::ID() {
  return getToken(SystemRDLParser::ID, 0);
}


size_t SystemRDLParser::Prop_mod_assignContext::getRuleIndex() const {
  return SystemRDLParser::RuleProp_mod_assign;
}


antlrcpp::Any SystemRDLParser::Prop_mod_assignContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitProp_mod_assign(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Prop_mod_assignContext* SystemRDLParser::prop_mod_assign() {
  Prop_mod_assignContext *_localctx = _tracker.createInstance<Prop_mod_assignContext>(_ctx, getState());
  enterRule(_localctx, 108, SystemRDLParser::RuleProp_mod_assign);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(595);
    prop_mod();
    setState(596);
    match(SystemRDLParser::ID);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Prop_assignment_rhsContext ------------------------------------------------------------------

SystemRDLParser::Prop_assignment_rhsContext::Prop_assignment_rhsContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::Precedencetype_literalContext* SystemRDLParser::Prop_assignment_rhsContext::precedencetype_literal() {
  return getRuleContext<SystemRDLParser::Precedencetype_literalContext>(0);
}

SystemRDLParser::ExprContext* SystemRDLParser::Prop_assignment_rhsContext::expr() {
  return getRuleContext<SystemRDLParser::ExprContext>(0);
}


size_t SystemRDLParser::Prop_assignment_rhsContext::getRuleIndex() const {
  return SystemRDLParser::RuleProp_assignment_rhs;
}


antlrcpp::Any SystemRDLParser::Prop_assignment_rhsContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitProp_assignment_rhs(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Prop_assignment_rhsContext* SystemRDLParser::prop_assignment_rhs() {
  Prop_assignment_rhsContext *_localctx = _tracker.createInstance<Prop_assignment_rhsContext>(_ctx, getState());
  enterRule(_localctx, 110, SystemRDLParser::RuleProp_assignment_rhs);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    setState(600);
    _errHandler->sync(this);
    switch (getInterpreter<atn::ParserATNSimulator>()->adaptivePredict(_input, 49, _ctx)) {
    case 1: {
      enterOuterAlt(_localctx, 1);
      setState(598);
      precedencetype_literal();
      break;
    }

    case 2: {
      enterOuterAlt(_localctx, 2);
      setState(599);
      expr(0);
      break;
    }

    default:
      break;
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Prop_keywordContext ------------------------------------------------------------------

SystemRDLParser::Prop_keywordContext::Prop_keywordContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Prop_keywordContext::SW_kw() {
  return getToken(SystemRDLParser::SW_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Prop_keywordContext::HW_kw() {
  return getToken(SystemRDLParser::HW_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Prop_keywordContext::RCLR_kw() {
  return getToken(SystemRDLParser::RCLR_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Prop_keywordContext::RSET_kw() {
  return getToken(SystemRDLParser::RSET_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Prop_keywordContext::WOCLR_kw() {
  return getToken(SystemRDLParser::WOCLR_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Prop_keywordContext::WOSET_kw() {
  return getToken(SystemRDLParser::WOSET_kw, 0);
}


size_t SystemRDLParser::Prop_keywordContext::getRuleIndex() const {
  return SystemRDLParser::RuleProp_keyword;
}


antlrcpp::Any SystemRDLParser::Prop_keywordContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitProp_keyword(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Prop_keywordContext* SystemRDLParser::prop_keyword() {
  Prop_keywordContext *_localctx = _tracker.createInstance<Prop_keywordContext>(_ctx, getState());
  enterRule(_localctx, 112, SystemRDLParser::RuleProp_keyword);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(602);
    dynamic_cast<Prop_keywordContext *>(_localctx)->kw = _input->LT(1);
    _la = _input->LA(1);
    if (!((((_la & ~ 0x3fULL) == 0) &&
      ((1ULL << _la) & ((1ULL << SystemRDLParser::RCLR_kw)
      | (1ULL << SystemRDLParser::RSET_kw)
      | (1ULL << SystemRDLParser::WOSET_kw)
      | (1ULL << SystemRDLParser::WOCLR_kw)
      | (1ULL << SystemRDLParser::HW_kw)
      | (1ULL << SystemRDLParser::SW_kw))) != 0))) {
      dynamic_cast<Prop_keywordContext *>(_localctx)->kw = _errHandler->recoverInline(this);
    }
    else {
      _errHandler->reportMatch(this);
      consume();
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Prop_modContext ------------------------------------------------------------------

SystemRDLParser::Prop_modContext::Prop_modContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Prop_modContext::POSEDGE_kw() {
  return getToken(SystemRDLParser::POSEDGE_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Prop_modContext::NEGEDGE_kw() {
  return getToken(SystemRDLParser::NEGEDGE_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Prop_modContext::BOTHEDGE_kw() {
  return getToken(SystemRDLParser::BOTHEDGE_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Prop_modContext::LEVEL_kw() {
  return getToken(SystemRDLParser::LEVEL_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Prop_modContext::NONSTICKY_kw() {
  return getToken(SystemRDLParser::NONSTICKY_kw, 0);
}


size_t SystemRDLParser::Prop_modContext::getRuleIndex() const {
  return SystemRDLParser::RuleProp_mod;
}


antlrcpp::Any SystemRDLParser::Prop_modContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitProp_mod(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Prop_modContext* SystemRDLParser::prop_mod() {
  Prop_modContext *_localctx = _tracker.createInstance<Prop_modContext>(_ctx, getState());
  enterRule(_localctx, 114, SystemRDLParser::RuleProp_mod);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(604);
    dynamic_cast<Prop_modContext *>(_localctx)->kw = _input->LT(1);
    _la = _input->LA(1);
    if (!(((((_la - 62) & ~ 0x3fULL) == 0) &&
      ((1ULL << (_la - 62)) & ((1ULL << (SystemRDLParser::POSEDGE_kw - 62))
      | (1ULL << (SystemRDLParser::NEGEDGE_kw - 62))
      | (1ULL << (SystemRDLParser::BOTHEDGE_kw - 62))
      | (1ULL << (SystemRDLParser::LEVEL_kw - 62))
      | (1ULL << (SystemRDLParser::NONSTICKY_kw - 62)))) != 0))) {
      dynamic_cast<Prop_modContext *>(_localctx)->kw = _errHandler->recoverInline(this);
    }
    else {
      _errHandler->reportMatch(this);
      consume();
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Udp_defContext ------------------------------------------------------------------

SystemRDLParser::Udp_defContext::Udp_defContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Udp_defContext::PROPERTY_kw() {
  return getToken(SystemRDLParser::PROPERTY_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Udp_defContext::ID() {
  return getToken(SystemRDLParser::ID, 0);
}

std::vector<SystemRDLParser::Udp_attrContext *> SystemRDLParser::Udp_defContext::udp_attr() {
  return getRuleContexts<SystemRDLParser::Udp_attrContext>();
}

SystemRDLParser::Udp_attrContext* SystemRDLParser::Udp_defContext::udp_attr(size_t i) {
  return getRuleContext<SystemRDLParser::Udp_attrContext>(i);
}


size_t SystemRDLParser::Udp_defContext::getRuleIndex() const {
  return SystemRDLParser::RuleUdp_def;
}


antlrcpp::Any SystemRDLParser::Udp_defContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitUdp_def(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Udp_defContext* SystemRDLParser::udp_def() {
  Udp_defContext *_localctx = _tracker.createInstance<Udp_defContext>(_ctx, getState());
  enterRule(_localctx, 116, SystemRDLParser::RuleUdp_def);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(606);
    match(SystemRDLParser::PROPERTY_kw);
    setState(607);
    match(SystemRDLParser::ID);
    setState(608);
    match(SystemRDLParser::T__1);
    setState(612); 
    _errHandler->sync(this);
    _la = _input->LA(1);
    do {
      setState(609);
      udp_attr();
      setState(610);
      match(SystemRDLParser::T__0);
      setState(614); 
      _errHandler->sync(this);
      _la = _input->LA(1);
    } while (((((_la - 69) & ~ 0x3fULL) == 0) &&
      ((1ULL << (_la - 69)) & ((1ULL << (SystemRDLParser::COMPONENT_kw - 69))
      | (1ULL << (SystemRDLParser::CONSTRAINT_kw - 69))
      | (1ULL << (SystemRDLParser::DEFAULT_kw - 69))
      | (1ULL << (SystemRDLParser::TYPE_kw - 69)))) != 0));
    setState(616);
    match(SystemRDLParser::T__2);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Udp_attrContext ------------------------------------------------------------------

SystemRDLParser::Udp_attrContext::Udp_attrContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::Udp_typeContext* SystemRDLParser::Udp_attrContext::udp_type() {
  return getRuleContext<SystemRDLParser::Udp_typeContext>(0);
}

SystemRDLParser::Udp_usageContext* SystemRDLParser::Udp_attrContext::udp_usage() {
  return getRuleContext<SystemRDLParser::Udp_usageContext>(0);
}

SystemRDLParser::Udp_defaultContext* SystemRDLParser::Udp_attrContext::udp_default() {
  return getRuleContext<SystemRDLParser::Udp_defaultContext>(0);
}

SystemRDLParser::Udp_constraintContext* SystemRDLParser::Udp_attrContext::udp_constraint() {
  return getRuleContext<SystemRDLParser::Udp_constraintContext>(0);
}


size_t SystemRDLParser::Udp_attrContext::getRuleIndex() const {
  return SystemRDLParser::RuleUdp_attr;
}


antlrcpp::Any SystemRDLParser::Udp_attrContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitUdp_attr(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Udp_attrContext* SystemRDLParser::udp_attr() {
  Udp_attrContext *_localctx = _tracker.createInstance<Udp_attrContext>(_ctx, getState());
  enterRule(_localctx, 118, SystemRDLParser::RuleUdp_attr);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    setState(622);
    _errHandler->sync(this);
    switch (_input->LA(1)) {
      case SystemRDLParser::TYPE_kw: {
        enterOuterAlt(_localctx, 1);
        setState(618);
        udp_type();
        break;
      }

      case SystemRDLParser::COMPONENT_kw: {
        enterOuterAlt(_localctx, 2);
        setState(619);
        udp_usage();
        break;
      }

      case SystemRDLParser::DEFAULT_kw: {
        enterOuterAlt(_localctx, 3);
        setState(620);
        udp_default();
        break;
      }

      case SystemRDLParser::CONSTRAINT_kw: {
        enterOuterAlt(_localctx, 4);
        setState(621);
        udp_constraint();
        break;
      }

    default:
      throw NoViableAltException(this);
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Udp_typeContext ------------------------------------------------------------------

SystemRDLParser::Udp_typeContext::Udp_typeContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Udp_typeContext::TYPE_kw() {
  return getToken(SystemRDLParser::TYPE_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Udp_typeContext::ASSIGN() {
  return getToken(SystemRDLParser::ASSIGN, 0);
}

SystemRDLParser::Udp_data_typeContext* SystemRDLParser::Udp_typeContext::udp_data_type() {
  return getRuleContext<SystemRDLParser::Udp_data_typeContext>(0);
}

SystemRDLParser::Array_type_suffixContext* SystemRDLParser::Udp_typeContext::array_type_suffix() {
  return getRuleContext<SystemRDLParser::Array_type_suffixContext>(0);
}


size_t SystemRDLParser::Udp_typeContext::getRuleIndex() const {
  return SystemRDLParser::RuleUdp_type;
}


antlrcpp::Any SystemRDLParser::Udp_typeContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitUdp_type(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Udp_typeContext* SystemRDLParser::udp_type() {
  Udp_typeContext *_localctx = _tracker.createInstance<Udp_typeContext>(_ctx, getState());
  enterRule(_localctx, 120, SystemRDLParser::RuleUdp_type);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(624);
    match(SystemRDLParser::TYPE_kw);
    setState(625);
    match(SystemRDLParser::ASSIGN);
    setState(626);
    udp_data_type();
    setState(628);
    _errHandler->sync(this);

    _la = _input->LA(1);
    if (_la == SystemRDLParser::T__11) {
      setState(627);
      array_type_suffix();
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Udp_data_typeContext ------------------------------------------------------------------

SystemRDLParser::Udp_data_typeContext::Udp_data_typeContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::Component_type_primaryContext* SystemRDLParser::Udp_data_typeContext::component_type_primary() {
  return getRuleContext<SystemRDLParser::Component_type_primaryContext>(0);
}

tree::TerminalNode* SystemRDLParser::Udp_data_typeContext::REF_kw() {
  return getToken(SystemRDLParser::REF_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Udp_data_typeContext::NUMBER_kw() {
  return getToken(SystemRDLParser::NUMBER_kw, 0);
}

SystemRDLParser::Basic_data_typeContext* SystemRDLParser::Udp_data_typeContext::basic_data_type() {
  return getRuleContext<SystemRDLParser::Basic_data_typeContext>(0);
}


size_t SystemRDLParser::Udp_data_typeContext::getRuleIndex() const {
  return SystemRDLParser::RuleUdp_data_type;
}


antlrcpp::Any SystemRDLParser::Udp_data_typeContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitUdp_data_type(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Udp_data_typeContext* SystemRDLParser::udp_data_type() {
  Udp_data_typeContext *_localctx = _tracker.createInstance<Udp_data_typeContext>(_ctx, getState());
  enterRule(_localctx, 122, SystemRDLParser::RuleUdp_data_type);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    setState(633);
    _errHandler->sync(this);
    switch (_input->LA(1)) {
      case SystemRDLParser::ADDRMAP_kw:
      case SystemRDLParser::REGFILE_kw:
      case SystemRDLParser::REG_kw:
      case SystemRDLParser::FIELD_kw:
      case SystemRDLParser::MEM_kw: {
        enterOuterAlt(_localctx, 1);
        setState(630);
        component_type_primary();
        break;
      }

      case SystemRDLParser::NUMBER_kw:
      case SystemRDLParser::REF_kw: {
        enterOuterAlt(_localctx, 2);
        setState(631);
        dynamic_cast<Udp_data_typeContext *>(_localctx)->kw = _input->LT(1);
        _la = _input->LA(1);
        if (!(_la == SystemRDLParser::NUMBER_kw

        || _la == SystemRDLParser::REF_kw)) {
          dynamic_cast<Udp_data_typeContext *>(_localctx)->kw = _errHandler->recoverInline(this);
        }
        else {
          _errHandler->reportMatch(this);
          consume();
        }
        break;
      }

      case SystemRDLParser::BOOLEAN_kw:
      case SystemRDLParser::BIT_kw:
      case SystemRDLParser::LONGINT_kw:
      case SystemRDLParser::STRING_kw:
      case SystemRDLParser::ID: {
        enterOuterAlt(_localctx, 3);
        setState(632);
        basic_data_type();
        break;
      }

    default:
      throw NoViableAltException(this);
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Udp_usageContext ------------------------------------------------------------------

SystemRDLParser::Udp_usageContext::Udp_usageContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Udp_usageContext::COMPONENT_kw() {
  return getToken(SystemRDLParser::COMPONENT_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Udp_usageContext::ASSIGN() {
  return getToken(SystemRDLParser::ASSIGN, 0);
}

std::vector<SystemRDLParser::Udp_comp_typeContext *> SystemRDLParser::Udp_usageContext::udp_comp_type() {
  return getRuleContexts<SystemRDLParser::Udp_comp_typeContext>();
}

SystemRDLParser::Udp_comp_typeContext* SystemRDLParser::Udp_usageContext::udp_comp_type(size_t i) {
  return getRuleContext<SystemRDLParser::Udp_comp_typeContext>(i);
}

std::vector<tree::TerminalNode *> SystemRDLParser::Udp_usageContext::OR() {
  return getTokens(SystemRDLParser::OR);
}

tree::TerminalNode* SystemRDLParser::Udp_usageContext::OR(size_t i) {
  return getToken(SystemRDLParser::OR, i);
}


size_t SystemRDLParser::Udp_usageContext::getRuleIndex() const {
  return SystemRDLParser::RuleUdp_usage;
}


antlrcpp::Any SystemRDLParser::Udp_usageContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitUdp_usage(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Udp_usageContext* SystemRDLParser::udp_usage() {
  Udp_usageContext *_localctx = _tracker.createInstance<Udp_usageContext>(_ctx, getState());
  enterRule(_localctx, 124, SystemRDLParser::RuleUdp_usage);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(635);
    match(SystemRDLParser::COMPONENT_kw);
    setState(636);
    match(SystemRDLParser::ASSIGN);
    setState(637);
    udp_comp_type();
    setState(642);
    _errHandler->sync(this);
    _la = _input->LA(1);
    while (_la == SystemRDLParser::OR) {
      setState(638);
      match(SystemRDLParser::OR);
      setState(639);
      udp_comp_type();
      setState(644);
      _errHandler->sync(this);
      _la = _input->LA(1);
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Udp_comp_typeContext ------------------------------------------------------------------

SystemRDLParser::Udp_comp_typeContext::Udp_comp_typeContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::Component_typeContext* SystemRDLParser::Udp_comp_typeContext::component_type() {
  return getRuleContext<SystemRDLParser::Component_typeContext>(0);
}

tree::TerminalNode* SystemRDLParser::Udp_comp_typeContext::CONSTRAINT_kw() {
  return getToken(SystemRDLParser::CONSTRAINT_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Udp_comp_typeContext::ALL_kw() {
  return getToken(SystemRDLParser::ALL_kw, 0);
}


size_t SystemRDLParser::Udp_comp_typeContext::getRuleIndex() const {
  return SystemRDLParser::RuleUdp_comp_type;
}


antlrcpp::Any SystemRDLParser::Udp_comp_typeContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitUdp_comp_type(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Udp_comp_typeContext* SystemRDLParser::udp_comp_type() {
  Udp_comp_typeContext *_localctx = _tracker.createInstance<Udp_comp_typeContext>(_ctx, getState());
  enterRule(_localctx, 126, SystemRDLParser::RuleUdp_comp_type);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    setState(647);
    _errHandler->sync(this);
    switch (_input->LA(1)) {
      case SystemRDLParser::ADDRMAP_kw:
      case SystemRDLParser::REGFILE_kw:
      case SystemRDLParser::REG_kw:
      case SystemRDLParser::FIELD_kw:
      case SystemRDLParser::MEM_kw:
      case SystemRDLParser::SIGNAL_kw: {
        enterOuterAlt(_localctx, 1);
        setState(645);
        component_type();
        break;
      }

      case SystemRDLParser::ALL_kw:
      case SystemRDLParser::CONSTRAINT_kw: {
        enterOuterAlt(_localctx, 2);
        setState(646);
        dynamic_cast<Udp_comp_typeContext *>(_localctx)->kw = _input->LT(1);
        _la = _input->LA(1);
        if (!(_la == SystemRDLParser::ALL_kw

        || _la == SystemRDLParser::CONSTRAINT_kw)) {
          dynamic_cast<Udp_comp_typeContext *>(_localctx)->kw = _errHandler->recoverInline(this);
        }
        else {
          _errHandler->reportMatch(this);
          consume();
        }
        break;
      }

    default:
      throw NoViableAltException(this);
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Udp_defaultContext ------------------------------------------------------------------

SystemRDLParser::Udp_defaultContext::Udp_defaultContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Udp_defaultContext::DEFAULT_kw() {
  return getToken(SystemRDLParser::DEFAULT_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Udp_defaultContext::ASSIGN() {
  return getToken(SystemRDLParser::ASSIGN, 0);
}

SystemRDLParser::ExprContext* SystemRDLParser::Udp_defaultContext::expr() {
  return getRuleContext<SystemRDLParser::ExprContext>(0);
}


size_t SystemRDLParser::Udp_defaultContext::getRuleIndex() const {
  return SystemRDLParser::RuleUdp_default;
}


antlrcpp::Any SystemRDLParser::Udp_defaultContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitUdp_default(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Udp_defaultContext* SystemRDLParser::udp_default() {
  Udp_defaultContext *_localctx = _tracker.createInstance<Udp_defaultContext>(_ctx, getState());
  enterRule(_localctx, 128, SystemRDLParser::RuleUdp_default);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(649);
    match(SystemRDLParser::DEFAULT_kw);
    setState(650);
    match(SystemRDLParser::ASSIGN);
    setState(651);
    expr(0);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Udp_constraintContext ------------------------------------------------------------------

SystemRDLParser::Udp_constraintContext::Udp_constraintContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Udp_constraintContext::CONSTRAINT_kw() {
  return getToken(SystemRDLParser::CONSTRAINT_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Udp_constraintContext::ASSIGN() {
  return getToken(SystemRDLParser::ASSIGN, 0);
}

tree::TerminalNode* SystemRDLParser::Udp_constraintContext::COMPONENTWIDTH_kw() {
  return getToken(SystemRDLParser::COMPONENTWIDTH_kw, 0);
}


size_t SystemRDLParser::Udp_constraintContext::getRuleIndex() const {
  return SystemRDLParser::RuleUdp_constraint;
}


antlrcpp::Any SystemRDLParser::Udp_constraintContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitUdp_constraint(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Udp_constraintContext* SystemRDLParser::udp_constraint() {
  Udp_constraintContext *_localctx = _tracker.createInstance<Udp_constraintContext>(_ctx, getState());
  enterRule(_localctx, 130, SystemRDLParser::RuleUdp_constraint);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(653);
    match(SystemRDLParser::CONSTRAINT_kw);
    setState(654);
    match(SystemRDLParser::ASSIGN);
    setState(655);
    match(SystemRDLParser::COMPONENTWIDTH_kw);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Enum_defContext ------------------------------------------------------------------

SystemRDLParser::Enum_defContext::Enum_defContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Enum_defContext::ENUM_kw() {
  return getToken(SystemRDLParser::ENUM_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Enum_defContext::ID() {
  return getToken(SystemRDLParser::ID, 0);
}

std::vector<SystemRDLParser::Enum_entryContext *> SystemRDLParser::Enum_defContext::enum_entry() {
  return getRuleContexts<SystemRDLParser::Enum_entryContext>();
}

SystemRDLParser::Enum_entryContext* SystemRDLParser::Enum_defContext::enum_entry(size_t i) {
  return getRuleContext<SystemRDLParser::Enum_entryContext>(i);
}


size_t SystemRDLParser::Enum_defContext::getRuleIndex() const {
  return SystemRDLParser::RuleEnum_def;
}


antlrcpp::Any SystemRDLParser::Enum_defContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitEnum_def(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Enum_defContext* SystemRDLParser::enum_def() {
  Enum_defContext *_localctx = _tracker.createInstance<Enum_defContext>(_ctx, getState());
  enterRule(_localctx, 132, SystemRDLParser::RuleEnum_def);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(657);
    match(SystemRDLParser::ENUM_kw);
    setState(658);
    match(SystemRDLParser::ID);
    setState(659);
    match(SystemRDLParser::T__1);
    setState(663); 
    _errHandler->sync(this);
    _la = _input->LA(1);
    do {
      setState(660);
      enum_entry();
      setState(661);
      match(SystemRDLParser::T__0);
      setState(665); 
      _errHandler->sync(this);
      _la = _input->LA(1);
    } while (_la == SystemRDLParser::ID);
    setState(667);
    match(SystemRDLParser::T__2);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Enum_entryContext ------------------------------------------------------------------

SystemRDLParser::Enum_entryContext::Enum_entryContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Enum_entryContext::ID() {
  return getToken(SystemRDLParser::ID, 0);
}

tree::TerminalNode* SystemRDLParser::Enum_entryContext::ASSIGN() {
  return getToken(SystemRDLParser::ASSIGN, 0);
}

SystemRDLParser::ExprContext* SystemRDLParser::Enum_entryContext::expr() {
  return getRuleContext<SystemRDLParser::ExprContext>(0);
}

std::vector<SystemRDLParser::Enum_prop_assignContext *> SystemRDLParser::Enum_entryContext::enum_prop_assign() {
  return getRuleContexts<SystemRDLParser::Enum_prop_assignContext>();
}

SystemRDLParser::Enum_prop_assignContext* SystemRDLParser::Enum_entryContext::enum_prop_assign(size_t i) {
  return getRuleContext<SystemRDLParser::Enum_prop_assignContext>(i);
}


size_t SystemRDLParser::Enum_entryContext::getRuleIndex() const {
  return SystemRDLParser::RuleEnum_entry;
}


antlrcpp::Any SystemRDLParser::Enum_entryContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitEnum_entry(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Enum_entryContext* SystemRDLParser::enum_entry() {
  Enum_entryContext *_localctx = _tracker.createInstance<Enum_entryContext>(_ctx, getState());
  enterRule(_localctx, 134, SystemRDLParser::RuleEnum_entry);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(669);
    match(SystemRDLParser::ID);
    setState(672);
    _errHandler->sync(this);

    _la = _input->LA(1);
    if (_la == SystemRDLParser::ASSIGN) {
      setState(670);
      match(SystemRDLParser::ASSIGN);
      setState(671);
      expr(0);
    }
    setState(684);
    _errHandler->sync(this);

    _la = _input->LA(1);
    if (_la == SystemRDLParser::T__1) {
      setState(674);
      match(SystemRDLParser::T__1);
      setState(680);
      _errHandler->sync(this);
      _la = _input->LA(1);
      while (_la == SystemRDLParser::ID) {
        setState(675);
        enum_prop_assign();
        setState(676);
        match(SystemRDLParser::T__0);
        setState(682);
        _errHandler->sync(this);
        _la = _input->LA(1);
      }
      setState(683);
      match(SystemRDLParser::T__2);
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Enum_prop_assignContext ------------------------------------------------------------------

SystemRDLParser::Enum_prop_assignContext::Enum_prop_assignContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Enum_prop_assignContext::ID() {
  return getToken(SystemRDLParser::ID, 0);
}

tree::TerminalNode* SystemRDLParser::Enum_prop_assignContext::ASSIGN() {
  return getToken(SystemRDLParser::ASSIGN, 0);
}

SystemRDLParser::ExprContext* SystemRDLParser::Enum_prop_assignContext::expr() {
  return getRuleContext<SystemRDLParser::ExprContext>(0);
}


size_t SystemRDLParser::Enum_prop_assignContext::getRuleIndex() const {
  return SystemRDLParser::RuleEnum_prop_assign;
}


antlrcpp::Any SystemRDLParser::Enum_prop_assignContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitEnum_prop_assign(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Enum_prop_assignContext* SystemRDLParser::enum_prop_assign() {
  Enum_prop_assignContext *_localctx = _tracker.createInstance<Enum_prop_assignContext>(_ctx, getState());
  enterRule(_localctx, 136, SystemRDLParser::RuleEnum_prop_assign);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(686);
    match(SystemRDLParser::ID);
    setState(687);
    match(SystemRDLParser::ASSIGN);
    setState(688);
    expr(0);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Struct_defContext ------------------------------------------------------------------

SystemRDLParser::Struct_defContext::Struct_defContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Struct_defContext::STRUCT_kw() {
  return getToken(SystemRDLParser::STRUCT_kw, 0);
}

std::vector<tree::TerminalNode *> SystemRDLParser::Struct_defContext::ID() {
  return getTokens(SystemRDLParser::ID);
}

tree::TerminalNode* SystemRDLParser::Struct_defContext::ID(size_t i) {
  return getToken(SystemRDLParser::ID, i);
}

tree::TerminalNode* SystemRDLParser::Struct_defContext::ABSTRACT_kw() {
  return getToken(SystemRDLParser::ABSTRACT_kw, 0);
}

std::vector<SystemRDLParser::Struct_elemContext *> SystemRDLParser::Struct_defContext::struct_elem() {
  return getRuleContexts<SystemRDLParser::Struct_elemContext>();
}

SystemRDLParser::Struct_elemContext* SystemRDLParser::Struct_defContext::struct_elem(size_t i) {
  return getRuleContext<SystemRDLParser::Struct_elemContext>(i);
}


size_t SystemRDLParser::Struct_defContext::getRuleIndex() const {
  return SystemRDLParser::RuleStruct_def;
}


antlrcpp::Any SystemRDLParser::Struct_defContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitStruct_def(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Struct_defContext* SystemRDLParser::struct_def() {
  Struct_defContext *_localctx = _tracker.createInstance<Struct_defContext>(_ctx, getState());
  enterRule(_localctx, 138, SystemRDLParser::RuleStruct_def);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(691);
    _errHandler->sync(this);

    _la = _input->LA(1);
    if (_la == SystemRDLParser::ABSTRACT_kw) {
      setState(690);
      match(SystemRDLParser::ABSTRACT_kw);
    }
    setState(693);
    match(SystemRDLParser::STRUCT_kw);
    setState(694);
    dynamic_cast<Struct_defContext *>(_localctx)->name = match(SystemRDLParser::ID);
    setState(697);
    _errHandler->sync(this);

    _la = _input->LA(1);
    if (_la == SystemRDLParser::T__9) {
      setState(695);
      match(SystemRDLParser::T__9);
      setState(696);
      dynamic_cast<Struct_defContext *>(_localctx)->base = match(SystemRDLParser::ID);
    }
    setState(699);
    match(SystemRDLParser::T__1);
    setState(705);
    _errHandler->sync(this);
    _la = _input->LA(1);
    while ((((_la & ~ 0x3fULL) == 0) &&
      ((1ULL << _la) & ((1ULL << SystemRDLParser::BOOLEAN_kw)
      | (1ULL << SystemRDLParser::BIT_kw)
      | (1ULL << SystemRDLParser::LONGINT_kw)
      | (1ULL << SystemRDLParser::STRING_kw)
      | (1ULL << SystemRDLParser::ACCESSTYPE_kw)
      | (1ULL << SystemRDLParser::ADDRESSINGTYPE_kw)
      | (1ULL << SystemRDLParser::ONREADTYPE_kw)
      | (1ULL << SystemRDLParser::ONWRITETYPE_kw)
      | (1ULL << SystemRDLParser::ADDRMAP_kw)
      | (1ULL << SystemRDLParser::REGFILE_kw)
      | (1ULL << SystemRDLParser::REG_kw)
      | (1ULL << SystemRDLParser::FIELD_kw)
      | (1ULL << SystemRDLParser::MEM_kw)
      | (1ULL << SystemRDLParser::SIGNAL_kw))) != 0) || _la == SystemRDLParser::ID) {
      setState(700);
      struct_elem();
      setState(701);
      match(SystemRDLParser::T__0);
      setState(707);
      _errHandler->sync(this);
      _la = _input->LA(1);
    }
    setState(708);
    match(SystemRDLParser::T__2);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Struct_elemContext ------------------------------------------------------------------

SystemRDLParser::Struct_elemContext::Struct_elemContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::Struct_typeContext* SystemRDLParser::Struct_elemContext::struct_type() {
  return getRuleContext<SystemRDLParser::Struct_typeContext>(0);
}

tree::TerminalNode* SystemRDLParser::Struct_elemContext::ID() {
  return getToken(SystemRDLParser::ID, 0);
}

SystemRDLParser::Array_type_suffixContext* SystemRDLParser::Struct_elemContext::array_type_suffix() {
  return getRuleContext<SystemRDLParser::Array_type_suffixContext>(0);
}


size_t SystemRDLParser::Struct_elemContext::getRuleIndex() const {
  return SystemRDLParser::RuleStruct_elem;
}


antlrcpp::Any SystemRDLParser::Struct_elemContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitStruct_elem(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Struct_elemContext* SystemRDLParser::struct_elem() {
  Struct_elemContext *_localctx = _tracker.createInstance<Struct_elemContext>(_ctx, getState());
  enterRule(_localctx, 140, SystemRDLParser::RuleStruct_elem);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(710);
    struct_type();
    setState(711);
    match(SystemRDLParser::ID);
    setState(713);
    _errHandler->sync(this);

    _la = _input->LA(1);
    if (_la == SystemRDLParser::T__11) {
      setState(712);
      array_type_suffix();
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Struct_typeContext ------------------------------------------------------------------

SystemRDLParser::Struct_typeContext::Struct_typeContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::Data_typeContext* SystemRDLParser::Struct_typeContext::data_type() {
  return getRuleContext<SystemRDLParser::Data_typeContext>(0);
}

SystemRDLParser::Component_typeContext* SystemRDLParser::Struct_typeContext::component_type() {
  return getRuleContext<SystemRDLParser::Component_typeContext>(0);
}


size_t SystemRDLParser::Struct_typeContext::getRuleIndex() const {
  return SystemRDLParser::RuleStruct_type;
}


antlrcpp::Any SystemRDLParser::Struct_typeContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitStruct_type(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Struct_typeContext* SystemRDLParser::struct_type() {
  Struct_typeContext *_localctx = _tracker.createInstance<Struct_typeContext>(_ctx, getState());
  enterRule(_localctx, 142, SystemRDLParser::RuleStruct_type);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    setState(717);
    _errHandler->sync(this);
    switch (_input->LA(1)) {
      case SystemRDLParser::BOOLEAN_kw:
      case SystemRDLParser::BIT_kw:
      case SystemRDLParser::LONGINT_kw:
      case SystemRDLParser::STRING_kw:
      case SystemRDLParser::ACCESSTYPE_kw:
      case SystemRDLParser::ADDRESSINGTYPE_kw:
      case SystemRDLParser::ONREADTYPE_kw:
      case SystemRDLParser::ONWRITETYPE_kw:
      case SystemRDLParser::ID: {
        enterOuterAlt(_localctx, 1);
        setState(715);
        data_type();
        break;
      }

      case SystemRDLParser::ADDRMAP_kw:
      case SystemRDLParser::REGFILE_kw:
      case SystemRDLParser::REG_kw:
      case SystemRDLParser::FIELD_kw:
      case SystemRDLParser::MEM_kw:
      case SystemRDLParser::SIGNAL_kw: {
        enterOuterAlt(_localctx, 2);
        setState(716);
        component_type();
        break;
      }

    default:
      throw NoViableAltException(this);
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Constraint_defContext ------------------------------------------------------------------

SystemRDLParser::Constraint_defContext::Constraint_defContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::Constraint_named_defContext* SystemRDLParser::Constraint_defContext::constraint_named_def() {
  return getRuleContext<SystemRDLParser::Constraint_named_defContext>(0);
}

SystemRDLParser::Constraint_instsContext* SystemRDLParser::Constraint_defContext::constraint_insts() {
  return getRuleContext<SystemRDLParser::Constraint_instsContext>(0);
}

SystemRDLParser::Constraint_anon_defContext* SystemRDLParser::Constraint_defContext::constraint_anon_def() {
  return getRuleContext<SystemRDLParser::Constraint_anon_defContext>(0);
}


size_t SystemRDLParser::Constraint_defContext::getRuleIndex() const {
  return SystemRDLParser::RuleConstraint_def;
}


antlrcpp::Any SystemRDLParser::Constraint_defContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitConstraint_def(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Constraint_defContext* SystemRDLParser::constraint_def() {
  Constraint_defContext *_localctx = _tracker.createInstance<Constraint_defContext>(_ctx, getState());
  enterRule(_localctx, 144, SystemRDLParser::RuleConstraint_def);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    setState(726);
    _errHandler->sync(this);
    switch (getInterpreter<atn::ParserATNSimulator>()->adaptivePredict(_input, 66, _ctx)) {
    case 1: {
      enterOuterAlt(_localctx, 1);
      setState(719);
      constraint_named_def();
      setState(721);
      _errHandler->sync(this);

      _la = _input->LA(1);
      if (_la == SystemRDLParser::ID) {
        setState(720);
        constraint_insts();
      }
      break;
    }

    case 2: {
      enterOuterAlt(_localctx, 2);
      setState(723);
      constraint_anon_def();
      setState(724);
      constraint_insts();
      break;
    }

    default:
      break;
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Constraint_named_defContext ------------------------------------------------------------------

SystemRDLParser::Constraint_named_defContext::Constraint_named_defContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Constraint_named_defContext::CONSTRAINT_kw() {
  return getToken(SystemRDLParser::CONSTRAINT_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Constraint_named_defContext::ID() {
  return getToken(SystemRDLParser::ID, 0);
}

SystemRDLParser::Constraint_bodyContext* SystemRDLParser::Constraint_named_defContext::constraint_body() {
  return getRuleContext<SystemRDLParser::Constraint_bodyContext>(0);
}


size_t SystemRDLParser::Constraint_named_defContext::getRuleIndex() const {
  return SystemRDLParser::RuleConstraint_named_def;
}


antlrcpp::Any SystemRDLParser::Constraint_named_defContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitConstraint_named_def(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Constraint_named_defContext* SystemRDLParser::constraint_named_def() {
  Constraint_named_defContext *_localctx = _tracker.createInstance<Constraint_named_defContext>(_ctx, getState());
  enterRule(_localctx, 146, SystemRDLParser::RuleConstraint_named_def);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(728);
    match(SystemRDLParser::CONSTRAINT_kw);
    setState(729);
    match(SystemRDLParser::ID);
    setState(730);
    constraint_body();
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Constraint_anon_defContext ------------------------------------------------------------------

SystemRDLParser::Constraint_anon_defContext::Constraint_anon_defContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Constraint_anon_defContext::CONSTRAINT_kw() {
  return getToken(SystemRDLParser::CONSTRAINT_kw, 0);
}

SystemRDLParser::Constraint_bodyContext* SystemRDLParser::Constraint_anon_defContext::constraint_body() {
  return getRuleContext<SystemRDLParser::Constraint_bodyContext>(0);
}


size_t SystemRDLParser::Constraint_anon_defContext::getRuleIndex() const {
  return SystemRDLParser::RuleConstraint_anon_def;
}


antlrcpp::Any SystemRDLParser::Constraint_anon_defContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitConstraint_anon_def(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Constraint_anon_defContext* SystemRDLParser::constraint_anon_def() {
  Constraint_anon_defContext *_localctx = _tracker.createInstance<Constraint_anon_defContext>(_ctx, getState());
  enterRule(_localctx, 148, SystemRDLParser::RuleConstraint_anon_def);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(732);
    match(SystemRDLParser::CONSTRAINT_kw);
    setState(733);
    constraint_body();
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Constraint_bodyContext ------------------------------------------------------------------

SystemRDLParser::Constraint_bodyContext::Constraint_bodyContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

std::vector<SystemRDLParser::Constraint_body_elemContext *> SystemRDLParser::Constraint_bodyContext::constraint_body_elem() {
  return getRuleContexts<SystemRDLParser::Constraint_body_elemContext>();
}

SystemRDLParser::Constraint_body_elemContext* SystemRDLParser::Constraint_bodyContext::constraint_body_elem(size_t i) {
  return getRuleContext<SystemRDLParser::Constraint_body_elemContext>(i);
}


size_t SystemRDLParser::Constraint_bodyContext::getRuleIndex() const {
  return SystemRDLParser::RuleConstraint_body;
}


antlrcpp::Any SystemRDLParser::Constraint_bodyContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitConstraint_body(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Constraint_bodyContext* SystemRDLParser::constraint_body() {
  Constraint_bodyContext *_localctx = _tracker.createInstance<Constraint_bodyContext>(_ctx, getState());
  enterRule(_localctx, 150, SystemRDLParser::RuleConstraint_body);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(735);
    match(SystemRDLParser::T__1);
    setState(741);
    _errHandler->sync(this);
    _la = _input->LA(1);
    while ((((_la & ~ 0x3fULL) == 0) &&
      ((1ULL << _la) & ((1ULL << SystemRDLParser::T__1)
      | (1ULL << SystemRDLParser::T__5)
      | (1ULL << SystemRDLParser::T__10)
      | (1ULL << SystemRDLParser::BOOLEAN_kw)
      | (1ULL << SystemRDLParser::BIT_kw)
      | (1ULL << SystemRDLParser::LONGINT_kw)
      | (1ULL << SystemRDLParser::TRUE_kw)
      | (1ULL << SystemRDLParser::FALSE_kw)
      | (1ULL << SystemRDLParser::NA_kw)
      | (1ULL << SystemRDLParser::RW_kw)
      | (1ULL << SystemRDLParser::WR_kw)
      | (1ULL << SystemRDLParser::R_kw)
      | (1ULL << SystemRDLParser::W_kw)
      | (1ULL << SystemRDLParser::RW1_kw)
      | (1ULL << SystemRDLParser::W1_kw)
      | (1ULL << SystemRDLParser::RCLR_kw)
      | (1ULL << SystemRDLParser::RSET_kw)
      | (1ULL << SystemRDLParser::RUSER_kw)
      | (1ULL << SystemRDLParser::WOSET_kw)
      | (1ULL << SystemRDLParser::WOCLR_kw)
      | (1ULL << SystemRDLParser::WOT_kw)
      | (1ULL << SystemRDLParser::WZS_kw)
      | (1ULL << SystemRDLParser::WZC_kw)
      | (1ULL << SystemRDLParser::WZT_kw)
      | (1ULL << SystemRDLParser::WCLR_kw)
      | (1ULL << SystemRDLParser::WSET_kw)
      | (1ULL << SystemRDLParser::WUSER_kw)
      | (1ULL << SystemRDLParser::COMPACT_kw)
      | (1ULL << SystemRDLParser::REGALIGN_kw)
      | (1ULL << SystemRDLParser::FULLALIGN_kw)
      | (1ULL << SystemRDLParser::HW_kw)
      | (1ULL << SystemRDLParser::SW_kw))) != 0) || ((((_la - 80) & ~ 0x3fULL) == 0) &&
      ((1ULL << (_la - 80)) & ((1ULL << (SystemRDLParser::THIS_kw - 80))
      | (1ULL << (SystemRDLParser::INT - 80))
      | (1ULL << (SystemRDLParser::HEX_INT - 80))
      | (1ULL << (SystemRDLParser::VLOG_INT - 80))
      | (1ULL << (SystemRDLParser::STRING - 80))
      | (1ULL << (SystemRDLParser::PLUS - 80))
      | (1ULL << (SystemRDLParser::MINUS - 80))
      | (1ULL << (SystemRDLParser::BNOT - 80))
      | (1ULL << (SystemRDLParser::NOT - 80))
      | (1ULL << (SystemRDLParser::NAND - 80))
      | (1ULL << (SystemRDLParser::AND - 80))
      | (1ULL << (SystemRDLParser::OR - 80))
      | (1ULL << (SystemRDLParser::NOR - 80))
      | (1ULL << (SystemRDLParser::XOR - 80))
      | (1ULL << (SystemRDLParser::XNOR - 80))
      | (1ULL << (SystemRDLParser::ID - 80)))) != 0)) {
      setState(736);
      constraint_body_elem();
      setState(737);
      match(SystemRDLParser::T__0);
      setState(743);
      _errHandler->sync(this);
      _la = _input->LA(1);
    }
    setState(744);
    match(SystemRDLParser::T__2);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Constraint_body_elemContext ------------------------------------------------------------------

SystemRDLParser::Constraint_body_elemContext::Constraint_body_elemContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::Constr_relationalContext* SystemRDLParser::Constraint_body_elemContext::constr_relational() {
  return getRuleContext<SystemRDLParser::Constr_relationalContext>(0);
}

SystemRDLParser::Constr_prop_assignContext* SystemRDLParser::Constraint_body_elemContext::constr_prop_assign() {
  return getRuleContext<SystemRDLParser::Constr_prop_assignContext>(0);
}

SystemRDLParser::Constr_inside_valuesContext* SystemRDLParser::Constraint_body_elemContext::constr_inside_values() {
  return getRuleContext<SystemRDLParser::Constr_inside_valuesContext>(0);
}

SystemRDLParser::Constr_inside_enumContext* SystemRDLParser::Constraint_body_elemContext::constr_inside_enum() {
  return getRuleContext<SystemRDLParser::Constr_inside_enumContext>(0);
}


size_t SystemRDLParser::Constraint_body_elemContext::getRuleIndex() const {
  return SystemRDLParser::RuleConstraint_body_elem;
}


antlrcpp::Any SystemRDLParser::Constraint_body_elemContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitConstraint_body_elem(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Constraint_body_elemContext* SystemRDLParser::constraint_body_elem() {
  Constraint_body_elemContext *_localctx = _tracker.createInstance<Constraint_body_elemContext>(_ctx, getState());
  enterRule(_localctx, 152, SystemRDLParser::RuleConstraint_body_elem);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    setState(750);
    _errHandler->sync(this);
    switch (getInterpreter<atn::ParserATNSimulator>()->adaptivePredict(_input, 68, _ctx)) {
    case 1: {
      enterOuterAlt(_localctx, 1);
      setState(746);
      constr_relational();
      break;
    }

    case 2: {
      enterOuterAlt(_localctx, 2);
      setState(747);
      constr_prop_assign();
      break;
    }

    case 3: {
      enterOuterAlt(_localctx, 3);
      setState(748);
      constr_inside_values();
      break;
    }

    case 4: {
      enterOuterAlt(_localctx, 4);
      setState(749);
      constr_inside_enum();
      break;
    }

    default:
      break;
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Constraint_instsContext ------------------------------------------------------------------

SystemRDLParser::Constraint_instsContext::Constraint_instsContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

std::vector<tree::TerminalNode *> SystemRDLParser::Constraint_instsContext::ID() {
  return getTokens(SystemRDLParser::ID);
}

tree::TerminalNode* SystemRDLParser::Constraint_instsContext::ID(size_t i) {
  return getToken(SystemRDLParser::ID, i);
}


size_t SystemRDLParser::Constraint_instsContext::getRuleIndex() const {
  return SystemRDLParser::RuleConstraint_insts;
}


antlrcpp::Any SystemRDLParser::Constraint_instsContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitConstraint_insts(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Constraint_instsContext* SystemRDLParser::constraint_insts() {
  Constraint_instsContext *_localctx = _tracker.createInstance<Constraint_instsContext>(_ctx, getState());
  enterRule(_localctx, 154, SystemRDLParser::RuleConstraint_insts);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(752);
    match(SystemRDLParser::ID);
    setState(757);
    _errHandler->sync(this);
    _la = _input->LA(1);
    while (_la == SystemRDLParser::T__3) {
      setState(753);
      match(SystemRDLParser::T__3);
      setState(754);
      match(SystemRDLParser::ID);
      setState(759);
      _errHandler->sync(this);
      _la = _input->LA(1);
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Constr_relationalContext ------------------------------------------------------------------

SystemRDLParser::Constr_relationalContext::Constr_relationalContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

std::vector<SystemRDLParser::ExprContext *> SystemRDLParser::Constr_relationalContext::expr() {
  return getRuleContexts<SystemRDLParser::ExprContext>();
}

SystemRDLParser::ExprContext* SystemRDLParser::Constr_relationalContext::expr(size_t i) {
  return getRuleContext<SystemRDLParser::ExprContext>(i);
}

tree::TerminalNode* SystemRDLParser::Constr_relationalContext::LT() {
  return getToken(SystemRDLParser::LT, 0);
}

tree::TerminalNode* SystemRDLParser::Constr_relationalContext::LEQ() {
  return getToken(SystemRDLParser::LEQ, 0);
}

tree::TerminalNode* SystemRDLParser::Constr_relationalContext::GT() {
  return getToken(SystemRDLParser::GT, 0);
}

tree::TerminalNode* SystemRDLParser::Constr_relationalContext::GEQ() {
  return getToken(SystemRDLParser::GEQ, 0);
}

tree::TerminalNode* SystemRDLParser::Constr_relationalContext::EQ() {
  return getToken(SystemRDLParser::EQ, 0);
}

tree::TerminalNode* SystemRDLParser::Constr_relationalContext::NEQ() {
  return getToken(SystemRDLParser::NEQ, 0);
}


size_t SystemRDLParser::Constr_relationalContext::getRuleIndex() const {
  return SystemRDLParser::RuleConstr_relational;
}


antlrcpp::Any SystemRDLParser::Constr_relationalContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitConstr_relational(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Constr_relationalContext* SystemRDLParser::constr_relational() {
  Constr_relationalContext *_localctx = _tracker.createInstance<Constr_relationalContext>(_ctx, getState());
  enterRule(_localctx, 156, SystemRDLParser::RuleConstr_relational);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(760);
    expr(0);
    setState(761);
    dynamic_cast<Constr_relationalContext *>(_localctx)->op = _input->LT(1);
    _la = _input->LA(1);
    if (!(((((_la - 114) & ~ 0x3fULL) == 0) &&
      ((1ULL << (_la - 114)) & ((1ULL << (SystemRDLParser::EQ - 114))
      | (1ULL << (SystemRDLParser::NEQ - 114))
      | (1ULL << (SystemRDLParser::LEQ - 114))
      | (1ULL << (SystemRDLParser::LT - 114))
      | (1ULL << (SystemRDLParser::GEQ - 114))
      | (1ULL << (SystemRDLParser::GT - 114)))) != 0))) {
      dynamic_cast<Constr_relationalContext *>(_localctx)->op = _errHandler->recoverInline(this);
    }
    else {
      _errHandler->reportMatch(this);
      consume();
    }
    setState(762);
    expr(0);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Constr_prop_assignContext ------------------------------------------------------------------

SystemRDLParser::Constr_prop_assignContext::Constr_prop_assignContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Constr_prop_assignContext::ID() {
  return getToken(SystemRDLParser::ID, 0);
}

tree::TerminalNode* SystemRDLParser::Constr_prop_assignContext::ASSIGN() {
  return getToken(SystemRDLParser::ASSIGN, 0);
}

SystemRDLParser::ExprContext* SystemRDLParser::Constr_prop_assignContext::expr() {
  return getRuleContext<SystemRDLParser::ExprContext>(0);
}


size_t SystemRDLParser::Constr_prop_assignContext::getRuleIndex() const {
  return SystemRDLParser::RuleConstr_prop_assign;
}


antlrcpp::Any SystemRDLParser::Constr_prop_assignContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitConstr_prop_assign(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Constr_prop_assignContext* SystemRDLParser::constr_prop_assign() {
  Constr_prop_assignContext *_localctx = _tracker.createInstance<Constr_prop_assignContext>(_ctx, getState());
  enterRule(_localctx, 158, SystemRDLParser::RuleConstr_prop_assign);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(764);
    match(SystemRDLParser::ID);
    setState(765);
    match(SystemRDLParser::ASSIGN);
    setState(766);
    expr(0);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Constr_inside_valuesContext ------------------------------------------------------------------

SystemRDLParser::Constr_inside_valuesContext::Constr_inside_valuesContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::Constr_lhsContext* SystemRDLParser::Constr_inside_valuesContext::constr_lhs() {
  return getRuleContext<SystemRDLParser::Constr_lhsContext>(0);
}

tree::TerminalNode* SystemRDLParser::Constr_inside_valuesContext::INSIDE_kw() {
  return getToken(SystemRDLParser::INSIDE_kw, 0);
}

std::vector<SystemRDLParser::Constr_inside_valueContext *> SystemRDLParser::Constr_inside_valuesContext::constr_inside_value() {
  return getRuleContexts<SystemRDLParser::Constr_inside_valueContext>();
}

SystemRDLParser::Constr_inside_valueContext* SystemRDLParser::Constr_inside_valuesContext::constr_inside_value(size_t i) {
  return getRuleContext<SystemRDLParser::Constr_inside_valueContext>(i);
}


size_t SystemRDLParser::Constr_inside_valuesContext::getRuleIndex() const {
  return SystemRDLParser::RuleConstr_inside_values;
}


antlrcpp::Any SystemRDLParser::Constr_inside_valuesContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitConstr_inside_values(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Constr_inside_valuesContext* SystemRDLParser::constr_inside_values() {
  Constr_inside_valuesContext *_localctx = _tracker.createInstance<Constr_inside_valuesContext>(_ctx, getState());
  enterRule(_localctx, 160, SystemRDLParser::RuleConstr_inside_values);
  size_t _la = 0;

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(768);
    constr_lhs();
    setState(769);
    match(SystemRDLParser::INSIDE_kw);
    setState(770);
    match(SystemRDLParser::T__1);
    setState(771);
    constr_inside_value();
    setState(776);
    _errHandler->sync(this);
    _la = _input->LA(1);
    while (_la == SystemRDLParser::T__3) {
      setState(772);
      match(SystemRDLParser::T__3);
      setState(773);
      constr_inside_value();
      setState(778);
      _errHandler->sync(this);
      _la = _input->LA(1);
    }
    setState(779);
    match(SystemRDLParser::T__2);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Constr_inside_enumContext ------------------------------------------------------------------

SystemRDLParser::Constr_inside_enumContext::Constr_inside_enumContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

SystemRDLParser::Constr_lhsContext* SystemRDLParser::Constr_inside_enumContext::constr_lhs() {
  return getRuleContext<SystemRDLParser::Constr_lhsContext>(0);
}

tree::TerminalNode* SystemRDLParser::Constr_inside_enumContext::INSIDE_kw() {
  return getToken(SystemRDLParser::INSIDE_kw, 0);
}

tree::TerminalNode* SystemRDLParser::Constr_inside_enumContext::ID() {
  return getToken(SystemRDLParser::ID, 0);
}


size_t SystemRDLParser::Constr_inside_enumContext::getRuleIndex() const {
  return SystemRDLParser::RuleConstr_inside_enum;
}


antlrcpp::Any SystemRDLParser::Constr_inside_enumContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitConstr_inside_enum(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Constr_inside_enumContext* SystemRDLParser::constr_inside_enum() {
  Constr_inside_enumContext *_localctx = _tracker.createInstance<Constr_inside_enumContext>(_ctx, getState());
  enterRule(_localctx, 162, SystemRDLParser::RuleConstr_inside_enum);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    enterOuterAlt(_localctx, 1);
    setState(781);
    constr_lhs();
    setState(782);
    match(SystemRDLParser::INSIDE_kw);
    setState(783);
    match(SystemRDLParser::ID);
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Constr_lhsContext ------------------------------------------------------------------

SystemRDLParser::Constr_lhsContext::Constr_lhsContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

tree::TerminalNode* SystemRDLParser::Constr_lhsContext::THIS_kw() {
  return getToken(SystemRDLParser::THIS_kw, 0);
}

SystemRDLParser::Instance_refContext* SystemRDLParser::Constr_lhsContext::instance_ref() {
  return getRuleContext<SystemRDLParser::Instance_refContext>(0);
}


size_t SystemRDLParser::Constr_lhsContext::getRuleIndex() const {
  return SystemRDLParser::RuleConstr_lhs;
}


antlrcpp::Any SystemRDLParser::Constr_lhsContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitConstr_lhs(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Constr_lhsContext* SystemRDLParser::constr_lhs() {
  Constr_lhsContext *_localctx = _tracker.createInstance<Constr_lhsContext>(_ctx, getState());
  enterRule(_localctx, 164, SystemRDLParser::RuleConstr_lhs);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    setState(787);
    _errHandler->sync(this);
    switch (_input->LA(1)) {
      case SystemRDLParser::THIS_kw: {
        enterOuterAlt(_localctx, 1);
        setState(785);
        match(SystemRDLParser::THIS_kw);
        break;
      }

      case SystemRDLParser::ID: {
        enterOuterAlt(_localctx, 2);
        setState(786);
        instance_ref();
        break;
      }

    default:
      throw NoViableAltException(this);
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

//----------------- Constr_inside_valueContext ------------------------------------------------------------------

SystemRDLParser::Constr_inside_valueContext::Constr_inside_valueContext(ParserRuleContext *parent, size_t invokingState)
  : ParserRuleContext(parent, invokingState) {
}

std::vector<SystemRDLParser::ExprContext *> SystemRDLParser::Constr_inside_valueContext::expr() {
  return getRuleContexts<SystemRDLParser::ExprContext>();
}

SystemRDLParser::ExprContext* SystemRDLParser::Constr_inside_valueContext::expr(size_t i) {
  return getRuleContext<SystemRDLParser::ExprContext>(i);
}


size_t SystemRDLParser::Constr_inside_valueContext::getRuleIndex() const {
  return SystemRDLParser::RuleConstr_inside_value;
}


antlrcpp::Any SystemRDLParser::Constr_inside_valueContext::accept(tree::ParseTreeVisitor *visitor) {
  if (auto parserVisitor = dynamic_cast<SystemRDLVisitor*>(visitor))
    return parserVisitor->visitConstr_inside_value(this);
  else
    return visitor->visitChildren(this);
}

SystemRDLParser::Constr_inside_valueContext* SystemRDLParser::constr_inside_value() {
  Constr_inside_valueContext *_localctx = _tracker.createInstance<Constr_inside_valueContext>(_ctx, getState());
  enterRule(_localctx, 166, SystemRDLParser::RuleConstr_inside_value);

#if __cplusplus > 201703L
  auto onExit = finally([=, this] {
#else
  auto onExit = finally([=] {
#endif
    exitRule();
  });
  try {
    setState(796);
    _errHandler->sync(this);
    switch (_input->LA(1)) {
      case SystemRDLParser::T__1:
      case SystemRDLParser::T__5:
      case SystemRDLParser::T__10:
      case SystemRDLParser::BOOLEAN_kw:
      case SystemRDLParser::BIT_kw:
      case SystemRDLParser::LONGINT_kw:
      case SystemRDLParser::TRUE_kw:
      case SystemRDLParser::FALSE_kw:
      case SystemRDLParser::NA_kw:
      case SystemRDLParser::RW_kw:
      case SystemRDLParser::WR_kw:
      case SystemRDLParser::R_kw:
      case SystemRDLParser::W_kw:
      case SystemRDLParser::RW1_kw:
      case SystemRDLParser::W1_kw:
      case SystemRDLParser::RCLR_kw:
      case SystemRDLParser::RSET_kw:
      case SystemRDLParser::RUSER_kw:
      case SystemRDLParser::WOSET_kw:
      case SystemRDLParser::WOCLR_kw:
      case SystemRDLParser::WOT_kw:
      case SystemRDLParser::WZS_kw:
      case SystemRDLParser::WZC_kw:
      case SystemRDLParser::WZT_kw:
      case SystemRDLParser::WCLR_kw:
      case SystemRDLParser::WSET_kw:
      case SystemRDLParser::WUSER_kw:
      case SystemRDLParser::COMPACT_kw:
      case SystemRDLParser::REGALIGN_kw:
      case SystemRDLParser::FULLALIGN_kw:
      case SystemRDLParser::HW_kw:
      case SystemRDLParser::SW_kw:
      case SystemRDLParser::INT:
      case SystemRDLParser::HEX_INT:
      case SystemRDLParser::VLOG_INT:
      case SystemRDLParser::STRING:
      case SystemRDLParser::PLUS:
      case SystemRDLParser::MINUS:
      case SystemRDLParser::BNOT:
      case SystemRDLParser::NOT:
      case SystemRDLParser::NAND:
      case SystemRDLParser::AND:
      case SystemRDLParser::OR:
      case SystemRDLParser::NOR:
      case SystemRDLParser::XOR:
      case SystemRDLParser::XNOR:
      case SystemRDLParser::ID: {
        enterOuterAlt(_localctx, 1);
        setState(789);
        dynamic_cast<Constr_inside_valueContext *>(_localctx)->val = expr(0);
        break;
      }

      case SystemRDLParser::T__11: {
        enterOuterAlt(_localctx, 2);
        setState(790);
        match(SystemRDLParser::T__11);
        setState(791);
        dynamic_cast<Constr_inside_valueContext *>(_localctx)->l_val = expr(0);
        setState(792);
        match(SystemRDLParser::T__9);
        setState(793);
        dynamic_cast<Constr_inside_valueContext *>(_localctx)->r_val = expr(0);
        setState(794);
        match(SystemRDLParser::T__12);
        break;
      }

    default:
      throw NoViableAltException(this);
    }
   
  }
  catch (RecognitionException &e) {
    _errHandler->reportError(this, e);
    _localctx->exception = std::current_exception();
    _errHandler->recover(this, _localctx->exception);
  }

  return _localctx;
}

bool SystemRDLParser::sempred(RuleContext *context, size_t ruleIndex, size_t predicateIndex) {
  switch (ruleIndex) {
    case 22: return exprSempred(dynamic_cast<ExprContext *>(context), predicateIndex);

  default:
    break;
  }
  return true;
}

bool SystemRDLParser::exprSempred(ExprContext *_localctx, size_t predicateIndex) {
  switch (predicateIndex) {
    case 0: return precpred(_ctx, 13);
    case 1: return precpred(_ctx, 12);
    case 2: return precpred(_ctx, 11);
    case 3: return precpred(_ctx, 10);
    case 4: return precpred(_ctx, 9);
    case 5: return precpred(_ctx, 8);
    case 6: return precpred(_ctx, 7);
    case 7: return precpred(_ctx, 6);
    case 8: return precpred(_ctx, 5);
    case 9: return precpred(_ctx, 4);
    case 10: return precpred(_ctx, 3);
    case 11: return precpred(_ctx, 2);

  default:
    break;
  }
  return true;
}

// Static vars and initialization.
std::vector<dfa::DFA> SystemRDLParser::_decisionToDFA;
atn::PredictionContextCache SystemRDLParser::_sharedContextCache;

// We own the ATN which in turn owns the ATN states.
atn::ATN SystemRDLParser::_atn;
std::vector<uint16_t> SystemRDLParser::_serializedATN;

std::vector<std::string> SystemRDLParser::_ruleNames = {
  "root", "root_elem", "component_def", "explicit_component_inst", "component_inst_alias", 
  "component_named_def", "component_anon_def", "component_body", "component_body_elem", 
  "component_insts", "component_inst", "field_inst_reset", "inst_addr_fixed", 
  "inst_addr_stride", "inst_addr_align", "component_inst_type", "component_type", 
  "component_type_primary", "param_def", "param_def_elem", "param_inst", 
  "param_assignment", "expr", "expr_primary", "concatenate", "replicate", 
  "paren_expr", "cast", "cast_width_expr", "range_suffix", "array_suffix", 
  "array_type_suffix", "data_type", "basic_data_type", "literal", "number", 
  "string_literal", "boolean_literal", "array_literal", "struct_literal", 
  "struct_kv", "enum_literal", "accesstype_literal", "onreadtype_literal", 
  "onwritetype_literal", "addressingtype_literal", "precedencetype_literal", 
  "instance_ref", "instance_ref_element", "prop_ref", "local_property_assignment", 
  "dynamic_property_assignment", "normal_prop_assign", "encode_prop_assign", 
  "prop_mod_assign", "prop_assignment_rhs", "prop_keyword", "prop_mod", 
  "udp_def", "udp_attr", "udp_type", "udp_data_type", "udp_usage", "udp_comp_type", 
  "udp_default", "udp_constraint", "enum_def", "enum_entry", "enum_prop_assign", 
  "struct_def", "struct_elem", "struct_type", "constraint_def", "constraint_named_def", 
  "constraint_anon_def", "constraint_body", "constraint_body_elem", "constraint_insts", 
  "constr_relational", "constr_prop_assign", "constr_inside_values", "constr_inside_enum", 
  "constr_lhs", "constr_inside_value"
};

std::vector<std::string> SystemRDLParser::_literalNames = {
  "", "';'", "'{'", "'}'", "','", "'#'", "'('", "')'", "'.'", "'\u003F'", 
  "':'", "'''", "'['", "']'", "'::'", "'->'", "", "", "'boolean'", "'bit'", 
  "'longint'", "'unsigned'", "'string'", "'accesstype'", "'addressingtype'", 
  "'onreadtype'", "'onwritetype'", "'alias'", "'external'", "'internal'", 
  "'addrmap'", "'regfile'", "'reg'", "'field'", "'mem'", "'signal'", "'true'", 
  "'false'", "'na'", "'rw'", "'wr'", "'r'", "'w'", "'rw1'", "'w1'", "'rclr'", 
  "'rset'", "'ruser'", "'woset'", "'woclr'", "'wot'", "'wzs'", "'wzc'", 
  "'wzt'", "'wclr'", "'wset'", "'wuser'", "'compact'", "'regalign'", "'fullalign'", 
  "'hw'", "'sw'", "'posedge'", "'negedge'", "'bothedge'", "'level'", "'nonsticky'", 
  "'abstract'", "'all'", "'component'", "'componentwidth'", "'constraint'", 
  "'default'", "'enum'", "'encode'", "'inside'", "'number'", "'property'", 
  "'ref'", "'struct'", "'this'", "'type'", "'alternate'", "'byte'", "'int'", 
  "'precedencetype'", "'real'", "'shortint'", "'shortreal'", "'signed'", 
  "'with'", "'within'", "", "", "", "", "'+'", "'-'", "'!'", "'~'", "'&&'", 
  "'~&'", "'&'", "'|'", "'||'", "'~|'", "'^'", "", "'<<'", "'>>'", "'*'", 
  "'**'", "'/'", "'%'", "'=='", "'='", "'!='", "'<='", "'<'", "'>='", "'>'", 
  "'@'", "'+='", "'%='"
};

std::vector<std::string> SystemRDLParser::_symbolicNames = {
  "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "SL_COMMENT", 
  "ML_COMMENT", "BOOLEAN_kw", "BIT_kw", "LONGINT_kw", "UNSIGNED_kw", "STRING_kw", 
  "ACCESSTYPE_kw", "ADDRESSINGTYPE_kw", "ONREADTYPE_kw", "ONWRITETYPE_kw", 
  "ALIAS_kw", "EXTERNAL_kw", "INTERNAL_kw", "ADDRMAP_kw", "REGFILE_kw", 
  "REG_kw", "FIELD_kw", "MEM_kw", "SIGNAL_kw", "TRUE_kw", "FALSE_kw", "NA_kw", 
  "RW_kw", "WR_kw", "R_kw", "W_kw", "RW1_kw", "W1_kw", "RCLR_kw", "RSET_kw", 
  "RUSER_kw", "WOSET_kw", "WOCLR_kw", "WOT_kw", "WZS_kw", "WZC_kw", "WZT_kw", 
  "WCLR_kw", "WSET_kw", "WUSER_kw", "COMPACT_kw", "REGALIGN_kw", "FULLALIGN_kw", 
  "HW_kw", "SW_kw", "POSEDGE_kw", "NEGEDGE_kw", "BOTHEDGE_kw", "LEVEL_kw", 
  "NONSTICKY_kw", "ABSTRACT_kw", "ALL_kw", "COMPONENT_kw", "COMPONENTWIDTH_kw", 
  "CONSTRAINT_kw", "DEFAULT_kw", "ENUM_kw", "ENCODE_kw", "INSIDE_kw", "NUMBER_kw", 
  "PROPERTY_kw", "REF_kw", "STRUCT_kw", "THIS_kw", "TYPE_kw", "ALTERNATE_kw", 
  "BYTE_kw", "INT_kw", "PRECEDENCETYPE_kw", "REAL_kw", "SHORTINT_kw", "SHORTREAL_kw", 
  "SIGNED_kw", "WITH_kw", "WITHIN_kw", "INT", "HEX_INT", "VLOG_INT", "STRING", 
  "PLUS", "MINUS", "BNOT", "NOT", "BAND", "NAND", "AND", "OR", "BOR", "NOR", 
  "XOR", "XNOR", "LSHIFT", "RSHIFT", "MULT", "EXP", "DIV", "MOD", "EQ", 
  "ASSIGN", "NEQ", "LEQ", "LT", "GEQ", "GT", "AT", "INC", "ALIGN", "WS", 
  "ID"
};

dfa::Vocabulary SystemRDLParser::_vocabulary(_literalNames, _symbolicNames);

std::vector<std::string> SystemRDLParser::_tokenNames;

SystemRDLParser::Initializer::Initializer() {
	for (size_t i = 0; i < _symbolicNames.size(); ++i) {
		std::string name = _vocabulary.getLiteralName(i);
		if (name.empty()) {
			name = _vocabulary.getSymbolicName(i);
		}

		if (name.empty()) {
			_tokenNames.push_back("<INVALID>");
		} else {
      _tokenNames.push_back(name);
    }
	}

  _serializedATN = {
    0x3, 0x608b, 0xa72a, 0x8133, 0xb9ed, 0x417c, 0x3be7, 0x7786, 0x5964, 
    0x3, 0x7f, 0x321, 0x4, 0x2, 0x9, 0x2, 0x4, 0x3, 0x9, 0x3, 0x4, 0x4, 
    0x9, 0x4, 0x4, 0x5, 0x9, 0x5, 0x4, 0x6, 0x9, 0x6, 0x4, 0x7, 0x9, 0x7, 
    0x4, 0x8, 0x9, 0x8, 0x4, 0x9, 0x9, 0x9, 0x4, 0xa, 0x9, 0xa, 0x4, 0xb, 
    0x9, 0xb, 0x4, 0xc, 0x9, 0xc, 0x4, 0xd, 0x9, 0xd, 0x4, 0xe, 0x9, 0xe, 
    0x4, 0xf, 0x9, 0xf, 0x4, 0x10, 0x9, 0x10, 0x4, 0x11, 0x9, 0x11, 0x4, 
    0x12, 0x9, 0x12, 0x4, 0x13, 0x9, 0x13, 0x4, 0x14, 0x9, 0x14, 0x4, 0x15, 
    0x9, 0x15, 0x4, 0x16, 0x9, 0x16, 0x4, 0x17, 0x9, 0x17, 0x4, 0x18, 0x9, 
    0x18, 0x4, 0x19, 0x9, 0x19, 0x4, 0x1a, 0x9, 0x1a, 0x4, 0x1b, 0x9, 0x1b, 
    0x4, 0x1c, 0x9, 0x1c, 0x4, 0x1d, 0x9, 0x1d, 0x4, 0x1e, 0x9, 0x1e, 0x4, 
    0x1f, 0x9, 0x1f, 0x4, 0x20, 0x9, 0x20, 0x4, 0x21, 0x9, 0x21, 0x4, 0x22, 
    0x9, 0x22, 0x4, 0x23, 0x9, 0x23, 0x4, 0x24, 0x9, 0x24, 0x4, 0x25, 0x9, 
    0x25, 0x4, 0x26, 0x9, 0x26, 0x4, 0x27, 0x9, 0x27, 0x4, 0x28, 0x9, 0x28, 
    0x4, 0x29, 0x9, 0x29, 0x4, 0x2a, 0x9, 0x2a, 0x4, 0x2b, 0x9, 0x2b, 0x4, 
    0x2c, 0x9, 0x2c, 0x4, 0x2d, 0x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3, 0xc, 0x5, 0xc, 0x115, 0xa, 0xc, 0x3, 0xc, 
    0x5, 0xc, 0x118, 0xa, 0xc, 0x3, 0xc, 0x5, 0xc, 0x11b, 0xa, 0xc, 0x3, 
    0xc, 0x5, 0xc, 0x11e, 0xa, 0xc, 0x3, 0xc, 0x5, 0xc, 0x121, 0xa, 0xc, 
    0x3, 0xd, 0x3, 0xd, 0x3, 0xd, 0x3, 0xe, 0x3, 0xe, 0x3, 0xe, 0x3, 0xf, 
    0x3, 0xf, 0x3, 0xf, 0x3, 0x10, 0x3, 0x10, 0x3, 0x10, 0x3, 0x11, 0x3, 
    0x11, 0x3, 0x12, 0x3, 0x12, 0x5, 0x12, 0x133, 0xa, 0x12, 0x3, 0x13, 
    0x3, 0x13, 0x3, 0x14, 0x3, 0x14, 0x3, 0x14, 0x3, 0x14, 0x3, 0x14, 0x7, 
    0x14, 0x13c, 0xa, 0x14, 0xc, 0x14, 0xe, 0x14, 0x13f, 0xb, 0x14, 0x3, 
    0x14, 0x3, 0x14, 0x3, 0x15, 0x3, 0x15, 0x3, 0x15, 0x5, 0x15, 0x146, 
    0xa, 0x15, 0x3, 0x15, 0x3, 0x15, 0x5, 0x15, 0x14a, 0xa, 0x15, 0x3, 0x16, 
    0x3, 0x16, 0x3, 0x16, 0x3, 0x16, 0x3, 0x16, 0x7, 0x16, 0x151, 0xa, 0x16, 
    0xc, 0x16, 0xe, 0x16, 0x154, 0xb, 0x16, 0x3, 0x16, 0x3, 0x16, 0x3, 0x17, 
    0x3, 0x17, 0x3, 0x17, 0x3, 0x17, 0x3, 0x17, 0x3, 0x17, 0x3, 0x18, 0x3, 
    0x18, 0x3, 0x18, 0x3, 0x18, 0x5, 0x18, 0x162, 0xa, 0x18, 0x3, 0x18, 
    0x3, 0x18, 0x3, 0x18, 0x3, 0x18, 0x3, 0x18, 0x3, 0x18, 0x3, 0x18, 0x3, 
    0x18, 0x3, 0x18, 0x3, 0x18, 0x3, 0x18, 0x3, 0x18, 0x3, 0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3, 0x21, 0x3, 0x21, 0x3, 0x21, 0x3, 0x22, 
    0x3, 0x22, 0x5, 0x22, 0x1d0, 0xa, 0x22, 0x3, 0x23, 0x3, 0x23, 0x5, 0x23, 
    0x1d4, 0xa, 0x23, 0x3, 0x23, 0x5, 0x23, 0x1d7, 0xa, 0x23, 0x3, 0x24, 
    0x3, 0x24, 0x3, 0x24, 0x3, 0x24, 0x3, 0x24, 0x3, 0x24, 0x3, 0x24, 0x3, 
    0x24, 0x3, 0x24, 0x5, 0x24, 0x1e2, 0xa, 0x24, 0x3, 0x25, 0x3, 0x25, 
    0x3, 0x25, 0x5, 0x25, 0x1e7, 0xa, 0x25, 0x3, 0x26, 0x3, 0x26, 0x3, 0x27, 
    0x3, 0x27, 0x3, 0x28, 0x3, 0x28, 0x3, 0x28, 0x3, 0x28, 0x3, 0x28, 0x3, 
    0x28, 0x3, 0x28, 0x3, 0x28, 0x7, 0x28, 0x1f5, 0xa, 0x28, 0xc, 0x28, 
    0xe, 0x28, 0x1f8, 0xb, 0x28, 0x3, 0x28, 0x3, 0x28, 0x5, 0x28, 0x1fc, 
    0xa, 0x28, 0x3, 0x29, 0x3, 0x29, 0x3, 0x29, 0x3, 0x29, 0x3, 0x29, 0x3, 
    0x29, 0x7, 0x29, 0x204, 0xa, 0x29, 0xc, 0x29, 0xe, 0x29, 0x207, 0xb, 
    0x29, 0x3, 0x29, 0x3, 0x29, 0x3, 0x2a, 0x3, 0x2a, 0x3, 0x2a, 0x3, 0x2a, 
    0x3, 0x2b, 0x3, 0x2b, 0x3, 0x2b, 0x3, 0x2b, 0x3, 0x2c, 0x3, 0x2c, 0x3, 
    0x2d, 0x3, 0x2d, 0x3, 0x2e, 0x3, 0x2e, 0x3, 0x2f, 0x3, 0x2f, 0x3, 0x30, 
    0x3, 0x30, 0x3, 0x31, 0x3, 0x31, 0x3, 0x31, 0x7, 0x31, 0x220, 0xa, 0x31, 
    0xc, 0x31, 0xe, 0x31, 0x223, 0xb, 0x31, 0x3, 0x32, 0x3, 0x32, 0x7, 0x32, 
    0x227, 0xa, 0x32, 0xc, 0x32, 0xe, 0x32, 0x22a, 0xb, 0x32, 0x3, 0x33, 
    0x3, 0x33, 0x3, 0x33, 0x3, 0x33, 0x5, 0x33, 0x230, 0xa, 0x33, 0x3, 0x34, 
    0x5, 0x34, 0x233, 0xa, 0x34, 0x3, 0x34, 0x3, 0x34, 0x5, 0x34, 0x237, 
    0xa, 0x34, 0x3, 0x34, 0x3, 0x34, 0x5, 0x34, 0x23b, 0xa, 0x34, 0x3, 0x34, 
    0x5, 0x34, 0x23e, 0xa, 0x34, 0x3, 0x35, 0x3, 0x35, 0x3, 0x35, 0x3, 0x35, 
    0x3, 0x35, 0x3, 0x35, 0x3, 0x35, 0x3, 0x35, 0x5, 0x35, 0x248, 0xa, 0x35, 
    0x3, 0x36, 0x3, 0x36, 0x5, 0x36, 0x24c, 0xa, 0x36, 0x3, 0x36, 0x3, 0x36, 
    0x5, 0x36, 0x250, 0xa, 0x36, 0x3, 0x37, 0x3, 0x37, 0x3, 0x37, 0x3, 0x37, 
    0x3, 0x38, 0x3, 0x38, 0x3, 0x38, 0x3, 0x39, 0x3, 0x39, 0x5, 0x39, 0x25b, 
    0xa, 0x39, 0x3, 0x3a, 0x3, 0x3a, 0x3, 0x3b, 0x3, 0x3b, 0x3, 0x3c, 0x3, 
    0x3c, 0x3, 0x3c, 0x3, 0x3c, 0x3, 0x3c, 0x3, 0x3c, 0x6, 0x3c, 0x267, 
    0xa, 0x3c, 0xd, 0x3c, 0xe, 0x3c, 0x268, 0x3, 0x3c, 0x3, 0x3c, 0x3, 0x3d, 
    0x3, 0x3d, 0x3, 0x3d, 0x3, 0x3d, 0x5, 0x3d, 0x271, 0xa, 0x3d, 0x3, 0x3e, 
    0x3, 0x3e, 0x3, 0x3e, 0x3, 0x3e, 0x5, 0x3e, 0x277, 0xa, 0x3e, 0x3, 0x3f, 
    0x3, 0x3f, 0x3, 0x3f, 0x5, 0x3f, 0x27c, 0xa, 0x3f, 0x3, 0x40, 0x3, 0x40, 
    0x3, 0x40, 0x3, 0x40, 0x3, 0x40, 0x7, 0x40, 0x283, 0xa, 0x40, 0xc, 0x40, 
    0xe, 0x40, 0x286, 0xb, 0x40, 0x3, 0x41, 0x3, 0x41, 0x5, 0x41, 0x28a, 
    0xa, 0x41, 0x3, 0x42, 0x3, 0x42, 0x3, 0x42, 0x3, 0x42, 0x3, 0x43, 0x3, 
    0x43, 0x3, 0x43, 0x3, 0x43, 0x3, 0x44, 0x3, 0x44, 0x3, 0x44, 0x3, 0x44, 
    0x3, 0x44, 0x3, 0x44, 0x6, 0x44, 0x29a, 0xa, 0x44, 0xd, 0x44, 0xe, 0x44, 
    0x29b, 0x3, 0x44, 0x3, 0x44, 0x3, 0x45, 0x3, 0x45, 0x3, 0x45, 0x5, 0x45, 
    0x2a3, 0xa, 0x45, 0x3, 0x45, 0x3, 0x45, 0x3, 0x45, 0x3, 0x45, 0x7, 0x45, 
    0x2a9, 0xa, 0x45, 0xc, 0x45, 0xe, 0x45, 0x2ac, 0xb, 0x45, 0x3, 0x45, 
    0x5, 0x45, 0x2af, 0xa, 0x45, 0x3, 0x46, 0x3, 0x46, 0x3, 0x46, 0x3, 0x46, 
    0x3, 0x47, 0x5, 0x47, 0x2b6, 0xa, 0x47, 0x3, 0x47, 0x3, 0x47, 0x3, 0x47, 
    0x3, 0x47, 0x5, 0x47, 0x2bc, 0xa, 0x47, 0x3, 0x47, 0x3, 0x47, 0x3, 0x47, 
    0x3, 0x47, 0x7, 0x47, 0x2c2, 0xa, 0x47, 0xc, 0x47, 0xe, 0x47, 0x2c5, 
    0xb, 0x47, 0x3, 0x47, 0x3, 0x47, 0x3, 0x48, 0x3, 0x48, 0x3, 0x48, 0x5, 
    0x48, 0x2cc, 0xa, 0x48, 0x3, 0x49, 0x3, 0x49, 0x5, 0x49, 0x2d0, 0xa, 
    0x49, 0x3, 0x4a, 0x3, 0x4a, 0x5, 0x4a, 0x2d4, 0xa, 0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, 0x2c, 0x2e, 0x30, 0x32, 0x34, 0x36, 
    0x38, 0x3a, 0x3c, 0x3e, 0x40, 0x42, 0x44, 0x46, 0x48, 0x4a, 0x4c, 0x4e, 
    0x50, 0x52, 0x54, 0x56, 0x58, 0x5a, 0x5c, 0x5e, 0x60, 0x62, 0x64, 0x66, 
    0x68, 0x6a, 0x6c, 0x6e, 0x70, 0x72, 0x74, 0x76, 0x78, 0x7a, 0x7c, 0x7e, 
    0x80, 0x82, 0x84, 0x86, 0x88, 0x8a, 0x8c, 0x8e, 0x90, 0x92, 0x94, 0x96, 
    0x98, 0x9a, 0x9c, 0x9e, 0xa0, 0xa2, 0xa4, 0xa6, 0xa8, 0x2, 0x1a, 0x3, 
    0x2, 0x1e, 0x1f, 0x3, 0x2, 0x20, 0x24, 0x5, 0x2, 0x62, 0x65, 0x67, 0x69, 
    0x6b, 0x6d, 0x4, 0x2, 0x70, 0x70, 0x72, 0x73, 0x3, 0x2, 0x62, 0x63, 
    0x3, 0x2, 0x6e, 0x6f, 0x3, 0x2, 0x77, 0x7a, 0x4, 0x2, 0x74, 0x74, 0x76, 
    0x76, 0x3, 0x2, 0x6c, 0x6d, 0x3, 0x2, 0x14, 0x16, 0x3, 0x2, 0x19, 0x1c, 
    0x3, 0x2, 0x15, 0x16, 0x5, 0x2, 0x14, 0x14, 0x18, 0x18, 0x7f, 0x7f, 
    0x3, 0x2, 0x26, 0x27, 0x3, 0x2, 0x28, 0x2e, 0x3, 0x2, 0x2f, 0x31, 0x3, 
    0x2, 0x32, 0x3a, 0x3, 0x2, 0x3b, 0x3d, 0x3, 0x2, 0x3e, 0x3f, 0x5, 0x2, 
    0x2f, 0x30, 0x32, 0x33, 0x3e, 0x3f, 0x3, 0x2, 0x40, 0x44, 0x4, 0x2, 
    0x4e, 0x4e, 0x50, 0x50, 0x4, 0x2, 0x46, 0x46, 0x49, 0x49, 0x4, 0x2, 
    0x74, 0x74, 0x76, 0x7a, 0x2, 0x342, 0x2, 0xaf, 0x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 0x2, 0x100, 0xfb, 0x3, 0x2, 0x2, 0x2, 
    0x100, 0xfc, 0x3, 0x2, 0x2, 0x2, 0x100, 0xfd, 0x3, 0x2, 0x2, 0x2, 0x100, 
    0xfe, 0x3, 0x2, 0x2, 0x2, 0x100, 0xff, 0x3, 0x2, 0x2, 0x2, 0x101, 0x13, 
    0x3, 0x2, 0x2, 0x2, 0x102, 0x104, 0x5, 0x2a, 0x16, 0x2, 0x103, 0x102, 
    0x3, 0x2, 0x2, 0x2, 0x103, 0x104, 0x3, 0x2, 0x2, 0x2, 0x104, 0x105, 
    0x3, 0x2, 0x2, 0x2, 0x105, 0x10a, 0x5, 0x16, 0xc, 0x2, 0x106, 0x107, 
    0x7, 0x6, 0x2, 0x2, 0x107, 0x109, 0x5, 0x16, 0xc, 0x2, 0x108, 0x106, 
    0x3, 0x2, 0x2, 0x2, 0x109, 0x10c, 0x3, 0x2, 0x2, 0x2, 0x10a, 0x108, 
    0x3, 0x2, 0x2, 0x2, 0x10a, 0x10b, 0x3, 0x2, 0x2, 0x2, 0x10b, 0x15, 0x3, 
    0x2, 0x2, 0x2, 0x10c, 0x10a, 0x3, 0x2, 0x2, 0x2, 0x10d, 0x114, 0x7, 
    0x7f, 0x2, 0x2, 0x10e, 0x110, 0x5, 0x3e, 0x20, 0x2, 0x10f, 0x10e, 0x3, 
    0x2, 0x2, 0x2, 0x110, 0x111, 0x3, 0x2, 0x2, 0x2, 0x111, 0x10f, 0x3, 
    0x2, 0x2, 0x2, 0x111, 0x112, 0x3, 0x2, 0x2, 0x2, 0x112, 0x115, 0x3, 
    0x2, 0x2, 0x2, 0x113, 0x115, 0x5, 0x3c, 0x1f, 0x2, 0x114, 0x10f, 0x3, 
    0x2, 0x2, 0x2, 0x114, 0x113, 0x3, 0x2, 0x2, 0x2, 0x114, 0x115, 0x3, 
    0x2, 0x2, 0x2, 0x115, 0x117, 0x3, 0x2, 0x2, 0x2, 0x116, 0x118, 0x5, 
    0x18, 0xd, 0x2, 0x117, 0x116, 0x3, 0x2, 0x2, 0x2, 0x117, 0x118, 0x3, 
    0x2, 0x2, 0x2, 0x118, 0x11a, 0x3, 0x2, 0x2, 0x2, 0x119, 0x11b, 0x5, 
    0x1a, 0xe, 0x2, 0x11a, 0x119, 0x3, 0x2, 0x2, 0x2, 0x11a, 0x11b, 0x3, 
    0x2, 0x2, 0x2, 0x11b, 0x11d, 0x3, 0x2, 0x2, 0x2, 0x11c, 0x11e, 0x5, 
    0x1c, 0xf, 0x2, 0x11d, 0x11c, 0x3, 0x2, 0x2, 0x2, 0x11d, 0x11e, 0x3, 
    0x2, 0x2, 0x2, 0x11e, 0x120, 0x3, 0x2, 0x2, 0x2, 0x11f, 0x121, 0x5, 
    0x1e, 0x10, 0x2, 0x120, 0x11f, 0x3, 0x2, 0x2, 0x2, 0x120, 0x121, 0x3, 
    0x2, 0x2, 0x2, 0x121, 0x17, 0x3, 0x2, 0x2, 0x2, 0x122, 0x123, 0x7, 0x75, 
    0x2, 0x2, 0x123, 0x124, 0x5, 0x2e, 0x18, 0x2, 0x124, 0x19, 0x3, 0x2, 
    0x2, 0x2, 0x125, 0x126, 0x7, 0x7b, 0x2, 0x2, 0x126, 0x127, 0x5, 0x2e, 
    0x18, 0x2, 0x127, 0x1b, 0x3, 0x2, 0x2, 0x2, 0x128, 0x129, 0x7, 0x7c, 
    0x2, 0x2, 0x129, 0x12a, 0x5, 0x2e, 0x18, 0x2, 0x12a, 0x1d, 0x3, 0x2, 
    0x2, 0x2, 0x12b, 0x12c, 0x7, 0x7d, 0x2, 0x2, 0x12c, 0x12d, 0x5, 0x2e, 
    0x18, 0x2, 0x12d, 0x1f, 0x3, 0x2, 0x2, 0x2, 0x12e, 0x12f, 0x9, 0x2, 
    0x2, 0x2, 0x12f, 0x21, 0x3, 0x2, 0x2, 0x2, 0x130, 0x133, 0x5, 0x24, 
    0x13, 0x2, 0x131, 0x133, 0x7, 0x25, 0x2, 0x2, 0x132, 0x130, 0x3, 0x2, 
    0x2, 0x2, 0x132, 0x131, 0x3, 0x2, 0x2, 0x2, 0x133, 0x23, 0x3, 0x2, 0x2, 
    0x2, 0x134, 0x135, 0x9, 0x3, 0x2, 0x2, 0x135, 0x25, 0x3, 0x2, 0x2, 0x2, 
    0x136, 0x137, 0x7, 0x7, 0x2, 0x2, 0x137, 0x138, 0x7, 0x8, 0x2, 0x2, 
    0x138, 0x13d, 0x5, 0x28, 0x15, 0x2, 0x139, 0x13a, 0x7, 0x6, 0x2, 0x2, 
    0x13a, 0x13c, 0x5, 0x28, 0x15, 0x2, 0x13b, 0x139, 0x3, 0x2, 0x2, 0x2, 
    0x13c, 0x13f, 0x3, 0x2, 0x2, 0x2, 0x13d, 0x13b, 0x3, 0x2, 0x2, 0x2, 
    0x13d, 0x13e, 0x3, 0x2, 0x2, 0x2, 0x13e, 0x140, 0x3, 0x2, 0x2, 0x2, 
    0x13f, 0x13d, 0x3, 0x2, 0x2, 0x2, 0x140, 0x141, 0x7, 0x9, 0x2, 0x2, 
    0x141, 0x27, 0x3, 0x2, 0x2, 0x2, 0x142, 0x143, 0x5, 0x42, 0x22, 0x2, 
    0x143, 0x145, 0x7, 0x7f, 0x2, 0x2, 0x144, 0x146, 0x5, 0x40, 0x21, 0x2, 
    0x145, 0x144, 0x3, 0x2, 0x2, 0x2, 0x145, 0x146, 0x3, 0x2, 0x2, 0x2, 
    0x146, 0x149, 0x3, 0x2, 0x2, 0x2, 0x147, 0x148, 0x7, 0x75, 0x2, 0x2, 
    0x148, 0x14a, 0x5, 0x2e, 0x18, 0x2, 0x149, 0x147, 0x3, 0x2, 0x2, 0x2, 
    0x149, 0x14a, 0x3, 0x2, 0x2, 0x2, 0x14a, 0x29, 0x3, 0x2, 0x2, 0x2, 0x14b, 
    0x14c, 0x7, 0x7, 0x2, 0x2, 0x14c, 0x14d, 0x7, 0x8, 0x2, 0x2, 0x14d, 
    0x152, 0x5, 0x2c, 0x17, 0x2, 0x14e, 0x14f, 0x7, 0x6, 0x2, 0x2, 0x14f, 
    0x151, 0x5, 0x2c, 0x17, 0x2, 0x150, 0x14e, 0x3, 0x2, 0x2, 0x2, 0x151, 
    0x154, 0x3, 0x2, 0x2, 0x2, 0x152, 0x150, 0x3, 0x2, 0x2, 0x2, 0x152, 
    0x153, 0x3, 0x2, 0x2, 0x2, 0x153, 0x155, 0x3, 0x2, 0x2, 0x2, 0x154, 
    0x152, 0x3, 0x2, 0x2, 0x2, 0x155, 0x156, 0x7, 0x9, 0x2, 0x2, 0x156, 
    0x2b, 0x3, 0x2, 0x2, 0x2, 0x157, 0x158, 0x7, 0xa, 0x2, 0x2, 0x158, 0x159, 
    0x7, 0x7f, 0x2, 0x2, 0x159, 0x15a, 0x7, 0x8, 0x2, 0x2, 0x15a, 0x15b, 
    0x5, 0x2e, 0x18, 0x2, 0x15b, 0x15c, 0x7, 0x9, 0x2, 0x2, 0x15c, 0x2d, 
    0x3, 0x2, 0x2, 0x2, 0x15d, 0x15e, 0x8, 0x18, 0x1, 0x2, 0x15e, 0x15f, 
    0x9, 0x4, 0x2, 0x2, 0x15f, 0x162, 0x5, 0x30, 0x19, 0x2, 0x160, 0x162, 
    0x5, 0x30, 0x19, 0x2, 0x161, 0x15d, 0x3, 0x2, 0x2, 0x2, 0x161, 0x160, 
    0x3, 0x2, 0x2, 0x2, 0x162, 0x18c, 0x3, 0x2, 0x2, 0x2, 0x163, 0x164, 
    0xc, 0xf, 0x2, 0x2, 0x164, 0x165, 0x7, 0x71, 0x2, 0x2, 0x165, 0x18b, 
    0x5, 0x2e, 0x18, 0x10, 0x166, 0x167, 0xc, 0xe, 0x2, 0x2, 0x167, 0x168, 
    0x9, 0x5, 0x2, 0x2, 0x168, 0x18b, 0x5, 0x2e, 0x18, 0xf, 0x169, 0x16a, 
    0xc, 0xd, 0x2, 0x2, 0x16a, 0x16b, 0x9, 0x6, 0x2, 0x2, 0x16b, 0x18b, 
    0x5, 0x2e, 0x18, 0xe, 0x16c, 0x16d, 0xc, 0xc, 0x2, 0x2, 0x16d, 0x16e, 
    0x9, 0x7, 0x2, 0x2, 0x16e, 0x18b, 0x5, 0x2e, 0x18, 0xd, 0x16f, 0x170, 
    0xc, 0xb, 0x2, 0x2, 0x170, 0x171, 0x9, 0x8, 0x2, 0x2, 0x171, 0x18b, 
    0x5, 0x2e, 0x18, 0xc, 0x172, 0x173, 0xc, 0xa, 0x2, 0x2, 0x173, 0x174, 
    0x9, 0x9, 0x2, 0x2, 0x174, 0x18b, 0x5, 0x2e, 0x18, 0xb, 0x175, 0x176, 
    0xc, 0x9, 0x2, 0x2, 0x176, 0x177, 0x7, 0x68, 0x2, 0x2, 0x177, 0x18b, 
    0x5, 0x2e, 0x18, 0xa, 0x178, 0x179, 0xc, 0x8, 0x2, 0x2, 0x179, 0x17a, 
    0x9, 0xa, 0x2, 0x2, 0x17a, 0x18b, 0x5, 0x2e, 0x18, 0x9, 0x17b, 0x17c, 
    0xc, 0x7, 0x2, 0x2, 0x17c, 0x17d, 0x7, 0x69, 0x2, 0x2, 0x17d, 0x18b, 
    0x5, 0x2e, 0x18, 0x8, 0x17e, 0x17f, 0xc, 0x6, 0x2, 0x2, 0x17f, 0x180, 
    0x7, 0x66, 0x2, 0x2, 0x180, 0x18b, 0x5, 0x2e, 0x18, 0x7, 0x181, 0x182, 
    0xc, 0x5, 0x2, 0x2, 0x182, 0x183, 0x7, 0x6a, 0x2, 0x2, 0x183, 0x18b, 
    0x5, 0x2e, 0x18, 0x6, 0x184, 0x185, 0xc, 0x4, 0x2, 0x2, 0x185, 0x186, 
    0x7, 0xb, 0x2, 0x2, 0x186, 0x187, 0x5, 0x2e, 0x18, 0x2, 0x187, 0x188, 
    0x7, 0xc, 0x2, 0x2, 0x188, 0x189, 0x5, 0x2e, 0x18, 0x4, 0x189, 0x18b, 
    0x3, 0x2, 0x2, 0x2, 0x18a, 0x163, 0x3, 0x2, 0x2, 0x2, 0x18a, 0x166, 
    0x3, 0x2, 0x2, 0x2, 0x18a, 0x169, 0x3, 0x2, 0x2, 0x2, 0x18a, 0x16c, 
    0x3, 0x2, 0x2, 0x2, 0x18a, 0x16f, 0x3, 0x2, 0x2, 0x2, 0x18a, 0x172, 
    0x3, 0x2, 0x2, 0x2, 0x18a, 0x175, 0x3, 0x2, 0x2, 0x2, 0x18a, 0x178, 
    0x3, 0x2, 0x2, 0x2, 0x18a, 0x17b, 0x3, 0x2, 0x2, 0x2, 0x18a, 0x17e, 
    0x3, 0x2, 0x2, 0x2, 0x18a, 0x181, 0x3, 0x2, 0x2, 0x2, 0x18a, 0x184, 
    0x3, 0x2, 0x2, 0x2, 0x18b, 0x18e, 0x3, 0x2, 0x2, 0x2, 0x18c, 0x18a, 
    0x3, 0x2, 0x2, 0x2, 0x18c, 0x18d, 0x3, 0x2, 0x2, 0x2, 0x18d, 0x2f, 0x3, 
    0x2, 0x2, 0x2, 0x18e, 0x18c, 0x3, 0x2, 0x2, 0x2, 0x18f, 0x199, 0x5, 
    0x46, 0x24, 0x2, 0x190, 0x199, 0x5, 0x32, 0x1a, 0x2, 0x191, 0x199, 0x5, 
    0x34, 0x1b, 0x2, 0x192, 0x199, 0x5, 0x36, 0x1c, 0x2, 0x193, 0x199, 0x5, 
    0x38, 0x1d, 0x2, 0x194, 0x199, 0x5, 0x64, 0x33, 0x2, 0x195, 0x199, 0x5, 
    0x60, 0x31, 0x2, 0x196, 0x199, 0x5, 0x50, 0x29, 0x2, 0x197, 0x199, 0x5, 
    0x4e, 0x28, 0x2, 0x198, 0x18f, 0x3, 0x2, 0x2, 0x2, 0x198, 0x190, 0x3, 
    0x2, 0x2, 0x2, 0x198, 0x191, 0x3, 0x2, 0x2, 0x2, 0x198, 0x192, 0x3, 
    0x2, 0x2, 0x2, 0x198, 0x193, 0x3, 0x2, 0x2, 0x2, 0x198, 0x194, 0x3, 
    0x2, 0x2, 0x2, 0x198, 0x195, 0x3, 0x2, 0x2, 0x2, 0x198, 0x196, 0x3, 
    0x2, 0x2, 0x2, 0x198, 0x197, 0x3, 0x2, 0x2, 0x2, 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2, 0x2, 0x1fd, 0x1fe, 0x7, 
    0x7f, 0x2, 0x2, 0x1fe, 0x1ff, 0x7, 0xd, 0x2, 0x2, 0x1ff, 0x200, 0x7, 
    0x4, 0x2, 0x2, 0x200, 0x205, 0x5, 0x52, 0x2a, 0x2, 0x201, 0x202, 0x7, 
    0x6, 0x2, 0x2, 0x202, 0x204, 0x5, 0x52, 0x2a, 0x2, 0x203, 0x201, 0x3, 
    0x2, 0x2, 0x2, 0x204, 0x207, 0x3, 0x2, 0x2, 0x2, 0x205, 0x203, 0x3, 
    0x2, 0x2, 0x2, 0x205, 0x206, 0x3, 0x2, 0x2, 0x2, 0x206, 0x208, 0x3, 
    0x2, 0x2, 0x2, 0x207, 0x205, 0x3, 0x2, 0x2, 0x2, 0x208, 0x209, 0x7, 
    0x5, 0x2, 0x2, 0x209, 0x51, 0x3, 0x2, 0x2, 0x2, 0x20a, 0x20b, 0x7, 0x7f, 
    0x2, 0x2, 0x20b, 0x20c, 0x7, 0xc, 0x2, 0x2, 0x20c, 0x20d, 0x5, 0x2e, 
    0x18, 0x2, 0x20d, 0x53, 0x3, 0x2, 0x2, 0x2, 0x20e, 0x20f, 0x7, 0x7f, 
    0x2, 0x2, 0x20f, 0x210, 0x7, 0x10, 0x2, 0x2, 0x210, 0x211, 0x7, 0x7f, 
    0x2, 0x2, 0x211, 0x55, 0x3, 0x2, 0x2, 0x2, 0x212, 0x213, 0x9, 0x10, 
    0x2, 0x2, 0x213, 0x57, 0x3, 0x2, 0x2, 0x2, 0x214, 0x215, 0x9, 0x11, 
    0x2, 0x2, 0x215, 0x59, 0x3, 0x2, 0x2, 0x2, 0x216, 0x217, 0x9, 0x12, 
    0x2, 0x2, 0x217, 0x5b, 0x3, 0x2, 0x2, 0x2, 0x218, 0x219, 0x9, 0x13, 
    0x2, 0x2, 0x219, 0x5d, 0x3, 0x2, 0x2, 0x2, 0x21a, 0x21b, 0x9, 0x14, 
    0x2, 0x2, 0x21b, 0x5f, 0x3, 0x2, 0x2, 0x2, 0x21c, 0x221, 0x5, 0x62, 
    0x32, 0x2, 0x21d, 0x21e, 0x7, 0xa, 0x2, 0x2, 0x21e, 0x220, 0x5, 0x62, 
    0x32, 0x2, 0x21f, 0x21d, 0x3, 0x2, 0x2, 0x2, 0x220, 0x223, 0x3, 0x2, 
    0x2, 0x2, 0x221, 0x21f, 0x3, 0x2, 0x2, 0x2, 0x221, 0x222, 0x3, 0x2, 
    0x2, 0x2, 0x222, 0x61, 0x3, 0x2, 0x2, 0x2, 0x223, 0x221, 0x3, 0x2, 0x2, 
    0x2, 0x224, 0x228, 0x7, 0x7f, 0x2, 0x2, 0x225, 0x227, 0x5, 0x3e, 0x20, 
    0x2, 0x226, 0x225, 0x3, 0x2, 0x2, 0x2, 0x227, 0x22a, 0x3, 0x2, 0x2, 
    0x2, 0x228, 0x226, 0x3, 0x2, 0x2, 0x2, 0x228, 0x229, 0x3, 0x2, 0x2, 
    0x2, 0x229, 0x63, 0x3, 0x2, 0x2, 0x2, 0x22a, 0x228, 0x3, 0x2, 0x2, 0x2, 
    0x22b, 0x22c, 0x5, 0x60, 0x31, 0x2, 0x22c, 0x22f, 0x7, 0x11, 0x2, 0x2, 
    0x22d, 0x230, 0x5, 0x72, 0x3a, 0x2, 0x22e, 0x230, 0x7, 0x7f, 0x2, 0x2, 
    0x22f, 0x22d, 0x3, 0x2, 0x2, 0x2, 0x22f, 0x22e, 0x3, 0x2, 0x2, 0x2, 
    0x230, 0x65, 0x3, 0x2, 0x2, 0x2, 0x231, 0x233, 0x7, 0x4a, 0x2, 0x2, 
    0x232, 0x231, 0x3, 0x2, 0x2, 0x2, 0x232, 0x233, 0x3, 0x2, 0x2, 0x2, 
    0x233, 0x234, 0x3, 0x2, 0x2, 0x2, 0x234, 0x23e, 0x5, 0x6a, 0x36, 0x2, 
    0x235, 0x237, 0x7, 0x4a, 0x2, 0x2, 0x236, 0x235, 0x3, 0x2, 0x2, 0x2, 
    0x236, 0x237, 0x3, 0x2, 0x2, 0x2, 0x237, 0x238, 0x3, 0x2, 0x2, 0x2, 
    0x238, 0x23e, 0x5, 0x6c, 0x37, 0x2, 0x239, 0x23b, 0x7, 0x4a, 0x2, 0x2, 
    0x23a, 0x239, 0x3, 0x2, 0x2, 0x2, 0x23a, 0x23b, 0x3, 0x2, 0x2, 0x2, 
    0x23b, 0x23c, 0x3, 0x2, 0x2, 0x2, 0x23c, 0x23e, 0x5, 0x6e, 0x38, 0x2, 
    0x23d, 0x232, 0x3, 0x2, 0x2, 0x2, 0x23d, 0x236, 0x3, 0x2, 0x2, 0x2, 
    0x23d, 0x23a, 0x3, 0x2, 0x2, 0x2, 0x23e, 0x67, 0x3, 0x2, 0x2, 0x2, 0x23f, 
    0x240, 0x5, 0x60, 0x31, 0x2, 0x240, 0x241, 0x7, 0x11, 0x2, 0x2, 0x241, 
    0x242, 0x5, 0x6a, 0x36, 0x2, 0x242, 0x248, 0x3, 0x2, 0x2, 0x2, 0x243, 
    0x244, 0x5, 0x60, 0x31, 0x2, 0x244, 0x245, 0x7, 0x11, 0x2, 0x2, 0x245, 
    0x246, 0x5, 0x6c, 0x37, 0x2, 0x246, 0x248, 0x3, 0x2, 0x2, 0x2, 0x247, 
    0x23f, 0x3, 0x2, 0x2, 0x2, 0x247, 0x243, 0x3, 0x2, 0x2, 0x2, 0x248, 
    0x69, 0x3, 0x2, 0x2, 0x2, 0x249, 0x24c, 0x5, 0x72, 0x3a, 0x2, 0x24a, 
    0x24c, 0x7, 0x7f, 0x2, 0x2, 0x24b, 0x249, 0x3, 0x2, 0x2, 0x2, 0x24b, 
    0x24a, 0x3, 0x2, 0x2, 0x2, 0x24c, 0x24f, 0x3, 0x2, 0x2, 0x2, 0x24d, 
    0x24e, 0x7, 0x75, 0x2, 0x2, 0x24e, 0x250, 0x5, 0x70, 0x39, 0x2, 0x24f, 
    0x24d, 0x3, 0x2, 0x2, 0x2, 0x24f, 0x250, 0x3, 0x2, 0x2, 0x2, 0x250, 
    0x6b, 0x3, 0x2, 0x2, 0x2, 0x251, 0x252, 0x7, 0x4c, 0x2, 0x2, 0x252, 
    0x253, 0x7, 0x75, 0x2, 0x2, 0x253, 0x254, 0x7, 0x7f, 0x2, 0x2, 0x254, 
    0x6d, 0x3, 0x2, 0x2, 0x2, 0x255, 0x256, 0x5, 0x74, 0x3b, 0x2, 0x256, 
    0x257, 0x7, 0x7f, 0x2, 0x2, 0x257, 0x6f, 0x3, 0x2, 0x2, 0x2, 0x258, 
    0x25b, 0x5, 0x5e, 0x30, 0x2, 0x259, 0x25b, 0x5, 0x2e, 0x18, 0x2, 0x25a, 
    0x258, 0x3, 0x2, 0x2, 0x2, 0x25a, 0x259, 0x3, 0x2, 0x2, 0x2, 0x25b, 
    0x71, 0x3, 0x2, 0x2, 0x2, 0x25c, 0x25d, 0x9, 0x15, 0x2, 0x2, 0x25d, 
    0x73, 0x3, 0x2, 0x2, 0x2, 0x25e, 0x25f, 0x9, 0x16, 0x2, 0x2, 0x25f, 
    0x75, 0x3, 0x2, 0x2, 0x2, 0x260, 0x261, 0x7, 0x4f, 0x2, 0x2, 0x261, 
    0x262, 0x7, 0x7f, 0x2, 0x2, 0x262, 0x266, 0x7, 0x4, 0x2, 0x2, 0x263, 
    0x264, 0x5, 0x78, 0x3d, 0x2, 0x264, 0x265, 0x7, 0x3, 0x2, 0x2, 0x265, 
    0x267, 0x3, 0x2, 0x2, 0x2, 0x266, 0x263, 0x3, 0x2, 0x2, 0x2, 0x267, 
    0x268, 0x3, 0x2, 0x2, 0x2, 0x268, 0x266, 0x3, 0x2, 0x2, 0x2, 0x268, 
    0x269, 0x3, 0x2, 0x2, 0x2, 0x269, 0x26a, 0x3, 0x2, 0x2, 0x2, 0x26a, 
    0x26b, 0x7, 0x5, 0x2, 0x2, 0x26b, 0x77, 0x3, 0x2, 0x2, 0x2, 0x26c, 0x271, 
    0x5, 0x7a, 0x3e, 0x2, 0x26d, 0x271, 0x5, 0x7e, 0x40, 0x2, 0x26e, 0x271, 
    0x5, 0x82, 0x42, 0x2, 0x26f, 0x271, 0x5, 0x84, 0x43, 0x2, 0x270, 0x26c, 
    0x3, 0x2, 0x2, 0x2, 0x270, 0x26d, 0x3, 0x2, 0x2, 0x2, 0x270, 0x26e, 
    0x3, 0x2, 0x2, 0x2, 0x270, 0x26f, 0x3, 0x2, 0x2, 0x2, 0x271, 0x79, 0x3, 
    0x2, 0x2, 0x2, 0x272, 0x273, 0x7, 0x53, 0x2, 0x2, 0x273, 0x274, 0x7, 
    0x75, 0x2, 0x2, 0x274, 0x276, 0x5, 0x7c, 0x3f, 0x2, 0x275, 0x277, 0x5, 
    0x40, 0x21, 0x2, 0x276, 0x275, 0x3, 0x2, 0x2, 0x2, 0x276, 0x277, 0x3, 
    0x2, 0x2, 0x2, 0x277, 0x7b, 0x3, 0x2, 0x2, 0x2, 0x278, 0x27c, 0x5, 0x24, 
    0x13, 0x2, 0x279, 0x27c, 0x9, 0x17, 0x2, 0x2, 0x27a, 0x27c, 0x5, 0x44, 
    0x23, 0x2, 0x27b, 0x278, 0x3, 0x2, 0x2, 0x2, 0x27b, 0x279, 0x3, 0x2, 
    0x2, 0x2, 0x27b, 0x27a, 0x3, 0x2, 0x2, 0x2, 0x27c, 0x7d, 0x3, 0x2, 0x2, 
    0x2, 0x27d, 0x27e, 0x7, 0x47, 0x2, 0x2, 0x27e, 0x27f, 0x7, 0x75, 0x2, 
    0x2, 0x27f, 0x284, 0x5, 0x80, 0x41, 0x2, 0x280, 0x281, 0x7, 0x69, 0x2, 
    0x2, 0x281, 0x283, 0x5, 0x80, 0x41, 0x2, 0x282, 0x280, 0x3, 0x2, 0x2, 
    0x2, 0x283, 0x286, 0x3, 0x2, 0x2, 0x2, 0x284, 0x282, 0x3, 0x2, 0x2, 
    0x2, 0x284, 0x285, 0x3, 0x2, 0x2, 0x2, 0x285, 0x7f, 0x3, 0x2, 0x2, 0x2, 
    0x286, 0x284, 0x3, 0x2, 0x2, 0x2, 0x287, 0x28a, 0x5, 0x22, 0x12, 0x2, 
    0x288, 0x28a, 0x9, 0x18, 0x2, 0x2, 0x289, 0x287, 0x3, 0x2, 0x2, 0x2, 
    0x289, 0x288, 0x3, 0x2, 0x2, 0x2, 0x28a, 0x81, 0x3, 0x2, 0x2, 0x2, 0x28b, 
    0x28c, 0x7, 0x4a, 0x2, 0x2, 0x28c, 0x28d, 0x7, 0x75, 0x2, 0x2, 0x28d, 
    0x28e, 0x5, 0x2e, 0x18, 0x2, 0x28e, 0x83, 0x3, 0x2, 0x2, 0x2, 0x28f, 
    0x290, 0x7, 0x49, 0x2, 0x2, 0x290, 0x291, 0x7, 0x75, 0x2, 0x2, 0x291, 
    0x292, 0x7, 0x48, 0x2, 0x2, 0x292, 0x85, 0x3, 0x2, 0x2, 0x2, 0x293, 
    0x294, 0x7, 0x4b, 0x2, 0x2, 0x294, 0x295, 0x7, 0x7f, 0x2, 0x2, 0x295, 
    0x299, 0x7, 0x4, 0x2, 0x2, 0x296, 0x297, 0x5, 0x88, 0x45, 0x2, 0x297, 
    0x298, 0x7, 0x3, 0x2, 0x2, 0x298, 0x29a, 0x3, 0x2, 0x2, 0x2, 0x299, 
    0x296, 0x3, 0x2, 0x2, 0x2, 0x29a, 0x29b, 0x3, 0x2, 0x2, 0x2, 0x29b, 
    0x299, 0x3, 0x2, 0x2, 0x2, 0x29b, 0x29c, 0x3, 0x2, 0x2, 0x2, 0x29c, 
    0x29d, 0x3, 0x2, 0x2, 0x2, 0x29d, 0x29e, 0x7, 0x5, 0x2, 0x2, 0x29e, 
    0x87, 0x3, 0x2, 0x2, 0x2, 0x29f, 0x2a2, 0x7, 0x7f, 0x2, 0x2, 0x2a0, 
    0x2a1, 0x7, 0x75, 0x2, 0x2, 0x2a1, 0x2a3, 0x5, 0x2e, 0x18, 0x2, 0x2a2, 
    0x2a0, 0x3, 0x2, 0x2, 0x2, 0x2a2, 0x2a3, 0x3, 0x2, 0x2, 0x2, 0x2a3, 
    0x2ae, 0x3, 0x2, 0x2, 0x2, 0x2a4, 0x2a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x2, 0x2, 0x2, 0x30c, 0x30a, 0x3, 0x2, 0x2, 0x2, 
    0x30d, 0x30e, 0x7, 0x5, 0x2, 0x2, 0x30e, 0xa3, 0x3, 0x2, 0x2, 0x2, 0x30f, 
    0x310, 0x5, 0xa6, 0x54, 0x2, 0x310, 0x311, 0x7, 0x4d, 0x2, 0x2, 0x311, 
    0x312, 0x7, 0x7f, 0x2, 0x2, 0x312, 0xa5, 0x3, 0x2, 0x2, 0x2, 0x313, 
    0x316, 0x7, 0x52, 0x2, 0x2, 0x314, 0x316, 0x5, 0x60, 0x31, 0x2, 0x315, 
    0x313, 0x3, 0x2, 0x2, 0x2, 0x315, 0x314, 0x3, 0x2, 0x2, 0x2, 0x316, 
    0xa7, 0x3, 0x2, 0x2, 0x2, 0x317, 0x31f, 0x5, 0x2e, 0x18, 0x2, 0x318, 
    0x319, 0x7, 0xe, 0x2, 0x2, 0x319, 0x31a, 0x5, 0x2e, 0x18, 0x2, 0x31a, 
    0x31b, 0x7, 0xc, 0x2, 0x2, 0x31b, 0x31c, 0x5, 0x2e, 0x18, 0x2, 0x31c, 
    0x31d, 0x7, 0xf, 0x2, 0x2, 0x31d, 0x31f, 0x3, 0x2, 0x2, 0x2, 0x31e, 
    0x317, 0x3, 0x2, 0x2, 0x2, 0x31e, 0x318, 0x3, 0x2, 0x2, 0x2, 0x31f, 
    0xa9, 0x3, 0x2, 0x2, 0x2, 0x4b, 0xaf, 0xbc, 0xc3, 0xc5, 0xcc, 0xd6, 
    0xd9, 0xdc, 0xe7, 0xf4, 0x100, 0x103, 0x10a, 0x111, 0x114, 0x117, 0x11a, 
    0x11d, 0x120, 0x132, 0x13d, 0x145, 0x149, 0x152, 0x161, 0x18a, 0x18c, 
    0x198, 0x1a0, 0x1ba, 0x1be, 0x1cf, 0x1d3, 0x1d6, 0x1e1, 0x1e6, 0x1f6, 
    0x1fb, 0x205, 0x221, 0x228, 0x22f, 0x232, 0x236, 0x23a, 0x23d, 0x247, 
    0x24b, 0x24f, 0x25a, 0x268, 0x270, 0x276, 0x27b, 0x284, 0x289, 0x29b, 
    0x2a2, 0x2aa, 0x2ae, 0x2b5, 0x2bb, 0x2c3, 0x2cb, 0x2cf, 0x2d3, 0x2d8, 
    0x2e7, 0x2f0, 0x2f7, 0x30a, 0x315, 0x31e, 
  };

  atn::ATNDeserializer deserializer;
  _atn = deserializer.deserialize(_serializedATN);

  size_t count = _atn.getNumberOfDecisions();
  _decisionToDFA.reserve(count);
  for (size_t i = 0; i < count; i++) { 
    _decisionToDFA.emplace_back(_atn.getDecisionState(i), i);
  }
}

SystemRDLParser::Initializer SystemRDLParser::_init;
