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


Public Member Functions | |
| test_round_trip (self) | |
| test_undefined_rule (self) | |
| test_optional (self) | |
Tests for ``RuleVisitor`` As I write these, Grammar is not yet fully implemented. Normally, there'd be no reason to use ``RuleVisitor`` directly.
| parsimonious.tests.test_grammar.RuleVisitorTests.test_round_trip | ( | self | ) |
Test a simple round trip. Parse a simple grammar, turn the parse tree into a map of expressions, and use that to parse another piece of text. Not everything was implemented yet, but it was a big milestone and a proof of concept.
| parsimonious.tests.test_grammar.RuleVisitorTests.test_undefined_rule | ( | self | ) |
Make sure we throw the right exception on undefined rules.