Class NodeList<N extends Node>

java.lang.Object
com.github.javaparser.ast.NodeList<N>
Type Parameters:
N - the type of nodes contained.
All Implemented Interfaces:
Observable, Visitable, HasParentNode<NodeList<N>>, Iterable<N>, Collection<N>, List<N>

public class NodeList<N extends Node> extends Object implements List<N>, Iterable<N>, HasParentNode<NodeList<N>>, Visitable, Observable
A list of nodes. It usually has a parent node. Unlike normal Nodes, this does not mean that it is a child of that parent. Instead, this list will make every node it contains a child of its parent. This way, a NodeList does not create an extra level inside the AST.