|
|
None | __init__ (self, EvalContext eval_ctx, t.Optional["Frame"] parent=None, t.Optional[int] level=None) |
| |
| "te.Self" | copy (self) |
| |
| "Frame" | inner (self, bool isolated=False) |
| |
| "te.Self" | soft (self) |
| |
|
|
| eval_ctx |
| |
|
| parent |
| |
|
| symbols |
| |
|
| require_output_check |
| |
|
| buffer |
| |
|
| block |
| |
|
| toplevel |
| |
|
| rootlevel |
| |
|
| loop_frame |
| |
|
| block_frame |
| |
|
| soft_frame |
| |
Holds compile time information for us.
◆ copy()
| "te.Self" jinja2.compiler.Frame.copy |
( |
|
self | ) |
|
Create a copy of the current one.
◆ inner()
| "Frame" jinja2.compiler.Frame.inner |
( |
|
self, |
|
|
bool |
isolated = False |
|
) |
| |
◆ soft()
| "te.Self" jinja2.compiler.Frame.soft |
( |
|
self | ) |
|
Return a soft frame. A soft frame may not be modified as
standalone thing as it shares the resources with the frame it
was created of, but it's not a rootlevel frame any longer.
This is only used to implement if-statements and conditional
expressions.
The documentation for this class was generated from the following file:
- docs/help/help-venv/lib/python3.12/site-packages/jinja2/compiler.py