BuildInvalidedProject

Properties

Link copied to clipboard
abstract external override val kind: InvalidatedProjectKind.Build
Link copied to clipboard
abstract external val project: ResolvedConfigFileName

Functions

Link copied to clipboard
abstract external fun done(cancellationToken: CancellationToken = definedExternally, writeFile: WriteFileCallback = definedExternally, customTransformers: CustomTransformers = definedExternally): ExitStatus

To dispose this project and ensure that all the necessary actions are taken and state is updated accordingly

Link copied to clipboard
abstract external fun emit(targetSourceFile: SourceFile = definedExternally, writeFile: WriteFileCallback = definedExternally, cancellationToken: CancellationToken = definedExternally, emitOnlyDtsFiles: Boolean = definedExternally, customTransformers: CustomTransformers = definedExternally): EmitResult?
Link copied to clipboard
abstract external fun getAllDependencies(sourceFile: SourceFile): ReadonlyArray<String>
Link copied to clipboard
abstract external fun getBuilderProgram(): T?
Link copied to clipboard
abstract external fun getCompilerOptions(): CompilerOptions
Link copied to clipboard
abstract external fun getCurrentDirectory(): String
Link copied to clipboard
abstract external fun getGlobalDiagnostics(cancellationToken: CancellationToken = definedExternally): ReadonlyArray<Diagnostic>
Link copied to clipboard
abstract external fun getOptionsDiagnostics(cancellationToken: CancellationToken = definedExternally): ReadonlyArray<Diagnostic>
Link copied to clipboard
abstract external fun getProgram(): Program?
Link copied to clipboard
abstract external fun getSemanticDiagnostics(sourceFile: SourceFile = definedExternally, cancellationToken: CancellationToken = definedExternally): ReadonlyArray<Diagnostic>
Link copied to clipboard
abstract external fun getSemanticDiagnosticsOfNextAffectedFile(cancellationToken: CancellationToken = definedExternally, ignoreSourceFile: (sourceFile: SourceFile) -> Boolean = definedExternally): AffectedFileResult<ReadonlyArray<Diagnostic>>
Link copied to clipboard
abstract external fun getSourceFile(fileName: String): SourceFile?
Link copied to clipboard
abstract external fun getSourceFiles(): ReadonlyArray<SourceFile>
Link copied to clipboard
abstract external fun getSyntacticDiagnostics(sourceFile: SourceFile = definedExternally, cancellationToken: CancellationToken = definedExternally): ReadonlyArray<Diagnostic>