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
Type: Loc

the location

readResult

the result of reading a file containing the source code

Return Value

Type: bool

true if successful

Meta