Skip to content

Support preliminary details of conditional statements #125

Open
@rangeetpan

Description

@rangeetpan

Currently, CLDK does not support control flow analysis. However, to begin with some light-weight analysis, it might be good to add some support. To do that, we have enabled tree-sitter based conditional statement extraction logic, which reads a code and provide the output in

List[dict]: Each element represents a conditional statement. 
dictionary : {"condition":, "code":, "start_line":, "end_line":,
            "condition_type":[FOR|WHILE|DOWHILE|IF|ELSE|CATCH]}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions