Improve high_level_calls documentation

pull/58/head
Josselin 6 years ago
parent 5c1e405969
commit edf4f37cf8
  1. 5
      slither/core/cfg/node.py
  2. 5
      slither/core/declarations/function.py

@ -201,7 +201,10 @@ class Node(SourceMapping, ChildFunction):
@property @property
def high_level_calls(self): def high_level_calls(self):
""" """
list((Contract, Function)): List of high level calls (external calls). Include library calls list((Contract, Function|Variable)):
List of high level calls (external calls).
A variable is called in case of call to a public state variable
Include library calls
""" """
return list(self._high_level_calls) return list(self._high_level_calls)

@ -251,7 +251,10 @@ class Function(ChildContract, SourceMapping):
@property @property
def high_level_calls(self): def high_level_calls(self):
""" """
list((Contract, Function)): List of high level calls (external calls). Include library calls list((Contract, Function|Variable)):
List of high level calls (external calls).
A variable is called in case of call to a public state variable
Include library calls
""" """
return list(self._high_level_calls) return list(self._high_level_calls)

Loading…
Cancel
Save