Skip to content

Reserved nodes without children #2

@sander102907

Description

@sander102907

There is an issue where reserved tokens (so with res=True), that indicate C++ keywords, which do not have children. Whilst the machine learning model assumes res=True means there should be children.

Examples are:
ARGUMENTS
CONTINUE_STMT
NULL_STMT
BREAK_STMT
COMPOUND_STMT
PUBLIC (children of access specifier)
CXX_NULL_PTR_LITERAL_EXPR
CONST
CAPTURE_CLAUSE

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