Class ReferenceResolver

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(inputFileNames: Array<string>, host: IReferenceResolverHost, useCaseSensitiveFileResolution: boolean): ReferenceResolver

Parameters

Returns

ReferenceResolver

Properties

private host: any

private inputFileNames: any

private useCaseSensitiveFileResolution: any

private visited: any

Methods

private getNormalizedFilePath(path: any, parentFilePath: any): any

Parameters

  • path: any
  • parentFilePath: any

Returns

any

private getUniqueFileId(filePath: any): any

Parameters

  • filePath: any

Returns

any

private isSameFile(filePath1: any, filePath2: any): any

Parameters

  • filePath1: any
  • filePath2: any

Returns

any

private isVisited(filePath: any): any

Parameters

  • filePath: any

Returns

any

private recordVisitedFile(filePath: any): any

Parameters

  • filePath: any

Returns

any

public static resolve(inputFileNames: Array<string>, host: IReferenceResolverHost, useCaseSensitiveFileResolution: boolean): ReferenceResolutionResult

Parameters

Returns

ReferenceResolutionResult

private resolveFile(normalizedPath: any, resolutionResult: any): any

Parameters

  • normalizedPath: any
  • resolutionResult: any

Returns

any

private resolveImportedFile(path: any, referenceLocation: any, resolutionResult: any): any

Parameters

  • path: any
  • referenceLocation: any
  • resolutionResult: any

Returns

any

private resolveIncludedFile(path: any, referenceLocation: any, resolutionResult: any): any

Parameters

  • path: any
  • referenceLocation: any
  • resolutionResult: any

Returns

any

public resolveInputFiles(): ReferenceResolutionResult

Returns

ReferenceResolutionResult