Home
last modified time | relevance | path

Searched refs:NtDef (Results 1 – 25 of 28) sorted by relevance

12

/dports/www/firefox/firefox-99.0/third_party/rust/jsparagus/jsparagus/
H A Dextension.py12 from .grammar import Element, Grammar, LenientNt, NtDef, Production
55 prod: typing.Tuple[LenientNt, str, NtDef]
61 nonterminals: typing.Dict[LenientNt, NtDef] argument
101 nonterminals: typing.Dict[LenientNt, NtDef] argument
H A Dgrammar.py203 nonterminals: typing.Dict[LenientNt, NtDef]
302 if isinstance(my_nt, NtDef):
514 ) -> NtDef:
516 if isinstance(nt_def, NtDef):
540 return NtDef(params, productions, ty)
595 ) -> typing.Tuple[LenientNt, NtDef]:
601 if not isinstance(nt_def, NtDef):
643 assert isinstance(nt_def, NtDef)
674 self.nonterminals[init_key] = NtDef(
753 assert isinstance(nt_def, NtDef)
[all …]
H A Drewrites.py13 NoLineTerminatorHere, Nt, NtDef, NtParameter, Production,
270 def expand(nt: Nt) -> NtDef:
308 def expand_productions(nt_def: NtDef) -> NtDef: argument
318 return NtDef((), result, nt_def.type)
633 expanded_grammar: typing.Dict[LenientNt, NtDef] = {}
H A Dtypes.py223 def type_of_nt(nt: typing.Union[grammar.Nt, str], nt_def: grammar.NtDef) -> TypeOrTypeVar: argument
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/jsparagus/jsparagus/
H A Dextension.py12 from .grammar import Element, Grammar, LenientNt, NtDef, Production
55 prod: typing.Tuple[LenientNt, str, NtDef]
61 nonterminals: typing.Dict[LenientNt, NtDef] argument
101 nonterminals: typing.Dict[LenientNt, NtDef] argument
H A Dgrammar.py203 nonterminals: typing.Dict[LenientNt, NtDef]
302 if isinstance(my_nt, NtDef):
514 ) -> NtDef:
516 if isinstance(nt_def, NtDef):
540 return NtDef(params, productions, ty)
595 ) -> typing.Tuple[LenientNt, NtDef]:
601 if not isinstance(nt_def, NtDef):
643 assert isinstance(nt_def, NtDef)
674 self.nonterminals[init_key] = NtDef(
753 assert isinstance(nt_def, NtDef)
[all …]
H A Drewrites.py13 NoLineTerminatorHere, Nt, NtDef, NtParameter, Production,
270 def expand(nt: Nt) -> NtDef:
308 def expand_productions(nt_def: NtDef) -> NtDef: argument
318 return NtDef((), result, nt_def.type)
633 expanded_grammar: typing.Dict[LenientNt, NtDef] = {}
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/jsparagus/jsparagus/
H A Dextension.py12 from .grammar import Element, Grammar, LenientNt, NtDef, Production
55 prod: typing.Tuple[LenientNt, str, NtDef]
61 nonterminals: typing.Dict[LenientNt, NtDef] argument
101 nonterminals: typing.Dict[LenientNt, NtDef] argument
H A Dgrammar.py203 nonterminals: typing.Dict[LenientNt, NtDef]
302 if isinstance(my_nt, NtDef):
514 ) -> NtDef:
516 if isinstance(nt_def, NtDef):
540 return NtDef(params, productions, ty)
595 ) -> typing.Tuple[LenientNt, NtDef]:
601 if not isinstance(nt_def, NtDef):
643 assert isinstance(nt_def, NtDef)
674 self.nonterminals[init_key] = NtDef(
753 assert isinstance(nt_def, NtDef)
[all …]
H A Drewrites.py13 NoLineTerminatorHere, Nt, NtDef, NtParameter, Production,
270 def expand(nt: Nt) -> NtDef:
308 def expand_productions(nt_def: NtDef) -> NtDef: argument
318 return NtDef((), result, nt_def.type)
633 expanded_grammar: typing.Dict[LenientNt, NtDef] = {}
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/jsparagus/jsparagus/
H A Dextension.py12 from .grammar import Element, Grammar, LenientNt, NtDef, Production
55 prod: typing.Tuple[LenientNt, str, NtDef]
61 nonterminals: typing.Dict[LenientNt, NtDef] argument
101 nonterminals: typing.Dict[LenientNt, NtDef] argument
H A Dgrammar.py203 nonterminals: typing.Dict[LenientNt, NtDef]
302 if isinstance(my_nt, NtDef):
514 ) -> NtDef:
516 if isinstance(nt_def, NtDef):
540 return NtDef(params, productions, ty)
595 ) -> typing.Tuple[LenientNt, NtDef]:
601 if not isinstance(nt_def, NtDef):
643 assert isinstance(nt_def, NtDef)
674 self.nonterminals[init_key] = NtDef(
753 assert isinstance(nt_def, NtDef)
[all …]
H A Drewrites.py13 NoLineTerminatorHere, Nt, NtDef, NtParameter, Production,
270 def expand(nt: Nt) -> NtDef:
308 def expand_productions(nt_def: NtDef) -> NtDef: argument
318 return NtDef((), result, nt_def.type)
633 expanded_grammar: typing.Dict[LenientNt, NtDef] = {}
/dports/www/firefox/firefox-99.0/third_party/rust/jsparagus/tests/
H A Dtest.py11 Optional, LookaheadRule, NtDef, Var)
842 'stmts': NtDef(('Yield',), [
846 'stmt': NtDef(('Yield',), [
853 'name': NtDef(('Yield',), [
878 'Bar': NtDef(('Arg',), [
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/jsparagus/tests/
H A Dtest.py11 Optional, LookaheadRule, NtDef, Var)
842 'stmts': NtDef(('Yield',), [
846 'stmt': NtDef(('Yield',), [
853 'name': NtDef(('Yield',), [
878 'Bar': NtDef(('Arg',), [
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/jsparagus/tests/
H A Dtest.py11 Optional, LookaheadRule, NtDef, Var)
842 'stmts': NtDef(('Yield',), [
846 'stmt': NtDef(('Yield',), [
853 'name': NtDef(('Yield',), [
878 'Bar': NtDef(('Arg',), [
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/jsparagus/tests/
H A Dtest.py11 Optional, LookaheadRule, NtDef, Var)
842 'stmts': NtDef(('Yield',), [
846 'stmt': NtDef(('Yield',), [
853 'name': NtDef(('Yield',), [
878 'Bar': NtDef(('Arg',), [
/dports/www/firefox/firefox-99.0/third_party/rust/jsparagus/js_parser/
H A Dgenerate_js_parser_tables.py47 nonterminals[nt] = jsparagus.grammar.NtDef(params, rhs_list, nt_def.type)
H A Dparse_esgrammar.py253 return (lhs.name, eq, grammar.NtDef(lhs.args, production_list, nt_type))
437 if isinstance(rhs_list_or_lambda, grammar.NtDef):
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/jsparagus/js_parser/
H A Dgenerate_js_parser_tables.py47 nonterminals[nt] = jsparagus.grammar.NtDef(params, rhs_list, nt_def.type)
H A Dparse_esgrammar.py253 return (lhs.name, eq, grammar.NtDef(lhs.args, production_list, nt_type))
437 if isinstance(rhs_list_or_lambda, grammar.NtDef):
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/jsparagus/js_parser/
H A Dgenerate_js_parser_tables.py47 nonterminals[nt] = jsparagus.grammar.NtDef(params, rhs_list, nt_def.type)
H A Dparse_esgrammar.py253 return (lhs.name, eq, grammar.NtDef(lhs.args, production_list, nt_type))
437 if isinstance(rhs_list_or_lambda, grammar.NtDef):
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/jsparagus/js_parser/
H A Dgenerate_js_parser_tables.py47 nonterminals[nt] = jsparagus.grammar.NtDef(params, rhs_list, nt_def.type)
H A Dparse_esgrammar.py253 return (lhs.name, eq, grammar.NtDef(lhs.args, production_list, nt_type))
437 if isinstance(rhs_list_or_lambda, grammar.NtDef):

12