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.
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.