Skip to content

Add line numbers to AST nodes #252

@sdeal

Description

@sdeal

I couldn’t find a way to access code comments or line numbers through BOA (I assume comments are simply ignored by the scanner and not even passed to the parser), because there are not part of the AST. Adding line numbers to each node (start line, end line) would help a lot, because then one could simply checkout the files from GitHub and access the code comments or any other information that is not included in the BOA dataset. Furthermore, line numbers would also facilitate to align information mined with BOA with information mined with other tools.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions