Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Parser

Index

Constructors

constructor

  • new Parser(projectPath: string, modulesPath: string): Parser

Properties

modulesPath

modulesPath: string

projectPath

projectPath: string

Methods

amdConfig

  • amdConfig(path2url: function): string
  • Parameters

    • path2url: function
        • (url: string): string
        • Parameters

          • url: string

          Returns string

    Returns string

amdID

  • amdID(fullpath: string): string

findPackageJson

  • findPackageJson(dir: any): any

inModules

  • inModules(fullname: string): boolean

inlineDependencies

  • inlineDependencies(pkgName: string): Promise<string>

inlinePackage

  • inlinePackage(id: string): string

isEntryFile

  • isEntryFile(fullname: string): any

parse

  • parse(content: string, path: string, settings: Settings): Promise<string>

relativePath

  • relativePath(fullpath: string): string

resolveModulesPath

  • resolveModulesPath(projectPath: string): string

Static create

  • create(projectPath: string, modulesPath: string): Parser

Generated using TypeDoc