Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Protected Member Functions | List of all members
parsimonious.grammar.BootstrappingGrammar Class Reference
Inheritance diagram for parsimonious.grammar.BootstrappingGrammar:
Inheritance graph
[legend]
Collaboration diagram for parsimonious.grammar.BootstrappingGrammar:
Collaboration graph
[legend]

Protected Member Functions

 _expressions_from_rules (self, rule_syntax, custom_rules)
 
- Protected Member Functions inherited from parsimonious.grammar.Grammar
 _copy (self)
 
 _check_default_rule (self)
 

Additional Inherited Members

- Public Member Functions inherited from parsimonious.grammar.Grammar
 __init__ (self, rules='', **more_rules)
 
 default (self, rule_name)
 
 parse (self, text, pos=0)
 
 match (self, text, pos=0)
 
 __str__ (self)
 
 __repr__ (self)
 
- Public Attributes inherited from parsimonious.grammar.Grammar
 default_rule
 

Detailed Description

The grammar used to recognize the textual rules that describe other
grammars

This grammar gets its start from some hard-coded Expressions and claws its
way from there to an expression tree that describes how to parse the
grammar description syntax.

Member Function Documentation

◆ _expressions_from_rules()

parsimonious.grammar.BootstrappingGrammar._expressions_from_rules (   self,
  rule_syntax,
  custom_rules 
)
protected
Return the rules for parsing the grammar definition syntax.

Return a 2-tuple: a dict of rule names pointing to their expressions,
and then the top-level expression for the first rule.

Reimplemented from parsimonious.grammar.Grammar.


The documentation for this class was generated from the following file: