Searched refs:NameLeaf (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython3/Tools/peg_generator/pegen/ |
D | metagrammar.gram | 14 NameLeaf, 76 | items '$' action { Alt(items + [NamedItem(None, NameLeaf('ENDMARKER'))], action=action) } 77 | items '$' { Alt(items + [NamedItem(None, NameLeaf('ENDMARKER'))], action=None) } 105 | 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 | 23 NameLeaf, 351 … return Alt ( items + [ NamedItem ( None , NameLeaf ( 'ENDMARKER' ) ) ] , action = action ) 360 return Alt ( items + [ NamedItem ( None , NameLeaf ( 'ENDMARKER' ) ) ] , action = None ) 558 return NameLeaf ( name . string )
|
D | python_generator.py | 7 NameLeaf, 51 def visit_NameLeaf(self, node: NameLeaf) -> Tuple[Optional[str], str]: argument
|
D | c_generator.py | 16 NameLeaf, 133 def visit_NameLeaf(self, node: NameLeaf) -> FunctionCall: argument
|
D | grammar.py | 152 class NameLeaf(Leaf): class
|
/external/python/cpython3/Tools/peg_generator/scripts/ |
D | grammar_grapher.py | 37 NameLeaf, 68 elif isinstance(item, NameLeaf):
|