Method
TemplateScopenew_with_parent
Description
Creates a new scope to contain variables and custom expressions,
If parent is set, the parent scope will be inherited.
Return value
Type: TmplScope
A newly created TmplScope.
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |