Lines Matching refs:options
66 private static options: commandLineArgs.CommandLineOptions; property in CmdOptions
69 if (!this.options) {
72 return this.options["display-typeinfo"];
76 if (!this.options) {
79 return this.options["debug-log"];
83 if (!this.options) {
86 return this.options["dump-assembly"];
90 if (!this.options) {
93 return this.options["debug"];
97 this.options["debug-add-watch"] = watchArgs;
101 if (!this.options) {
104 return this.options["keep-persistent-watch"];
120 if (!this.options) {
123 return this.options["debug-add-watch"].length != 0;
127 return this.options["debug-add-watch"][0];
131 return this.options["debug-add-watch"][1];
135 if (this.options["debug-add-watch"].length === 2) {
138 return this.options["debug-add-watch"][2];
142 if (!this.options) {
145 …if (this.options["expression-watch-toolchain"] && this.options["expression-watch-toolchain"] != "e…
152 if (!this.options) {
155 return this.options["input-file"].length != 0;
159 return this.options["input-file"];
163 if (!this.options) {
167 if (this.options["commonjs"] && this.options["modules"]) {
171 return this.options["commonjs"];
175 if (!this.options) {
179 if (this.options["modules"] && this.options["commonjs"]) {
183 return this.options["modules"];
187 return this.options["opt-level"];
191 return this.options["opt-log-level"];
195 if (!this.options) {
198 …return this.options["show-statistics"].includes("ast") || this.options["show-statistics"].includes…
202 if (!this.options) {
205 …return this.options["show-statistics"].includes("all") || this.options["show-statistics"].includes…
209 if (!this.options) {
212 …return this.options["show-statistics"].includes("all") || this.options["show-statistics"].includes…
222 let outputFile = this.options.output;
230 if (!this.options) {
233 this.options["merge-abc"] = mergeAbcMode;
237 if (!this.options || !this.options["merge-abc"]) {
241 return this.options["record-name"];
245 if (!this.options) {
248 return this.options["timeout"];
252 if (!this.options) {
255 return this.options["output-type"];
276 if (!this.options) {
279 return this.options["bc-version"];
289 if (!this.options) {
292 return this.options["bc-min-version"];
296 if (!this.options) {
300 return this.options["included-files"];
304 if (!this.options) {
308 return !this.options["record-type"];
312 if (!this.options) {
315 return this.options["dts-type-record"];
319 if (!this.options) {
322 return this.options["dts-builtin-type-record"];
326 if (!this.options) {
329 return this.options["debug-type"];
333 if (!this.options) {
336 return this.options["function-sourcecode"];
340 return this.options["source-file"];
344 if (!this.options || !this.options["merge-abc"]) {
348 return this.options["package-name"];
352 if (!this.options) {
355 return this.options["generate-tmp-file"];
359 if (!this.options) {
362 return this.options["output-proto"];
366 if (!this.options) {
369 return this.options["merge-abc"]
373 if (!this.options) {
376 return this.options["oh-modules"]
381 this.options = commandLineArgs(ts2pandaOptions, { partial: true });
382 if (this.options.help) {
392 if (!this.options._unknown) {
398 this.parsedResult = ts.parseCommandLine(this.options._unknown!);
403 this.options = commandLineArgs(ts2pandaOptions, { partial: true });
404 … if (this.options.help || this.isBcVersion() || this.isBcMinVersion() || !this.options._unknown) {
407 this.parsedResult = ts.parseCommandLine(this.options._unknown!);
408 return this.parsedResult.options["lib"];