Skip to content

Refactor handling of conditional node counting in unifiedparser #4381

@Nereboss

Description

@Nereboss

Some nodes are only counted depending on their parents type (e.g. lambda only counted as a function of its assigned to a variable). Refactor the logic how we handle these cases from "count this node if the child looks like X" to "count this node of parent looks like X".

Metadata

Metadata

Assignees

Labels

pr-analysisIssues that touch the analysis pr(oject).

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions