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.

Empty position node in imports #215

@r0mainK

Description

@r0mainK

So basically when we parse:

import foo
from foo import bar

In both cases, only the uast:RuntimeImport nodes have a position attribute that holds information. The uast:Identifier nodes have a position attribute, but they contains no information. Also, there is only starting information, and nothing about the ending.

I don't know if this is a bug or not, but it would be good if we had positional information propagated through each node, and ending information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions