xing-hu / EMSE-DeepCom

The dataset for EMSE-DeepCom
MIT License
118 stars 63 forks source link

Modify get_ast.py to return only name #22

Closed AetherPrior closed 3 years ago

AetherPrior commented 3 years ago

Fixes #18 Add function get_name(obj) to recursively replace objects with their names except for lists, tuples, dicts, OrderedDicts, and primitives.