ParseLocation
Allocate a new ParseLocation.
This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.
Allocate a new ParseLocation using the provided AutofreeScope.
The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped
.
Parameters
The AutofreeScope to allocate this structure in.
Allocate a new ParseLocation.
This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.
Parameters
the offset of the location in the parse buffer, as bytes
the offset of the location in the parse buffer, as characters
the line of the location in the parse buffer
the position in the line, as bytes
the position in the line, as characters
Allocate a new ParseLocation using the provided AutofreeScope.
The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped
.
Parameters
the offset of the location in the parse buffer, as bytes
the offset of the location in the parse buffer, as characters
the line of the location in the parse buffer
the position in the line, as bytes
the position in the line, as characters
The AutofreeScope to allocate this structure in.