driver namespace
Frontend tool driver.
Classes
- class CompatSettings
- Collected settings for increasing compatibility with other tools.
- class Driver
- A top-level class that handles argument parsing, option preparation, and invoking various parts of the slang compilation process.
- struct SourceOptions
- Specifies options used when loading source files.
- class SourceLoader
- Handles loading and parsing of groups of source files.
Enums
- enum class PreprocessOutputFlags { None = 0, IncludeComments = 1 << 0, IncludeDirectives = 1 << 1, ObfuscateIds = 1 << 2, UseFixedObfuscationSeed = 1 << 3, IncludeSourceInfo = 1 << 4 }
- Flags that control output behavior when running the preprocessor directly.
Enum documentation
enum class slang:: driver:: PreprocessOutputFlags
#include <slang/driver/Driver.h>
Flags that control output behavior when running the preprocessor directly.
| Enumerators | |
|---|---|
| None |
No flags specified. |
| IncludeComments |
Include comments in the output. If not set, comments are stripped. |
| IncludeDirectives |
Include preprocessor directives in the output. If not set, directives are stripped. |
| ObfuscateIds |
Obfuscate identifiers in the output by replacing them with randomized alphanumeric strings. |
| UseFixedObfuscationSeed |
Obfuscated identifiers will be generated with a fixed randomization seed, meaning they will be the same every time the program is run. Used for testing. |
| IncludeSourceInfo |
Include source line information in the output. |