- class definition
class Foo:
pass
=> Foo
- function definition
class Test:
def foo(a, b):
def bar(c, d=g("arg")):
pass
=> Test.foo(a, b)
=> Test.bar(c, d)
- function call
foo().bar().a.b()
=> foo()
=> bar()
=> b()
- can't work with mixed spaces and tabs
- can't define lambda functions
- can't define decorator call
- SA3 integration: https://bitbucket.org/agudulin/sourceanalyzer3-call-graph-core-with-pyparser
- Habrahabr article: http://habrahabr.ru/post/141756/