![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|


Public Member Functions | |
| resolve_refs (self, rule_map) | |
Static Public Attributes | |
| str | name = '' |
Protected Member Functions | |
| _as_rhs (self) | |
A lazy reference to a rule, which we resolve after grokking all the rules
| parsimonious.grammar.LazyReference.resolve_refs | ( | self, | |
| rule_map | |||
| ) |
Traverse the rule map following top-level lazy references,
until we reach a cycle (raise an error) or a concrete expression.
For example, the following is a circular reference:
foo = bar
baz = foo2
foo2 = foo
Note that every RHS of a grammar rule _must_ be either a
LazyReference or a concrete expression, so the reference chain will
eventually either terminate or find a cycle.