Lines Matching refs:_options
31 _options = {} variable in AbstractL10nTool
42 return self._options.pattern
69 …Ext': file, 'language': language, 'extension': extension, 'path_prefix': self._options.path_prefix,
70 'path_postfix': self._options.path_postfix, 'path': self.get_path() }
77 if self._options.outputfile.find('/') == -1:
80 return self._options.outputfile[:self._options.outputfile.rfind('/')]
85 if self._options.languages:
86 langset = PseudoSet(self._options.languages)
87 if self._options.forcedlanguages:
88 forcedset = PseudoSet(self._options.forcedlanguages)
95 filelist = self._options.inputfile
110 return self._options.inputfile[0] == '@'
131 f = open(self._options.outputfile, "w+")
132 f.write(self.extract_file(self._options.inputfile))
134 print("ERROR: Can not write file " + self._options.outputfile)
152 (self._options, self.args) = parser.parse_args()
157 if self._options.forcedlanguages:
158 self._options.forcedlanguages = parse_complex_arg(self._options.forcedlanguages)
159 if self._options.languages:
160 self._options.languages = parse_complex_arg(self._options.languages)
165 if self._options.input_sdf_file != None and len(self._options.input_sdf_file):
166 sdfdata = SdfData(self._options.input_sdf_file)
188 opt = self._options
201 f = open(self._options.inputfile[1:], "r")
204 print("ERROR: Can not read file list " + self._options.inputfile[2:])
212 absroot = os.path.realpath(os.path.abspath(self._options.project_root))