Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ModuleMap

Index

Constructors

constructor

  • Parameters

    Returns ModuleMap

Properties

Private _assertNoDuplicates

_assertNoDuplicates: any

Private _getModuleMetadata

_getModuleMetadata: any

When looking up a module's data, we walk through each eligible platform for the query. For each platform, we want to check if there are known duplicates for that name+platform pair. The duplication logic normally removes elements from the map object, but we want to check upfront to be extra sure. If metadata exists both in the duplicates object and the map, this would be a bug.

Private _raw

_raw: any

Static DuplicateHasteCandidatesError

DuplicateHasteCandidatesError: DuplicateHasteCandidatesError

Methods

getMockModule

  • getMockModule(name: string): Config.Path | undefined
  • Parameters

    • name: string

    Returns Config.Path | undefined

getModule

  • getModule(name: string, platform?: string | null, supportsNativePlatform?: boolean | null, type?: HTypeValue | null): Config.Path | null
  • Parameters

    • name: string
    • Optional platform: string | null
    • Optional supportsNativePlatform: boolean | null
    • Optional type: HTypeValue | null

    Returns Config.Path | null

getPackage

  • getPackage(name: string, platform: string | null | undefined, _supportsNativePlatform: boolean | null): Config.Path | null
  • Parameters

    • name: string
    • platform: string | null | undefined
    • _supportsNativePlatform: boolean | null

    Returns Config.Path | null

getRawModuleMap

  • Returns RawModuleMap

toJSON

Static create

  • Parameters

    • rootDir: Config.Path

    Returns ModuleMap

Static fromJSON

Generated using TypeDoc