AstEdges
This property edge list describes elements that are AST children of a node.
Inheritors
Constructors
Properties
This computed property returns the common type in a Collection of Type objects. For example, if two types A
and B
both derive from the interface C`` then
C` would be returned.
Functions
Creates a new edge with the target node and an optional builder to include edge properties. If outgoing is true, the edge is created from thisRef ->target, otherwise from target to thisRef.
Wraps the given Type into a chain of PointerTypes and ReferenceTypes, given the operations in TypeOperations.
This function returns the first node that matches the name on the supplied list of nodes.
A shortcut to call firstOrNull using the []
syntax.
A shortcut to call byNameOrNull using the []
syntax.
This function will be executed after the edge was added to the container. This can be used to propagate the edge to other properties or register additional handlers, e.g. a TypeObserver.
This function will be executed after an edge was removed from the container. This can be used to unregister additional handlers, e.g. a TypeObserver.
A shortcut invoke filter on a list of nodes.
A shortcut to filter a list of nodes by their name.
Removes all edges with the target node. The target is considered to be either the Edge.end or Edge.start depending on outgoing.
Clears the collection and adds the nodes.
Converts this collection of edges into a collection of nodes for easier access to the "target" nodes.
Returns an UnwrappedEdgeList magic container which holds a structure that provides easy access to the "target" nodes without edge information.