Module.loadSourceBuffer

Loads the source buffer from the given read result into this.srcBuffer.

Will take ownership of the buffer located inside readResult.

class Module
bool
loadSourceBuffer

Parameters

loc Loc

the location

readResult File.ReadResult

the result of reading a file containing the source code

Return Value

Type: bool

true if successful

Meta