Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
jinja2.ext.LoopControlExtension Class Reference
Inheritance diagram for jinja2.ext.LoopControlExtension:
Inheritance graph
[legend]
Collaboration diagram for jinja2.ext.LoopControlExtension:
Collaboration graph
[legend]

Public Member Functions

t.Union[nodes.Break, nodes.Continueparse (self, "Parser" parser)
 
- Public Member Functions inherited from jinja2.ext.Extension
None __init_subclass__ (cls)
 
None __init__ (self, Environment environment)
 
"te.Self" bind (self, Environment environment)
 
str preprocess (self, str source, t.Optional[str] name, t.Optional[str] filename=None)
 
t.Union["TokenStream", t.Iterable["Token"]] filter_stream (self, "TokenStream" stream)
 
nodes.ExtensionAttribute attr (self, str name, t.Optional[int] lineno=None)
 
nodes.Call call_method (self, str name, t.Optional[t.List[nodes.Expr]] args=None, t.Optional[t.List[nodes.Keyword]] kwargs=None, t.Optional[nodes.Expr] dyn_args=None, t.Optional[nodes.Expr] dyn_kwargs=None, t.Optional[int] lineno=None)
 

Static Public Attributes

dict tags = {"break", "continue"}
 
- Static Public Attributes inherited from jinja2.ext.Extension
identifier .ClassVar[str]
 
tags = set()
 
int priority = 100
 

Additional Inherited Members

- Public Attributes inherited from jinja2.ext.Extension
 identifier
 
 environment
 

Detailed Description

Adds break and continue to the template engine.

Member Function Documentation

◆ parse()

t.Union[nodes.Break, nodes.Continue] jinja2.ext.LoopControlExtension.parse (   self,
"Parser"  parser 
)
If any of the :attr:`tags` matched this method is called with the
parser as first argument.  The token the parser stream is pointing at
is the name token that matched.  This method has to return one or a
list of multiple nodes.

Reimplemented from jinja2.ext.Extension.


The documentation for this class was generated from the following file: