Skip to content

GenValueKind

1 min read

Import: import system.codegen;

GenValueKind

The category of a literal, constant, or attribute argument.

public enum GenValueKind

Unknown

No recognized value category was supplied by the snapshot.

Unknown

String

A string value, with its unquoted contents in the value field.

String

Int

A signed integer constant represented as decimal text.

Int

UInt

An unsigned integer constant represented as decimal text.

UInt

Float

A single-precision floating-point value.

Float

Double

A double-precision floating-point value.

Double

Bool

A Boolean value represented as true or false.

Bool

Char

A character literal.

Char

Long

A signed 64-bit integer literal.

Long

ULong

An unsigned 64-bit integer literal.

ULong

Float16

A half-precision floating-point literal.

Float16

Enum

An enum member represented by its qualified source name.

Enum