Home
last modified time | relevance | path

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

/external/antlr/runtime/Ruby/lib/antlr3/
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.rb111 self.top_rule = self.parser_class = self.grammar_file = nil
135 report << "| Rule source generated from grammar file #{ grammar_file }".ljust( 78 ) << " |\n"
240 @profile.grammar_file = grammar_file_name
Drecognizers.rb219 def generated_using( grammar_file, antlr_version, library_version = nil )
220 @grammar_file_name = grammar_file.freeze
/external/antlr/runtime/Perl5/t/lib/ANTLR/Runtime/
DTest.pm68 my $grammar_file = File::Spec->catfile($tmpdir, "$grammar_name.g");
69 write_file($grammar_file, $grammar);
89 …result = run_program([ File::Spec->catfile($cwd, 'tools', $antlr), '-o', $tmpdir, $grammar_file ]);
/external/antlr/runtime/Ruby/lib/antlr3/debug/
Drule-tracer.rb28 def enter_rule( grammar_file, name ) argument
41 def exit_rule( grammar_file, name ) argument
/external/python/cpython3/Lib/test/
Dtest_symbol.py24 def _generate_symbols(self, grammar_file, target_symbol_py_file): argument
27 grammar_file,
Dtest_keyword.py49 def _generate_keywords(self, grammar_file, target_keyword_py_file): argument
52 grammar_file,
/external/python/cpython3/Lib/lib2to3/
Dpatcomp.py40 def __init__(self, grammar_file=None): argument
45 if grammar_file is None:
49 self.grammar = driver.load_grammar(grammar_file)
/external/python/cpython2/Lib/lib2to3/
Dpatcomp.py40 def __init__(self, grammar_file=None): argument
45 if grammar_file is None:
49 self.grammar = driver.load_grammar(grammar_file)
/external/antlr/runtime/Perl5/t/
Dlexer.t14 sub grammar_file {
105 g_test_output_is({ grammar => scalar grammar_file('XMLLexer.g'), test_program => <<'CODE', expected…
/external/antlr/runtime/Ruby/lib/antlr3/test/
Dgrammar.rb232 grammar_file = File.dirname( path ) / foreign_grammar_name << '.g'
234 depends_on( grammar_file )