Home
last modified time | relevance | path

Searched refs:NameLeaf (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython3/Tools/peg_generator/pegen/
Dmetagrammar.gram14 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) }
Dparser_generator.py14 NameLeaf,
25 def visit_NameLeaf(self, node: NameLeaf) -> None: argument
141 alt = Alt([NamedItem("elem", node.node), NamedItem("seq", NameLeaf(extra_function_name))],)
Dfirst_sets.py19 NameLeaf,
104 def visit_NameLeaf(self, item: NameLeaf) -> Set[str]: argument
Dgrammar_parser.py23 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 )
Dpython_generator.py7 NameLeaf,
51 def visit_NameLeaf(self, node: NameLeaf) -> Tuple[Optional[str], str]: argument
Dc_generator.py16 NameLeaf,
133 def visit_NameLeaf(self, node: NameLeaf) -> FunctionCall: argument
Dgrammar.py152 class NameLeaf(Leaf): class
/external/python/cpython3/Tools/peg_generator/scripts/
Dgrammar_grapher.py37 NameLeaf,
68 elif isinstance(item, NameLeaf):