TokenValue

constructor()

Allocate a new TokenValue.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.


constructor(scope: <Error class: unknown class>)

Allocate a new TokenValue using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

scope

The AutofreeScope to allocate this structure in.


constructor(vSymbol: <Error class: unknown class>, vIdentifier: String?, vBinary: <Error class: unknown class>, vOctal: <Error class: unknown class>, vInt: <Error class: unknown class>, vInt64: <Error class: unknown class>, vFloat: <Error class: unknown class>, vHex: <Error class: unknown class>, vString: String?, vComment: String?, vChar: <Error class: unknown class>, vError: <Error class: unknown class>)

Allocate a new TokenValue.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.

Parameters

vSymbol

token symbol value

vIdentifier

token identifier value

vBinary

token binary integer value

vOctal

octal integer value

vInt

integer value

vInt64

64-bit integer value

vFloat

floating point value

vHex

hex integer value

vString

string value

vComment

comment value

vChar

character value

vError

error value


constructor(vSymbol: <Error class: unknown class>, vIdentifier: String?, vBinary: <Error class: unknown class>, vOctal: <Error class: unknown class>, vInt: <Error class: unknown class>, vInt64: <Error class: unknown class>, vFloat: <Error class: unknown class>, vHex: <Error class: unknown class>, vString: String?, vComment: String?, vChar: <Error class: unknown class>, vError: <Error class: unknown class>, scope: <Error class: unknown class>)

Allocate a new TokenValue using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

vSymbol

token symbol value

vIdentifier

token identifier value

vBinary

token binary integer value

vOctal

octal integer value

vInt

integer value

vInt64

64-bit integer value

vFloat

floating point value

vHex

hex integer value

vString

string value

vComment

comment value

vChar

character value

vError

error value

scope

The AutofreeScope to allocate this structure in.


constructor(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)