slang/ast/Symbol.h file

Base class for all elaborated symbols.

Namespaces

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

Classes

class slang::ast::Symbol
Base class for all symbols (logical code constructs) such as modules, types, functions, variables, etc.

Enums

enum class SymbolKind { Unknown, Root, Definition, CompilationUnit, DeferredMember, TransparentMember, EmptyMember, PredefinedIntegerType, ScalarType, FloatingType, EnumType, EnumValue, PackedArrayType, FixedSizeUnpackedArrayType, DynamicArrayType, DPIOpenArrayType, AssociativeArrayType, QueueType, PackedStructType, UnpackedStructType, PackedUnionType, UnpackedUnionType, ClassType, CovergroupType, VoidType, NullType, CHandleType, StringType, EventType, UnboundedType, TypeRefType, UntypedType, SequenceType, PropertyType, VirtualInterfaceType, TypeAlias, ErrorType, ForwardingTypedef, NetType, Parameter, TypeParameter, Port, MultiPort, InterfacePort, Modport, ModportPort, ModportClocking, Instance, InstanceBody, InstanceArray, Package, ExplicitImport, WildcardImport, Attribute, Genvar, GenerateBlock, GenerateBlockArray, ProceduralBlock, StatementBlock, Net, Variable, FormalArgument, Field, ClassProperty, Subroutine, ContinuousAssign, ElabSystemTask, GenericClassDef, MethodPrototype, UninstantiatedDef, Iterator, PatternVar, ConstraintBlock, DefParam, Specparam, Primitive, PrimitivePort, PrimitiveInstance, SpecifyBlock, Sequence, Property, AssertionPort, ClockingBlock, ClockVar, LocalAssertionVar, LetDecl, Checker, CheckerInstance, CheckerInstanceBody, RandSeqProduction, CovergroupBody, Coverpoint, CoverCross, CoverCrossBody, CoverageBin, TimingPath, PulseStyle, SystemTimingCheck, AnonymousProgram, NetAlias, ConfigBlock }
Enumerates possible kinds of symbols.
enum class SymbolIndex: uint32_t { }
A numeric index that can be used to compare the relative ordering of symbols within a single lexical scope.