n_CoreAsyncHost_getSourceFile_member_1_" data-uid="grammarkdown!CoreAsyncHost#getSourceFile:member(1)">getSourceFile(file, cancelable)</h4>
  <div class="markdown level1 summary"><p>Reads and parses a source file from the host.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  
  <div class="codewrapper">
    <pre><code class="lang-typeScript hljs">getSourceFile(file: string, cancelable?: Cancelable): Promise&lt;SourceFile | undefined&gt;;</code>