Initialize a newly created list of nodes such that all of the nodes that
are added to the list will have their parent set to the given owner
. The
list will initially be populated with the given elements
.
Source
factory NodeList(AstNode owner, [List<E> elements]) => new NodeListImpl<E>(owner as AstNodeImpl, elements);