Searched refs:NameLeaf (Results 1 – 9 of 9) sorted by relevance
/third_party/python/Tools/peg_generator/pegen/ |
D | metagrammar.gram | 15 NameLeaf, 77 | items '$' action { Alt(items + [NamedItem(None, NameLeaf('ENDMARKER'))], action=action) } 78 | items '$' { Alt(items + [NamedItem(None, NameLeaf('ENDMARKER'))], action=None) } 112 | NAME {NameLeaf(name.string) }
|
D | parser_generator.py | 14 NameLeaf, 25 def visit_NameLeaf(self, node: NameLeaf) -> None: argument 141 alt = Alt([NamedItem("elem", node.node), NamedItem("seq", NameLeaf(extra_function_name))],)
|
D | first_sets.py | 19 NameLeaf, 104 def visit_NameLeaf(self, item: NameLeaf) -> Set[str]: argument
|
D | grammar_parser.py | 21 NameLeaf, 349 … return Alt ( items + [ NamedItem ( None , NameLeaf ( 'ENDMARKER' ) ) ] , action = action ) 358 return Alt ( items + [ NamedItem ( None , NameLeaf ( 'ENDMARKER' ) ) ] , action = None ) 622 return NameLeaf ( name . string )
|
D | validator.py | 10 NameLeaf,
|
D | python_generator.py | 8 NameLeaf, 49 def visit_NameLeaf(self, node: NameLeaf) -> Tuple[Optional[str], str]: argument
|
D | c_generator.py | 18 NameLeaf, 142 def visit_NameLeaf(self, node: NameLeaf) -> FunctionCall: argument
|
D | grammar.py | 152 class NameLeaf(Leaf): class
|
/third_party/python/Tools/peg_generator/scripts/ |
D | grammar_grapher.py | 37 NameLeaf, 68 elif isinstance(item, NameLeaf):
|