![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|
Classes | |
| class | CodeGenerator |
| class | CompilerExit |
| class | DependencyFinderVisitor |
| class | Frame |
| class | MacroRef |
| class | UndeclaredNameVisitor |
| class | VisitorExit |
Functions | |
| F | optimizeconst (F f) |
| t.Callable[["CodeGenerator", nodes.BinExpr, "Frame"], None] | _make_binop (str op) |
| t.Callable[["CodeGenerator", nodes.UnaryExpr, "Frame"], None] | _make_unop (str op) |
| t.Optional[str] | generate (nodes.Template node, "Environment" environment, t.Optional[str] name, t.Optional[str] filename, t.Optional[t.TextIO] stream=None, bool defer_init=False, bool optimized=True) |
| bool | has_safe_repr (t.Any value) |
| t.Set[str] | find_undeclared (t.Iterable[nodes.Node] nodes, t.Iterable[str] names) |
Variables | |
| F = t.TypeVar("F", bound=t.Callable[..., t.Any]) | |
| dict | operators |
Compiles nodes from the parser into Python code.
| t.Set[str] jinja2.compiler.find_undeclared | ( | t.Iterable[nodes.Node] | nodes, |
| t.Iterable[str] | names | ||
| ) |
Check if the names passed are accessed undeclared. The return value is a set of all the undeclared names from the sequence of names found.
| t.Optional[str] jinja2.compiler.generate | ( | nodes.Template | node, |
| "Environment" | environment, | ||
| t.Optional[str] | name, | ||
| t.Optional[str] | filename, | ||
| t.Optional[t.TextIO] | stream = None, |
||
| bool | defer_init = False, |
||
| bool | optimized = True |
||
| ) |
Generate the python source for a node tree.
| bool jinja2.compiler.has_safe_repr | ( | t.Any | value | ) |
Does the node have a safe representation?
| dict jinja2.compiler.operators |