Home
last modified time | relevance | path

Searched refs:NamedItem (Results 1 – 11 of 11) sorted by relevance

/external/python/cpython3/Tools/peg_generator/pegen/
Dmetagrammar.gram15 NamedItem,
76 | items '$' action { Alt(items + [NamedItem(None, NameLeaf('ENDMARKER'))], action=action) }
77 | items '$' { Alt(items + [NamedItem(None, NameLeaf('ENDMARKER'))], action=None) }
85 named_item[NamedItem]:
86 | NAME '=' ~ item {NamedItem(name.string, item)}
87 | item {NamedItem(None, item)}
88 | it=lookahead {NamedItem(None, it)}
Dparser_generator.py12 NamedItem,
30 def visit_NamedItem(self, node: NamedItem) -> None: argument
127 self.todo[name] = Rule(name, None, Rhs([Alt([NamedItem(None, node)])]))
136 [NamedItem(None, node.separator), NamedItem("elem", node.node)], action="elem",
141 alt = Alt([NamedItem("elem", node.node), NamedItem("seq", NameLeaf(extra_function_name))],)
Dgrammar_parser.py24 NamedItem,
351 … return Alt ( items + [ NamedItem ( None , NameLeaf ( 'ENDMARKER' ) ) ] , action = action )
360 return Alt ( items + [ NamedItem ( None , NameLeaf ( 'ENDMARKER' ) ) ] , action = None )
404 def named_item(self) -> Optional[NamedItem]:
417 return NamedItem ( name . string , item )
424 return NamedItem ( None , item )
431 return NamedItem ( None , it )
Dpython_generator.py10 NamedItem,
73 def visit_NamedItem(self, node: NamedItem) -> Tuple[Optional[str], str]: argument
188 def visit_NamedItem(self, node: NamedItem) -> None: argument
Dfirst_sets.py18 NamedItem,
89 def visit_NamedItem(self, item: NamedItem) -> Set[str]: argument
Dgrammar.py219 def __init__(self, items: List[NamedItem], *, icut: int = -1, action: Optional[str] = None): argument
239 def __iter__(self) -> Iterator[List[NamedItem]]:
261 class NamedItem: class
466 NamedItemList = List[NamedItem]
Dc_generator.py15 NamedItem,
209 def visit_NamedItem(self, node: NamedItem) -> FunctionCall: argument
611 def visit_NamedItem(self, node: NamedItem) -> None: argument
786 def add_var(self, node: NamedItem) -> Tuple[Optional[str], Optional[str]]: argument
/external/python/cpython3/Tools/peg_generator/scripts/
Dgrammar_grapher.py38 NamedItem,
64 elif isinstance(item, NamedItem):
/external/pdfium/xfa/fxfa/parser/
Dcxfa_treelist.h20 CXFA_Node* NamedItem(WideStringView wsName);
Dcxfa_treelist.cpp24 CXFA_Node* CXFA_TreeList::NamedItem(WideStringView wsName) { in NamedItem() function in CXFA_TreeList
/external/pdfium/fxjs/xfa/
Dcjx_treelist.cpp41 CXFA_Node* pNode = GetXFATreeList()->NamedItem( in namedItem()