Skip to content

GenSymbolKind

1 min read

Import: import system.codegen;

GenSymbolKind

The category of a symbol in a generator snapshot.

public enum GenSymbolKind

Unknown

No recognized symbol category was supplied by the snapshot.

Unknown

Class

A reference type declaration.

Class

Struct

A value type declaration.

Struct

Enum

An enum declaration or enum symbol.

Enum

Union

A discriminated union declaration.

Union

Interface

An interface declaration.

Interface

Function

A function that can be referenced or called.

Function

Type

A type name used in a construction or type expression.

Type

Local

A variable declared inside a function.

Local

Parameter

An argument binding declared by a function.

Parameter

Global

A variable declared at module level.

Global

Field

A stored member of an instance.

Field

Method

A callable member of a type.

Method

Variant

An enum member or discriminated-union choice.

Variant

Module

A namespace containing declarations.

Module