slang/ast/Lookup.h file

Symbol lookup logic.

Namespaces

namespace slang
Root namespace.
namespace slang::ast
The SystemVerilog AST.

Classes

class slang::ast::LookupLocation
This type denotes the ordering of symbols within a particular scope, for the purposes of determining whether a found symbol is visible compared to the given location.
struct slang::ast::LookupResult
A structure that contains the results of a name lookup operation.
struct slang::ast::LookupResult::MemberSelector
A structure that represents a selection of a single member from the resulting symbol found during a lookup operation.
class slang::ast::Lookup
Centralized functionality for looking up symbols by name in the AST.

Enums

enum class LookupFlags { None = 0, Type = 1 << 0, AllowDeclaredAfter = 1 << 1, DisallowWildcardImport = 1 << 2, NoUndeclaredError = 1 << 3, NoUndeclaredErrorIfUninstantiated = 1 << 4, TypedefTarget = 1 << 5, NoParentScope = 1 << 6, NoSelectors = 1 << 7, AllowRoot = 1 << 8, ForceHierarchical = AllowDeclaredAfter | NoUndeclaredErrorIfUninstantiated }
Additional modifiers for a lookup operation.