Skip to content

ASTPatternUtil.isDefinition() needs cleanup #45

@acalvert

Description

@acalvert

The whole method is basically a sequence of special case checks on the form of the AST and could be improved in terms of readability and debuggability by redoing it to use the pattern matching from AbstractDependenceAnalysis or from ASTPatternUtil or something. It has no known bugs, but the nature of it being a bunch of nigh-unreadable special cases suggests that there may be unhandled corner cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions