[F] createSourceFile
function createSourceFile(text, path): SourceFile;Wrap source text and its path with lazily computed line-start and zero-based position lookups.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
text | string |
path | string |
function createSourceFile(text, path): SourceFile;Wrap source text and its path with lazily computed line-start and zero-based position lookups.
| Parameter | Type |
|---|---|
text | string |
path | string |