Constructors
constructor
- new Source(): Source
-
Methods
buffer
- buffer(): Buffer
-
map
- map(options?): null | RawSourceMap
-
size
- size(): number
-
Returns number
source
- source(): string | Buffer
-
Returns string | Buffer
sourceAndMap
- sourceAndMap(options?): {
map: Object;
source: string | Buffer;
}
-
Returns {
map: Object;
source: string | Buffer;
}
updateHash
- updateHash(hash): void
-
Returns void