parameters: ()
return_statement: return addon_rules
docstring: Returns dict of MISRA rules handled by this addon.
docstring_summary: Returns dict of MISRA rules handled by this addon.
docstring_tokens: Returns dict of MISRA rules handled by this addon .
function: def getAddonRules():
      """Returns dict of MISRA rules handled by this addon."""
      addon_rules = []
      compiled = re.compile(r'.*def[ ]+misra_([0-9]+)_([0-9]+)[(].*')
      for line in open(__file__):
          res = compiled.match(line)
          if res is None:
              continue
          addon_rules.append(res.group(1) + '.' + res.group(2))
      return addon_rules
function_tokens: def getAddonRules ( ) : addon_rules = [ ] compiled = re . compile ( r'.*def[ ]+misra_([0-9]+)_([0-9]+)[(].*' ) for line in open ( __file__ ) : res = compiled . match ( line ) if res is None : continue addon_rules . append ( res . group ( 1 ) + '.' + res . group ( 2 ) ) return addon_rules