Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Classes | Variables
jinja2.parser Namespace Reference

Classes

class  Parser
 

Variables

 _ImportInclude = t.TypeVar("_ImportInclude", nodes.Import, nodes.Include)
 
 _MacroCall = t.TypeVar("_MacroCall", nodes.Macro, nodes.CallBlock)
 
 _statement_keywords
 
 _compare_operators = frozenset(["eq", "ne", "lt", "lteq", "gt", "gteq"])
 
dict _math_nodes
 

Detailed Description

Parse tokens from the lexer into nodes for the compiler.

Variable Documentation

◆ _math_nodes

dict jinja2.parser._math_nodes
protected
Initial value:
1= {
2 "add": nodes.Add,
3 "sub": nodes.Sub,
4 "mul": nodes.Mul,
5 "div": nodes.Div,
6 "floordiv": nodes.FloorDiv,
7 "mod": nodes.Mod,
8}

◆ _statement_keywords

jinja2.parser._statement_keywords
protected
Initial value:
1= frozenset(
2 [
3 "for",
4 "if",
5 "block",
6 "extends",
7 "print",
8 "macro",
9 "include",
10 "from",
11 "import",
12 "set",
13 "with",
14 "autoescape",
15 ]
16)