Skip to content

Access to all children after introducing specific attributes #14

Description

@knowbased

The migration from genericChildren to specific relations such as name, body, parameters, object, property, and arguments is a valuable improvement to the metamodel.

However, there no longer seems to be a way to retrieve all the children of a node generically. The methods children, allChildren, and genericChildren appear to return only children that are not stored in a specific relation.

A generic API that returns all children, including those stored in specific relations, would be useful for traversing the AST without needing to know the structure and relations of each node type in advance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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