/external/python/cpython3/Lib/test/test_peg_generator/ |
D | test_pegen.py | 88 parser_class = make_parser(grammar) 89 node = parse_string("42\n", parser_class) 94 node = parse_string("1, 2\n", parser_class) 109 parser_class = make_parser(grammar) 110 node = parse_string("42\n", parser_class) 122 parser_class = make_parser(grammar) 123 node = parse_string("1+2\n", parser_class) 134 node = parse_string("1\n", parser_class) 146 parser_class = make_parser(grammar) 147 node = parse_string("1+\n", parser_class) [all …]
|
/external/python/cpython3/Tools/peg_generator/pegen/ |
D | testutil.py | 39 def run_parser(file: IO[bytes], parser_class: Type[Parser], *, verbose: bool = False) -> Any: 42 parser = parser_class(tokenizer, verbose=verbose) 50 source: str, parser_class: Type[Parser], *, dedent: bool = True, verbose: bool = False 56 return run_parser(file, parser_class, verbose=verbose) # type: ignore # typeshed issue #3515
|
D | parser.py | 241 def simple_parser_main(parser_class: Type[Parser]) -> None: 271 parser = parser_class(tokenizer, verbose=verbose_parser)
|
/external/antlr/runtime/Ruby/lib/antlr3/ |
D | profile.rb | 111 self.top_rule = self.parser_class = self.grammar_file = nil 134 report << "| Profiled #{ parser_class.name }##{ top_rule }".ljust( 78 ) << " |\n" 241 @profile.parser_class = @parser.class
|
D | main.rb | 374 def initialize( parser_class, options = {} ) argument 378 @parser_class = parser_class
|
/external/python/cpython2/Lib/test/ |
D | test_argparse.py | 168 cls.parser_class = ErrorRaisingArgumentParser 232 parser = tester.parser_class(*args, **kwargs) 1404 parser_class = FromFileConverterArgumentParser variable in TestArgumentsFromFileConverter 4184 parser_class=argparse.ArgumentParser)
|
/external/python/cpython2/Lib/ |
D | argparse.py | 1040 parser_class, argument 1046 self._parser_class = parser_class
|
/external/llvm-project/polly/utils/ |
D | argparse.py | 1063 parser_class, argument 1069 self._parser_class = parser_class
|
/external/python/cpython3/Lib/test/ |
D | test_argparse.py | 154 cls.parser_class = ErrorRaisingArgumentParser 218 parser = tester.parser_class(*args, **kwargs) 1510 parser_class = FromFileConverterArgumentParser variable in TestArgumentsFromFileConverter 4508 parser_class=argparse.ArgumentParser)
|
/external/python/cpython3/Lib/ |
D | argparse.py | 1137 parser_class, argument 1144 self._parser_class = parser_class
|
/external/python/cpython3/Doc/library/ |
D | argparse.rst | 1602 [parser_class], [action], \ 1631 * parser_class - class which will be used to create sub-parser instances, by
|
/external/python/cpython2/Doc/library/ |
D | argparse.rst | 1489 [parser_class], [action], \ 1518 * parser_class - class which will be used to create sub-parser instances, by
|