Home
last modified time | relevance | path

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

/external/python/cpython3/Parser/pgen/
Dautomata.py26 self.name = start.rule_name
108 def __init__(self, rule_name): argument
109 self.rule_name = rule_name
131 return "<%s: from %s>" % (self.__class__.__name__, self.rule_name)
346 def __init__(self, rule_name, nfa_set, final): argument
350 self.rule_name = rule_name
398 self.rule_name,
/external/antlr/runtime/Perl5/lib/ANTLR/Runtime/
DParser.pm79 my ($self, $rule_name, $rule_index) = @_;
81 $self->SUPER::trace_in($rule_name, $rule_index, $self->input->LT(1));
85 my ($self, $rule_name, $rule_index) = @_;
87 $self->SUPER::trace_out($rule_name, $rule_index, $self->input->LT(1));
DLexer.pm310 my ($self, $rule_name, $rule_index) = @_;
313 $self->SUPER::trace_in($rule_name, $rule_index, $input_symbol);
317 my ($self, $rule_name, $rule_index) = @_;
320 $self->SUPER::trace_out($rule_name, $rule_index, $input_symbol);
DBaseRecognizer.pm208 return 'rule ' . $e->rule_name . ' failed predicate: {'
576 my ($self, $rule_name, $rule_index, $input_symbol) = @_;
578 print "enter $rule_name $input_symbol";
591 my ($self, $rule_name, $rule_index, $input_symbol) = @_;
593 print "exit $rule_name $input_symbol";
/external/rust/crates/grpcio-sys/grpc/tools/buildgen/
Dextract_metadata_from_bazel_xml.py90 rule_name = rule_dict['name']
95 if rule_name in result:
96 raise Exception('Rule %s already present' % rule_name)
97 result[rule_name] = rule_dict
211 for rule_name in bazel_rules.keys():
212 transitive_deps[rule_name] = set(bazel_rules[rule_name]['deps'])
216 for rule_name in bazel_rules.keys():
217 old_deps = transitive_deps[rule_name]
222 transitive_deps[rule_name] = new_deps
227 for rule_name, bazel_rule in bazel_rules.items():
[all …]
/external/antlr/runtime/Ruby/lib/antlr3/debug/
Dtrace-event-listener.rb32 def enter_rule( grammar_file_name, rule_name ) argument
33 record "(%s): rule=%s", __method__, rule_name
36 def exit_rule( grammar_file_name, rule_name ) argument
37 record "(%s): rule=%s", __method__, rule_name
Devent-hub.rb111 def enter_rule( grammar_file_name, rule_name ) argument
113 listener.enter_rule( grammar_file_name, rule_name )
135 def exit_rule( grammar_file_name, rule_name ) argument
137 listener.exit_rule( grammar_file_name, rule_name )
Dsocket.rb101 def enter_rule( grammar_file_name, rule_name ) argument
102 transmit "%s\t%s\t%s", :enter_rule, grammar_file_name, rule_name
109 def exit_rule( grammar_file_name, rule_name ) argument
110 transmit "%s\t%s\t%s", :exit_rule, grammar_file_name, rule_name
/external/antlr/runtime/Ruby/lib/antlr3/
Drecognizers.rb456 "rule %s failed predicate: { %s }?" % [ e.rule_name, e.predicate_text ]
883 def trace_in( rule_name, rule_index, input_symbol )
884 @error_output.printf( "--> enter %s on %s", rule_name, input_symbol )
891 def trace_out( rule_name, rule_index, input_symbol )
892 @error_output.printf( "<-- exit %s on %s", rule_name, input_symbol )
1188 def trace_in( rule_name, rule_index )
1192 super( rule_name, rule_index, input_symbol )
1195 def trace_out( rule_name, rule_index )
1199 super( rule_name, rule_index, input_symbol )
1315 def trace_in( rule_name, rule_index )
[all …]
Ddebug.rb245 def in_rule( grammar_file, rule_name ) argument
247 @debug_listener.enter_rule( grammar_file, rule_name )
248 @state.rule_invocation_stack.push( grammar_file, rule_name )
252 @debug_listener.exit_rule( grammar_file, rule_name )
384 def enter_rule( grammar_file, rule_name ) argument
402 def exit_rule( grammar_file, rule_name ) argument
Dprofile.rb237 def enter_rule( grammar_file_name, rule_name ) argument
242 @profile.top_rule = rule_name
250 def exit_rule( grammar_file_name, rule_name ) argument
Derror.rb472 def initialize( input, rule_name, predicate_text ) argument
473 @rule_name = rule_name
Dtree.rb177 def trace_in( rule_name, rule_index ) argument
178 super( rule_name, rule_index, @input.look )
181 def trace_out( rule_name, rule_index ) argument
182 super( rule_name, rule_index, @input.look )
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Domains/
DtDomain_Rules.py233 rule_name = "".join(["self.rule_error_", "_", str(index)])
234 …out, err = self.pfw.sendCmd("setRule",self.domain_name,self.conf_1, rule_name, expectSuccess=False)
235 … None, "ERROR : command [setRule] - Error when setting incorrect format rule %s" % (str(rule_name))
236 … : command [setRule] - Error not detected when setting incorrect format rule %s" % (str(rule_name))
/external/ruy/cmake/
Dbazel_to_cmake.py207 def generic_rule(rule_name, **kwargs): argument
/external/perfetto/bazel/
Drules.bzl262 def _rule_override(rule_name, **kwargs):
264 overridden_rule = getattr(overrides, rule_name, None)