• Home
  • Raw
  • Download

Lines Matching defs:AllArgs

195 struct AllArgs {  struct
197 ark::PandArg<bool> opHelp {"help", false, "Print this message and exit"};
198 ark::PandArg<bool> opVersion {"version", false, "Print message with version and exit"};
201 ark::PandArg<std::string> inputExtension {"extension", "",
203 ark::PandArg<bool> opModule {"module", false, "Parse the input as module (JS only option)"};
204 ark::PandArg<bool> opParseOnly {"parse-only", false, "Parse the input only"};
205 ark::PandArg<bool> opDumpAst {"dump-ast", false, "Dump the parsed AST"};
206 ark::PandArg<bool> opDumpAstOnlySilent {"dump-ast-only-silent", false,
208 ark::PandArg<bool> opDumpCheckedAst {"dump-dynamic-ast", false,
210 …ndArg<bool> opListFiles {"list-files", false, "Print names of files that are part of compilation"};
213 ark::PandArg<bool> opDumpAssembly {"dump-assembly", false, "Dump pandasm"};
214 ark::PandArg<bool> opDebugInfo {"debug-info", false, "Compile with debug info"};
215 ark::PandArg<bool> opDumpDebugInfo {"dump-debug-info", false, "Dump debug info"};
216 … opOptLevel {"opt-level", 0, "Compiler optimization level (options: 0 | 1 | 2)", 0, MAX_OPT_LEVEL};
217 ark::PandArg<bool> opEtsModule {"ets-module", false, "Compile the input as ets-module"};
220 …:PandArg<bool> opEtsEnableAll {"ets-warnings-all", false, "Show performance-related ets-warnings"};
221 …> opEtsWerror {"ets-werror", false, "Treat all enabled performance-related ets-warnings as error"};
222 …l> opEtsSubsetWarnings {"ets-subset-warnings", false, "Show ETS-warnings that keep you in subset"};
223 ark::PandArg<bool> opEtsNonsubsetWarnings {"ets-nonsubset-warnings", false,
225 ark::PandArg<bool> opEtsSuggestFinal {"ets-suggest-final", false,
227 ark::PandArg<bool> opEtsProhibitTopLevelStatements {"ets-prohibit-top-level-statements", false,
229 ark::PandArg<bool> opEtsBoostEqualityStatement {"ets-boost-equality-statement", false,
231 ark::PandArg<bool> opEtsRemoveAsync {
233 ark::PandArg<bool> opEtsRemoveLambda {"ets-remove-lambda", false,
235 ark::PandArg<bool> opEtsImplicitBoxingUnboxing {
239 …rg<bool> opDebuggerEvalMode {"debugger-eval-mode", false, "Compile given file in evaluation mode"};
240 ark::PandArg<uint64_t> opDebuggerEvalLine {
242 ark::PandArg<std::string> opDebuggerEvalSource {"debugger-eval-source", "",
244 ark::PandArg<std::string> opDebuggerEvalPandaFiles {
248 ark::PandArg<int> opThreadCount {"thread", DEFAULT_THREAD_COUNT, "Number of worker threads"};
249 ark::PandArg<bool> opSizeStat {"dump-size-stat", false, "Dump size statistics"};
250 ark::PandArg<std::string> outputFile {"output", "", "Compiler binary output (.abc)"};
251 ark::PandArg<std::string> logLevel {"log-level", "error", "Log-level"};
252 ark::PandArg<std::string> stdLib {"stdlib", "", "Path to standard library"};
253 ark::PandArg<bool> genStdLib {"gen-stdlib", false, "Gen standard library"};
254 ark::PandArg<std::string> plugins {"plugins", "", "Plugins"};
255 ark::PandArg<std::string> skipPhases {"skip-phases", "", "Phases to skip"};
256 ark::PandArg<std::string> verifierWarnings {
267 ark::PandArg<std::string> verifierErrors {
283 ark::PandArg<bool> verifierAllChecks {
286 ark::PandArg<bool> verifierFullProgram {"verifier-full-program", false,
288 ark::PandArg<std::string> dumpBeforePhases {"dump-before-phases", "",
290 ark::PandArg<std::string> dumpEtsSrcBeforePhases {
292 ark::PandArg<std::string> dumpEtsSrcAfterPhases {
294 ark::PandArg<std::string> exitBeforePhase {"exit-before-phase", "",
296 ark::PandArg<std::string> exitAfterPhase {"exit-after-phase", "",
298 ark::PandArg<std::string> dumpAfterPhases {"dump-after-phases", "",
300 ark::PandArg<bool> opListPhases {"list-phases", false, "Dump list of available phases"};
303 ark::PandArg<std::string> inputFile {"input", "", "input file"};
305 ark::PandArg<std::string> arktsConfig;
308 explicit AllArgs(const char *argv0) in AllArgs() argument
314 …l ParseInputOutput(CompilationMode compilationMode, std::string &errorMsg, std::string &sourceFile, in ParseInputOutput()
355 void BindArgs(ark::PandArgParser &argparser) in BindArgs()
416 …tCompilerOptions(es2panda::CompilerOptions &compilerOptions, CompilationMode compilationMode) const in InitCompilerOptions()
480 static void PushingEnabledWarnings(es2panda::CompilerOptions &compilerOptions) in PushingEnabledWarnings()
505 void AddDebuggerEvaluationOptions(ark::PandArgParser &argparser) in AddDebuggerEvaluationOptions()
513 void InitDebuggerEvaluationCompilerOptions(es2panda::CompilerOptions &compilerOptions) const in InitDebuggerEvaluationCompilerOptions()