On this page

Attributes
new PrefixSource(prefix, source): PrefixSource
Attributes
prefix:<string>
source:
{string|Buffer |Source}
buffer(): Buffer
Returns:
{Buffer}

getPrefix(): string
Returns:<string>

map(options?): null
Attributes
options:<MapOptions>
Returns:<null>

original(): Source
Returns:<Source>

size(): number
Returns:<number>

source(): SourceValue
Returns:
{SourceValue}

sourceAndMap(options?): SourceAndMap
Attributes
options:<MapOptions>
Returns:
{SourceAndMap}

streamChunks(options, onChunk, onSource, onName): GeneratedSourceInfo
Attributes
onChunk:<object>
onSource:<object>
onName:<object>
Returns:
{GeneratedSourceInfo}

updateHash(hash): void
  • hash {HashLike}
  • Returns: {void}