Skip to content

[F] createScanner

function createScanner(source, diagnosticHandler): Scanner

Parameters

ParameterType
sourcestring | SourceFile
diagnosticHandlerDiagnosticHandler

Returns

Scanner