Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ExportInfo

Index

Constructors

Properties

canMangleProvide?: boolean

true: it can be mangled false: is can not be mangled undefined: it was not determined if it can be mangled

canMangleUse?: boolean

true: it can be mangled false: is can not be mangled undefined: it was not determined if it can be mangled

exportsInfo?: ExportsInfo
exportsInfoOwned: boolean
name: string
provided?: null | boolean

true: it is provided false: it is not provided null: only the runtime knows if it is provided undefined: it was not determined if it is provided

terminalBinding: boolean

is the export a terminal binding that should be checked for export star conflicts

Accessors

  • get canMangle(): boolean
  • Returns boolean

Methods

  • Returns undefined | ExportsInfo

  • findTarget(moduleGraph: ModuleGraph, validTargetModuleFilter: (arg0: Module) => boolean): undefined | false | { export?: string[]; module: Module }
  • Parameters

    Returns undefined | false | { export?: string[]; module: Module }

  • Returns undefined | ExportsInfo

  • getProvidedInfo(): "no provided info" | "maybe provided (runtime-defined)" | "provided" | "not provided"
  • Returns "no provided info" | "maybe provided (runtime-defined)" | "provided" | "not provided"

  • getRenameInfo(): string
  • Returns string

  • getTarget(moduleGraph: ModuleGraph, resolveTargetFilter?: (arg0: { export?: string[]; module: Module }) => boolean): undefined | { export?: string[]; module: Module }
  • Parameters

    • moduleGraph: ModuleGraph
    • Optional resolveTargetFilter: (arg0: { export?: string[]; module: Module }) => boolean
        • (arg0: { export?: string[]; module: Module }): boolean
        • Parameters

          • arg0: { export?: string[]; module: Module }
            • Optional export?: string[]
            • module: Module

          Returns boolean

    Returns undefined | { export?: string[]; module: Module }

  • Parameters

    • moduleGraph: ModuleGraph
    • Optional resolveTargetFilter: (arg0: { export?: string[]; module: Module }) => boolean
        • (arg0: { export?: string[]; module: Module }): boolean
        • Parameters

          • arg0: { export?: string[]; module: Module }
            • Optional export?: string[]
            • module: Module

          Returns boolean

    Returns undefined | ExportsInfo | ExportInfo

  • getUsedInfo(): string
  • Returns string

  • getUsedName(fallbackName: undefined | string, runtime: RuntimeSpec): string | false
  • get used name

    Parameters

    Returns string | false

  • hasInfo(baseInfo?: any, runtime?: any): boolean
  • Parameters

    • Optional baseInfo: any
    • Optional runtime: any

    Returns boolean

  • hasUsedName(): boolean
  • Returns boolean

  • isReexport(): undefined | boolean
  • Returns undefined | boolean

  • moveTarget(moduleGraph: ModuleGraph, resolveTargetFilter: (arg0: { export?: string[]; module: Module }) => boolean, updateOriginalConnection?: (arg0: { export?: string[]; module: Module }) => ModuleGraphConnection): undefined | { export?: string[]; module: Module }
  • Move the target forward as long resolveTargetFilter is fulfilled

    Parameters

    Returns undefined | { export?: string[]; module: Module }

  • setHasUseInfo(): void
  • Returns void

  • setTarget(key: any, connection: ModuleGraphConnection, exportName?: string[], priority?: number): boolean
  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • setUsedName(name: string): void
  • Sets the mangled name of this export

    Parameters

    • name: string

    Returns void

  • Parameters

    Returns boolean

  • unsetTarget(key?: any): boolean
  • Parameters

    • Optional key: any

    Returns boolean

  • updateHash(hash?: any, runtime?: any): void
  • Parameters

    • Optional hash: any
    • Optional runtime: any

    Returns void