Range

constructor()

Allocate a new Range.

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 Range 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(start: <Error class: unknown class>, end: <Error class: unknown class>)

Allocate a new Range.

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

Parameters

start

the start of the range

end

the end of the range


constructor(start: <Error class: unknown class>, end: <Error class: unknown class>, scope: <Error class: unknown class>)

Allocate a new Range using the provided AutofreeScope.

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

Parameters

start

the start of the range

end

the end of the range

scope

The AutofreeScope to allocate this structure in.


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