Lines Matching refs:options
137 def convert (file_name, options): argument
147 lexer.expandHeaders = not options.ignore_includes
148 lexer.includeDirs = options.include_path
149 lexer.stopOnHeader = options.stopOnHeader
150 lexer.debugMacro = options.debug_macro
151 if options.debug_lexer:
164 parser.only_expand_macros = options.only_expand_macros
165 if options.debug_parser:
177 if not options.dry_run:
181 def dry_one_file (file_name, options): argument
183 str = convert(file_name, options)
186 if options.keep_going:
217 def do_one_file (file_name, options): argument
219 str += convert(file_name, options)
222 if options.post_process:
225 if options.output_dir:
228 out_name = options.output_dir + '/' + root + '.xml'
237 (options, files) = option_parser ().parse_args ()
242 if options.dry_run:
243 dry_one_file (f, options)
245 do_one_file (f, options)