Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Missing QUALIFIED role #95

@zurk

Description

@zurk

if you get UAST for

import lib1
lib1.lib2.lib3.var = None

You will have next list of Identifiers with roles:

<lib1>:         ['IMPORT', 'PATHNAME', 'IDENTIFIER']
<var>:          ['IDENTIFIER', 'EXPRESSION', 'LEFT']
<lib3>:         ['IDENTIFIER', 'EXPRESSION']
<lib2>:         ['IDENTIFIER', 'EXPRESSION']
<lib1>:         ['IDENTIFIER', 'QUALIFIED', 'IDENTIFIER', 'EXPRESSION']

QUALIFIED role is missing in lib2 and lib3 identifiers.
you can use code from issue #94 to reproduse result.
this gist: https://gist.github.com/zurk/8f7dd974347925ae62c31d9441491613

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions