Update to new ModifierStatement format

pull/238/head
Josselin 5 years ago
parent 1450d602bf
commit 3a5c284c90
  1. 8
      slither/tools/slither_format/formatters/naming_convention.py

@ -321,9 +321,13 @@ def _explore_variables_declaration(slither, variables, result, target, convert):
def _explore_modifiers_calls(slither, function, result, target, convert):
for modifier in function.modifiers_statements:
_explore_irs(slither, modifier.node.irs, result, target, convert)
for node in modifier.nodes:
if node.irs:
_explore_irs(slither, node.irs, result, target, convert)
for modifier in function.explicit_base_constructor_calls_statements:
_explore_irs(slither, modifier.node.irs, result, target, convert)
for node in modifier.nodes:
if node.irs:
_explore_irs(slither, node.irs, result, target, convert)
def _explore_structures_declaration(slither, structures, result, target, convert):
for st in structures:

Loading…
Cancel
Save