Lines Matching defs:AllArgs
148 struct AllArgs { struct
150 ark::PandArg<bool> opHelp {"help", false, "Print this message and exit"};
151 ark::PandArg<bool> opVersion {"version", false, "Print message with version and exit"};
154 ark::PandArg<std::string> inputExtension {"extension", "",
156 ark::PandArg<bool> opModule {"module", false, "Parse the input as module (JS only option)"};
157 ark::PandArg<bool> opParseOnly {"parse-only", false, "Parse the input only"};
158 ark::PandArg<bool> opDumpAst {"dump-ast", false, "Dump the parsed AST"};
159 ark::PandArg<bool> opDumpAstOnlySilent {"dump-ast-only-silent", false,
161 ark::PandArg<bool> opDumpCheckedAst {"dump-dynamic-ast", false,
163 …ndArg<bool> opListFiles {"list-files", false, "Print names of files that are part of compilation"};
166 ark::PandArg<bool> opDumpAssembly {"dump-assembly", false, "Dump pandasm"};
167 ark::PandArg<bool> opDebugInfo {"debug-info", false, "Compile with debug info"};
168 ark::PandArg<bool> opDumpDebugInfo {"dump-debug-info", false, "Dump debug info"};
169 … opOptLevel {"opt-level", 0, "Compiler optimization level (options: 0 | 1 | 2)", 0, MAX_OPT_LEVEL};
170 ark::PandArg<bool> opEtsModule {"ets-module", false, "Compile the input as ets-module"};
173 …:PandArg<bool> opEtsEnableAll {"ets-warnings-all", false, "Show performance-related ets-warnings"};
174 …> opEtsWerror {"ets-werror", false, "Treat all enabled performance-related ets-warnings as error"};
175 …l> opEtsSubsetWarnings {"ets-subset-warnings", false, "Show ETS-warnings that keep you in subset"};
176 ark::PandArg<bool> opEtsNonsubsetWarnings {"ets-nonsubset-warnings", false,
178 ark::PandArg<bool> opEtsSuggestFinal {"ets-suggest-final", false,
180 ark::PandArg<bool> opEtsProhibitTopLevelStatements {"ets-prohibit-top-level-statements", false,
182 ark::PandArg<bool> opEtsBoostEqualityStatement {"ets-boost-equality-statement", false,
184 ark::PandArg<bool> opEtsRemoveAsync {
186 ark::PandArg<bool> opEtsRemoveLambda {"ets-remove-lambda", false,
188 ark::PandArg<bool> opEtsImplicitBoxingUnboxing {
192 ark::PandArg<int> opThreadCount {"thread", DEFAULT_THREAD_COUNT, "Number of worker threads"};
193 ark::PandArg<bool> opSizeStat {"dump-size-stat", false, "Dump size statistics"};
194 ark::PandArg<std::string> outputFile {"output", "", "Compiler binary output (.abc)"};
195 ark::PandArg<std::string> logLevel {"log-level", "error", "Log-level"};
196 ark::PandArg<std::string> stdLib {"stdlib", "", "Path to standard library"};
197 ark::PandArg<bool> genStdLib {"gen-stdlib", false, "Gen standard library"};
198 ark::PandArg<std::string> plugins {"plugins", "", "Plugins"};
199 ark::PandArg<std::string> skipPhases {"skip-phases", "", "Phases to skip"};
200 ark::PandArg<std::string> verifierWarnings {
210 ark::PandArg<std::string> verifierErrors {
224 ark::PandArg<bool> verifierAllChecks {
227 ark::PandArg<bool> verifierFullProgram {"verifier-full-program", false,
229 ark::PandArg<std::string> dumpBeforePhases {"dump-before-phases", "",
231 ark::PandArg<std::string> dumpEtsSrcBeforePhases {
233 ark::PandArg<std::string> dumpEtsSrcAfterPhases {
235 ark::PandArg<std::string> dumpAfterPhases {"dump-after-phases", "",
239 ark::PandArg<std::string> inputFile {"input", "", "input file"};
241 ark::PandArg<std::string> arktsConfig;
244 explicit AllArgs(const char *argv0) in AllArgs() function
250 …l ParseInputOutput(CompilationMode compilationMode, std::string &errorMsg, std::string &sourceFile, in ParseInputOutput()
280 void BindArgs(ark::PandArgParser &argparser) in BindArgs()
336 …tCompilerOptions(es2panda::CompilerOptions &compilerOptions, CompilationMode compilationMode) const in InitCompilerOptions()
397 static void PushingEnabledWarnings(es2panda::CompilerOptions &compilerOptions) in PushingEnabledWarnings()