slang::SemanticFacts class

Specifies behavior of a primitive port.

Contents

Public static functions

static auto getVariableLifetime(Token token) -> std::optional<VariableLifetime>
Interprets a keyword token as a variable lifetime value.
static auto getDirection(TokenKind kind) -> ArgumentDirection
Interprets a token type as an argument direction value.