Home
last modified time | relevance | path

Searched refs:rulename (Results 1 – 17 of 17) sorted by relevance

/external/libchrome/build/
Dwrite_buildflag_header.py23 def __init__(self, output, rulename, header_guard, flags): argument
25 self.rulename = rulename
73 rulename=cmdline_options.rulename,
81 if options.rulename:
82 output_file.write('// From "' + options.rulename + '"\n')
/external/angle/build/
Dwrite_buildflag_header.py23 def __init__(self, output, rulename, header_guard, flags): argument
25 self.rulename = rulename
75 rulename=cmdline_options.rulename,
83 if options.rulename:
84 output_file.write('// From "' + options.rulename + '"\n')
Dbuildflag_header.gni119 "--rulename",
/external/cronet/build/
Dwrite_buildflag_header.py23 def __init__(self, output, rulename, header_guard, flags): argument
25 self.rulename = rulename
75 rulename=cmdline_options.rulename,
83 if options.rulename:
84 output_file.write('// From "' + options.rulename + '"\n')
Dbuildflag_header.gni119 "--rulename",
/external/python/cpython3/Tools/peg_generator/pegen/
Dmetagrammar.gram53 | rulename memoflag? ":" alts NEWLINE INDENT more_alts DEDENT {
54 Rule(rulename[0], rulename[1], Rhs(alts.alts + more_alts.alts), memo=opt) }
55 | rulename memoflag? ":" NEWLINE INDENT more_alts DEDENT {
56 Rule(rulename[0], rulename[1], more_alts, memo=opt) }
57 | rulename memoflag? ":" alts NEWLINE { Rule(rulename[0], rulename[1], alts, memo=opt) }
59 rulename[RuleName]:
Dvalidator.py27 self.rulename = None
29 def validate_rule(self, rulename: str, node: Rule):
30 self.rulename = rulename
32 self.rulename = None
Dgrammar_parser.py170 (rulename := self.rulename())
186 …return Rule ( rulename [ 0 ] , rulename [ 1 ] , Rhs ( alts . alts + more_alts . alts ) , memo = op…
191 (rulename := self.rulename())
205 return Rule ( rulename [ 0 ] , rulename [ 1 ] , more_alts , memo = opt )
210 (rulename := self.rulename())
220 return Rule ( rulename [ 0 ] , rulename [ 1 ] , alts , memo = opt )
226 def rulename(self) -> Optional[RuleName]: member in GeneratedParser
Dc_generator.py429 for i, (rulename, rule) in enumerate(self.todo.items(), 1000):
433 for rulename, rule in self.todo.items():
443 for rulename, rule in list(self.todo.items()):
444 del self.todo[rulename]
582 rhs, is_loop=False, is_gather=node.is_gather(), rulename=node.name,
615 rhs, is_loop=True, is_gather=node.is_gather(), rulename=node.name,
678 self, node: Rhs, is_loop: bool, is_gather: bool, rulename: Optional[str]
683 self.visit(alt, is_loop=is_loop, is_gather=is_gather, rulename=rulename)
739 def handle_alt_normal(self, node: Alt, is_gather: bool, rulename: Optional[str]) -> None:
762 def handle_alt_loop(self, node: Alt, is_gather: bool, rulename: Optional[str]) -> None:
[all …]
Dparser_generator.py106 for rulename in todo:
107 self.todo[rulename].collect_todo(self)
204 for rulename, rhs in rules.items():
205 graph[rulename] = names = rhs.initial_names()
Dpython_generator.py150 for rulename, rule in list(self.todo.items()):
151 del self.todo[rulename]
/external/ply/ply/example/yply/
Dyparse.py137 rulename = rule[0]
141 print("def p_%s_%d(p):" % (rulename, rulecount))
152 embed_name = "_embed%d_%s" % (embed_count, rulename)
158 print(" '''%s : %s'''" % (rulename, " ".join(prod)))
/external/python/pycparser/pycparser/
Dplyparser.py35 def _create_opt_rule(self, rulename): argument
40 optname = rulename + '_opt'
45 optrule.__doc__ = '%s : empty\n| %s' % (optname, rulename)
/external/cronet/
DAndroid.bp70 "--rulename " +
93 "--rulename " +
117 "--rulename " +
140 "--rulename " +
164 "--rulename " +
187 "--rulename " +
211 "--rulename " +
234 "--rulename " +
258 "--rulename " +
281 "--rulename " +
[all …]
/external/cronet/android/tools/gn2bp/
DAndroid.bp.swp70 "--rulename " +
93 "--rulename " +
117 "--rulename " +
140 "--rulename " +
164 "--rulename " +
187 "--rulename " +
211 "--rulename " +
234 "--rulename " +
258 "--rulename " +
281 "--rulename " +
[all …]
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/tree/
DRewriteRuleElementStream.as66 * rule reference that this list tracks. Can include rulename too, but
/external/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/
DActionTranslator.g648 * Isolated $rulename is not allowed unless it has a dynamic scope *and*
649 * there is no reference to rulename in the enclosing alternative,