namespace
parsingLexing, preprocessing, and parsing functionality.
Classes
- class Lexer
- struct LexerOptions
- Contains various options that can control lexing behavior.
- struct NumericTokenFlags
- Various flags for numeric tokens.
- class Parser
- Implements a full syntax parser for SystemVerilog.
- class ParserBase
- struct ParserMetadata
- Various bits of metadata collected during parsing.
- struct ParserOptions
- Contains various options that can control parsing behavior.
- class Preprocessor
- struct PreprocessorOptions
- Contains various options that can control preprocessing behavior.
- class Token
- class Trivia
Enums
- enum class ProtectEncoding { UUEncode, Base64, QuotedPrintable, Raw }
- Possible encodings for encrypted text used in a pragma protect region.
- enum class KeywordVersion: uint8_t { v1364_1995 = 0, v1364_2001_noconfig = 1, v1364_2001 = 2, v1364_2005 = 3, v1800_2005 = 4, v1800_2009 = 5, v1800_2012 = 6, v1800_2017 = 7 }
Enum documentation
enum class slang:: parsing:: ProtectEncoding
#include <slang/parsing/Lexer.h>
Possible encodings for encrypted text used in a pragma protect region.
enum class slang:: parsing:: KeywordVersion: uint8_t
#include <slang/parsing/LexerFacts.h>
Different restricted sets of keywords that can be set using the `begin_keywords directive. The values of the enum correspond to indexes to allKeywords[] in LexerFacts.cpp