Home
last modified time | relevance | path

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

/external/python/cpython3/Tools/peg_generator/pegen/
Dbuild.py104 grammar_file: str, verbose_tokenizer: bool = False, verbose_parser: bool = False
106 with open(grammar_file) as file:
112 raise parser.make_syntax_error(grammar_file)
148 grammar_file: str,
162 gen.generate(grammar_file)
176 grammar: Grammar, grammar_file: str, output_file: str, skip_actions: bool = False,
180 gen.generate(grammar_file)
185 grammar_file: str,
213 grammar, parser, tokenizer = build_parser(grammar_file, verbose_tokenizer, verbose_parser)
216 grammar_file,
[all …]
Dfirst_sets.py142 grammar, parser, tokenizer = build_parser(args.grammar_file)
/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/deqp-deps/SPIRV-Headers/tools/buildHeaders/bin/
DmakeExtinstHeaders.py10 def mk_extinst(name, grammar_file): argument
16 '--extinst-grammar=' + grammar_file,
/external/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/bin/
DmakeExtinstHeaders.py10 def mk_extinst(name, grammar_file): argument
16 '--extinst-grammar=' + grammar_file,
/external/angle/third_party/vulkan-deps/spirv-headers/src/tools/buildHeaders/bin/
DmakeExtinstHeaders.py10 def mk_extinst(name, grammar_file): argument
16 '--extinst-grammar=' + 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.py27 def _generate_symbols(self, grammar_file, target_symbol_py_file): argument
30 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/python/cpython3/Parser/pgen/
Dpgen.py133 def __init__(self, grammar_file, token_file, verbose=False, graph_file=None): argument
134 with open(grammar_file) as f:
143 self.filename = 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 )
/external/python/cpython3/Tools/peg_generator/scripts/
Dgrammar_grapher.py91 grammar, parser, tokenizer = build_parser(args.grammar_file)
/external/angle/src/common/spirv/
Dgen_spirv_builder_and_parser.py158 def load_grammar(grammar_file): argument
159 with open(grammar_file) as grammar_in:
/external/deqp-deps/SPIRV-Tools/
DBUILD.gn193 rebase_path(invoker.grammar_file, root_build_dir),
198 invoker.grammar_file,
283 grammar_file = "${spirv_headers}/include/spirv/unified1/extinst.debuginfo.grammar.json"
287 grammar_file = "${spirv_headers}/include/spirv/unified1/extinst.opencl.debuginfo.100.grammar.json"
/external/swiftshader/third_party/SPIRV-Tools/
DBUILD.gn193 rebase_path(invoker.grammar_file, root_build_dir),
198 invoker.grammar_file,
283 grammar_file = "${spirv_headers}/include/spirv/unified1/extinst.debuginfo.grammar.json"
287 grammar_file = "${spirv_headers}/include/spirv/unified1/extinst.opencl.debuginfo.100.grammar.json"
/external/angle/third_party/vulkan-deps/spirv-tools/src/
DBUILD.gn195 rebase_path(invoker.grammar_file, root_build_dir),
199 inputs = [ invoker.grammar_file ]
295 grammar_file =
300 grammar_file = "${spirv_headers}/include/spirv/unified1/extinst.opencl.debuginfo.100.grammar.json"
304 grammar_file = "source/extinst.nonsemantic.vulkan.debuginfo.100.grammar.json"