MCPcopy Create free account
hub / github.com/chipsalliance/Surelog / CommandLineParser

Method CommandLineParser

src/CommandLine/CommandLineParser.cpp:362–446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360}
361
362CommandLineParser::CommandLineParser(ErrorContainer* errors,
363 SymbolTable* symbolTable,
364 bool diffCompMode /* = false */,
365 bool fileUnit /* = false */)
366 : m_writePpOutput(false),
367 m_filterFileLine(true),
368 m_debugLevel(0),
369 m_errors(errors),
370 m_symbolTable(symbolTable),
371 m_lineOffsetsAsComments(false),
372 m_liborder(false),
373 m_librescan(false),
374 m_libverbose(false),
375 m_nolibcell(false),
376 m_muteStdout(false),
377 m_verbose(false),
378 m_fileUnit(fileUnit),
379 m_filterSimpleDirectives(false),
380 m_filterProtectedRegions(false),
381 m_filterComments(false),
382 m_parse(false),
383 m_parseOnly(false),
384 m_compile(false),
385 m_elaborate(false),
386 m_parametersubstitution(true),
387 m_letexprsubstitution(true),
388 m_diffCompMode(diffCompMode),
389 m_help(false),
390 m_cacheAllowed(true),
391 m_writeCache(true),
392 m_precompiledCacheAllowed(true),
393 m_debugCache(false),
394 m_debugFSConfig(false),
395 m_nbMaxTreads(0),
396 m_nbMaxProcesses(0),
397 m_note(true),
398 m_info(true),
399 m_warning(true),
400 m_pythonListener(false),
401 m_debugAstModel(false),
402 m_debugInstanceTree(false),
403 m_debugLibraryDef(false),
404 m_useTbb(false),
405#ifdef SURELOG_WITH_PYTHON
406 m_pythonAllowed(true),
407#else
408 m_pythonAllowed(false),
409#endif
410 m_nbLinesForFileSplitting(10000000),
411 m_pythonEvalScriptPerFile(false),
412 m_pythonEvalScript(false),
413 m_debugIncludeFileInfo(false),
414 m_createCache(false),
415 m_profile(false),
416 m_parseBuiltIn(true),
417 m_ppOutputFileLocation(false),
418 m_ppPrintLineInfo(false),
419 m_sverilog(false),

Callers

nothing calls this directly

Calls 2

registerCmdLineMethod · 0.80
registerSymbolMethod · 0.45

Tested by

no test coverage detected