When the given template is called from another template, this property
represents the generator context associated with the parent (caller) template.
Notes:
-
If there is no caller template, this must be the main template
(the one directly specified to the generator).
In that case, the property returns
null
.
-
When a template calls itself, the generator actually processes
two instances of the same template. So, the parent context will be different
from the current one. That is, the following is always true:
parentContext != thisContext
See Also:
GOMContext.thisContext, GOMContext.documentContext, GOMContext.mainContext