Use ANTLR-based parse tree to obtain a json dictionary of class names and corresponding class functions from a python 3 source code.
Corresponding writeup at : https://virresh.wordpress.com/2018/06/27/dive-deeper-into-antlr-write-a-python-meta-program/
In case you do not already have it, install the antlr4-python3-runtime
using:
pip install antlr4-python3-runtime