Node matching between tracing and clang works [WIP]
This commit is contained in:
parent
dc689174c0
commit
5885be5974
3 changed files with 2521 additions and 27 deletions
|
@ -60,7 +60,7 @@ class ClNode:
|
|||
|
||||
def __init__(self, json_obj):
|
||||
self.id = json_obj['id']
|
||||
self.qualified_name = json_obj['id']
|
||||
self.qualified_name = json_obj['qualified_name']
|
||||
self.source_range = ClSourceRange(json_obj['source_range'])
|
||||
self.field_ids = list(map(lambda obj: obj['id'], json_obj['fields'])) if 'fields' in json_obj else None
|
||||
self.method_ids = list(map(lambda obj: obj['id'], json_obj['methods'])) if 'methods' in json_obj else None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue