Home
last modified time | relevance | path

Searched refs:rule_name (Results 1 – 25 of 33) sorted by relevance

12

/third_party/boost/boost/spirit/home/x3/nonterminal/
Drule.hpp190 #define BOOST_SPIRIT_DEFINE_(r, data, rule_name) \ argument
191 using BOOST_PP_CAT(rule_name, _synonym) = decltype(rule_name); \
194 BOOST_PP_CAT(rule_name, _synonym) /* rule_ */ \
196 , Context const& context, BOOST_PP_CAT(rule_name, _synonym)::attribute_type& attr) \
199 static auto const def_ = (rule_name = BOOST_PP_CAT(rule_name, _def)); \
204 #define BOOST_SPIRIT_DEFINE_(r, data, rule_name) \ argument
207 decltype(rule_name) /* rule_ */ \
209 , Context const& context, decltype(rule_name)::attribute_type& attr) \
212 static auto const def_ = (rule_name = BOOST_PP_CAT(rule_name, _def)); \
Dsimple_trace.hpp80 , std::string const& rule_name) const in operator ()()
87 << '<' << rule_name << '>' in operator ()()
106 << "</" << rule_name << '>' in operator ()()
115 << "</" << rule_name << '>' in operator ()()
/third_party/python/Lib/test/test_peg_generator/
Dtest_grammar_validator.py22 for rule_name, rule in grammar.rules.items():
23 validator.validate_rule(rule_name, rule)
35 for rule_name, rule in grammar.rules.items():
36 validator.validate_rule(rule_name, rule)
50 for rule_name, rule in grammar.rules.items():
51 validator.validate_rule(rule_name, rule)
/third_party/boost/boost/spirit/home/karma/nonterminal/
Ddebug_handler.hpp37 debug_handler(function_type subject, F f, std::string const& rule_name) in debug_handler()
40 , rule_name(rule_name) in debug_handler()
49 f (sink, context, pre_generate, rule_name, buffer); in operator ()()
57 f (sink, context, successful_generate, rule_name, buffer); in operator ()()
61 f (sink, context, failed_generate, rule_name, buffer); in operator ()()
67 std::string rule_name; member
Dsimple_trace.hpp68 , State state, std::string const& rule_name in operator ()()
77 << '<' << rule_name << '>' << std::endl; in operator ()()
118 << "</" << rule_name << '>' << std::endl; in operator ()()
127 << "</" << rule_name << '>' << std::endl; in operator ()()
/third_party/boost/boost/spirit/home/qi/nonterminal/
Ddebug_handler.hpp44 , rule_name(rule_name_) in debug_handler()
52 f(first, last, context, pre_parse, rule_name); in operator ()()
57 f(first, last, context, successful_parse, rule_name); in operator ()()
60 f(first, last, context, failed_parse, rule_name); in operator ()()
64 f(first, last, context, failed_parse, rule_name); in operator ()()
72 std::string rule_name; member
Dsimple_trace.hpp89 , std::string const& rule_name) const in operator ()()
96 << '<' << rule_name << '>' in operator ()()
119 << "</" << rule_name << '>' in operator ()()
127 << "</" << rule_name << '>' in operator ()()
/third_party/boost/boost/spirit/home/x3/nonterminal/detail/
Drule.hpp65 char const* rule_name in context_debug()
70 : ok_parse(ok_parse), rule_name(rule_name) in context_debug()
75 f(first, last, attr, pre_parse, rule_name); in context_debug()
81 f(first, last, attr, status, rule_name); in ~context_debug()
85 char const* rule_name; member
300 , char const* rule_name in call_rule_definition()
305 boost::ignore_unused(rule_name); in call_rule_definition()
329 dbg(rule_name, first, last, attr_, ok_parse); in call_rule_definition()
/third_party/grpc/tools/buildgen/
Dextract_metadata_from_bazel_xml.py71 rule_name = rule_dict['name']
76 if rule_name in result:
77 raise Exception('Rule %s already present' % rule_name)
78 result[rule_name] = rule_dict
186 for rule_name in bazel_rules.iterkeys():
187 transitive_deps[rule_name] = set(bazel_rules[rule_name]['deps'])
191 for rule_name in bazel_rules.iterkeys():
192 old_deps = transitive_deps[rule_name]
197 transitive_deps[rule_name] = new_deps
202 for rule_name, bazel_rule in bazel_rules.iteritems():
[all …]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/
Dmsvs.py564 rule_name = r['rule_name']
573 rules_file.AddCustomBuildRule(name=rule_name,
574 description=r.get('message', rule_name),
2183 extension_to_rule_name[msbuild_rule.extension] = msbuild_rule.rule_name
2230 self.rule_name = re.sub(r'\W', '_', self.display_name)
2234 self.target_name = '_' + self.rule_name
2235 self.after_targets = self.rule_name + 'AfterTargets'
2236 self.before_targets = self.rule_name + 'BeforeTargets'
2237 self.depends_on = self.rule_name + 'DependsOn'
2238 self.compute_output = 'Compute%sOutput' % self.rule_name
[all …]
Dninja.py608 rule_name, _ = self.WriteNewNinjaRule(name, args, description,
620 self.ninja.build(outputs, rule_name, inputs,
648 rule_name, args = self.WriteNewNinjaRule(
736 self.ninja.build(outputs, rule_name, self.GypPathToNinja(source),
1552 rule_name = self.name
1554 rule_name += '.' + self.toolset
1555 rule_name += '.' + name
1556 rule_name = re.sub('[^a-zA-Z0-9_]', '_', rule_name)
1572 rspfile = rule_name + '.$unique_name.rsp'
1590 self.ninja.rule(rule_name, command, description, depfile=depfile,
[all …]
Dcmake.py347 rule_name = StringToCMakeTargetName(target_name + '__' + rule['rule_name'])
350 inputs_name = rule_name + '__input'
357 action_name = rule_name + '_' + str(count)
430 output.write(rule_name)
445 extra_deps.append(rule_name)
/third_party/ninja/src/
Deval_env.cc37 const Rule* BindingEnv::LookupRuleCurrentScope(const string& rule_name) { in LookupRuleCurrentScope() argument
38 map<string, const Rule*>::iterator i = rules_.find(rule_name); in LookupRuleCurrentScope()
44 const Rule* BindingEnv::LookupRule(const string& rule_name) { in LookupRule() argument
45 map<string, const Rule*>::iterator i = rules_.find(rule_name); in LookupRule()
49 return parent_->LookupRule(rule_name); in LookupRule()
Dclean.cc260 const char* rule_name = rules[i]; in CleanRules() local
261 const Rule* rule = state_->bindings_.LookupRule(rule_name); in CleanRules()
264 printf("Rule %s\n", rule_name); in CleanRules()
267 Error("unknown rule '%s'", rule_name); in CleanRules()
Deval_env.h90 const Rule* LookupRule(const string& rule_name);
91 const Rule* LookupRuleCurrentScope(const string& rule_name);
Ddyndep_parser.cc156 string rule_name; in ParseEdge() local
157 if (!lexer_.ReadIdent(&rule_name) || rule_name != "dyndep") in ParseEdge()
Dmanifest_parser.cc245 string rule_name; in ParseEdge() local
246 if (!lexer_.ReadIdent(&rule_name)) in ParseEdge()
249 const Rule* rule = env_->LookupRule(rule_name); in ParseEdge()
251 return lexer_.Error("unknown build rule '" + rule_name + "'", err); in ParseEdge()
/third_party/node/tools/gyp/pylib/gyp/generator/
Dmsvs.py623 rule_name = r["rule_name"]
632 name=rule_name,
633 description=r.get("message", rule_name),
2348 extension_to_rule_name[msbuild_rule.extension] = msbuild_rule.rule_name
2396 self.rule_name = re.sub(r"\W", "_", self.display_name)
2400 self.target_name = "_" + self.rule_name
2401 self.after_targets = self.rule_name + "AfterTargets"
2402 self.before_targets = self.rule_name + "BeforeTargets"
2403 self.depends_on = self.rule_name + "DependsOn"
2404 self.compute_output = "Compute%sOutput" % self.rule_name
[all …]
Dninja.py674 rule_name, _ = self.WriteNewNinjaRule(
686 self.ninja.build(outputs, rule_name, inputs, order_only=prebuild)
723 rule_name, args = self.WriteNewNinjaRule(
827 rule_name,
1933 rule_name = self.name
1935 rule_name += "." + self.toolset
1936 rule_name += "." + name
1937 rule_name = re.sub("[^a-zA-Z0-9_]", "_", rule_name)
1953 rspfile = rule_name + ".$unique_name.rsp"
1976 rule_name,
[all …]
Dcmake.py354 rule_name = StringToCMakeTargetName(target_name + "__" + rule["rule_name"])
357 inputs_name = rule_name + "__input"
367 action_name = rule_name + "_" + str(count)
442 output.write(rule_name)
457 extra_deps.append(rule_name)
/third_party/python/Tools/peg_generator/pegen/
Dvalidator.py51 for rule_name, rule in the_grammar.rules.items():
52 validator.validate_rule(rule_name, rule)
/third_party/boost/tools/build/src/build/
Dtype.py118 def type_from_rule_name(rule_name): argument
119 assert isinstance(rule_name, basestring)
120 return rule_name.upper().replace("-", "_")
Dproject.py650 def glob_internal(self, project, wildcards, excludes, rule_name): argument
656 assert isinstance(rule_name, basestring)
660 callable = b2.util.path.__dict__[rule_name]
669 if has_dir or rule_name != "glob":
999 rule_name = type.lower().replace("_", "-")
1009 self.add_rule(rule_name, xpto)
/third_party/boost/tools/build/src/engine/
Dbuiltins.cpp1165 OBJECT * rule_name ) in unknown_rule() argument
1172 out_printf( ": rule \"%s\" unknown in ", object_str( rule_name ) ); in unknown_rule()
1619 LIST * rule_name = lol_get( frame->args, 1 ); in builtin_native_rule() local
1625 module->native_rules, list_front( rule_name ) ) ) ) in builtin_native_rule()
1633 object_str( list_front( rule_name ) ), object_str( module->name ) ); in builtin_native_rule()
1644 LIST * rule_name = lol_get( frame->args, 1 ); in builtin_has_native_rule() local
1651 module->native_rules, list_front( rule_name ) ) ) ) in builtin_has_native_rule()
2163 OBJECT * rule_name; in bjam_import_rule() local
2180 rule_name = object_new( rule ); in bjam_import_rule()
2181 new_rule_body( m, rule_name, function_python( func, bjam_signature ), 0 ); in bjam_import_rule()
[all …]
Dcompile.cpp51 void unknown_rule( FRAME *, char const * key, module_t *, OBJECT * rule_name );

12