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

Classes

class  _FilterTestCommon
 
class  Add
 
class  And
 
class  Assign
 
class  AssignBlock
 
class  BinExpr
 
class  Block
 
class  Break
 
class  Call
 
class  CallBlock
 
class  Compare
 
class  Concat
 
class  CondExpr
 
class  Const
 
class  ContextReference
 
class  Continue
 
class  DerivedContextReference
 
class  Dict
 
class  Div
 
class  EnvironmentAttribute
 
class  EvalContext
 
class  EvalContextModifier
 
class  Expr
 
class  ExprStmt
 
class  Extends
 
class  ExtensionAttribute
 
class  Filter
 
class  FilterBlock
 
class  FloorDiv
 
class  For
 
class  FromImport
 
class  Getattr
 
class  Getitem
 
class  Helper
 
class  If
 
class  Import
 
class  ImportedName
 
class  Impossible
 
class  Include
 
class  InternalName
 
class  Keyword
 
class  List
 
class  Literal
 
class  Macro
 
class  MarkSafe
 
class  MarkSafeIfAutoescape
 
class  Mod
 
class  Mul
 
class  Name
 
class  Neg
 
class  Node
 
class  NodeType
 
class  Not
 
class  NSRef
 
class  Operand
 
class  Or
 
class  Output
 
class  OverlayScope
 
class  Pair
 
class  Pos
 
class  Pow
 
class  Scope
 
class  ScopedEvalContextModifier
 
class  Slice
 
class  Stmt
 
class  Sub
 
class  Template
 
class  TemplateData
 
class  Test
 
class  Tuple
 
class  UnaryExpr
 
class  With
 

Functions

EvalContext get_eval_context ("Node" node, t.Optional[EvalContext] ctx)
 
t.Tuple[t.List[t.Any], t.Dict[t.Any, t.Any]] args_as_const (t.Union["_FilterTestCommon", "Call"] node, t.Optional[EvalContext] eval_ctx)
 
"te.NoReturn" _failing_new (*t.Any args, **t.Any kwargs)
 

Variables

 _NodeBound = t.TypeVar("_NodeBound", bound="Node")
 
dict _binop_to_func
 
dict _uaop_to_func
 
dict _cmpop_to_func
 

Detailed Description

AST nodes generated by the parser for the compiler. Also provides
some node tree helper functions used by the parser and compiler in order
to normalize nodes.

Variable Documentation

◆ _binop_to_func

dict jinja2.nodes._binop_to_func
protected
Initial value:
1= {
2 "*": operator.mul,
3 "/": operator.truediv,
4 "//": operator.floordiv,
5 "**": operator.pow,
6 "%": operator.mod,
7 "+": operator.add,
8 "-": operator.sub,
9}

◆ _cmpop_to_func

dict jinja2.nodes._cmpop_to_func
protected
Initial value:
1= {
2 "eq": operator.eq,
3 "ne": operator.ne,
4 "gt": operator.gt,
5 "gteq": operator.ge,
6 "lt": operator.lt,
7 "lteq": operator.le,
8 "in": lambda a, b: a in b,
9 "notin": lambda a, b: a not in b,
10}

◆ _uaop_to_func

dict jinja2.nodes._uaop_to_func
protected
Initial value:
1= {
2 "not": operator.not_,
3 "+": operator.pos,
4 "-": operator.neg,
5}