Skip to content

verify_parse_tree and exceptions #45

@alessiostalla

Description

@alessiostalla

In the KolasuParser.verifyParseTree method (verify_parse_tree in Pylasu), we traverse the parse tree to search for exceptions and add issues if we find them.
I didn't add that as part of #42 because the parse-tree traversing code is missing from Pylasu.
We should aim for feature and behavior parity with Kolasu as much as possible. However, in this case, it looks to me like a duplicate of the parser and lexer error listeners. I think we should have a conversation on whether to keep this in Kolasu 1.7 (and consequently add it to Pylasu) or to remove this check because it's redundant.

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