The answer is yes, all nodes are created when the Template object is created. But magic happens when you call the rendering method of this object. This Template object has a NodeList with it, which is displayed in context. This rendering is, as you said earlier, first depth, and it just gets the intern (html) child strings attached to Node's father. Here is the NodeList class where the node is rendered. So, the root node is the one that adds all the nodes attached to it in order to finally generate the file. And if you remember, the extends template tag should be the first in the template, so it becomes the root node, which receives all the nodes already processed in it.
, ? node? , , ExtendsNode, extends. node ( ) , (, ). , node , , node, . , , , , .
, , .
, , Token Parser Django.
, .