Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Parser

Index

Constructors

constructor

  • new Parser(contents: Buffer, filePath: string, root: string, prefix: string, alias?: aliasConf[], staticBaseUrl?: string): Parser

Properties

Private Optional alias

alias: aliasConf[]

Private ast

ast: any

Private contents

contents: Buffer

Private cwd

cwd: string

Private dependences

dependences: string[]

Private filePath

filePath: string

Private myModuleId

myModuleId: string

Private parseDefine

parseDefine: any

Private prefix

prefix: string

Private root

root: string

Private Optional staticBaseUrl

staticBaseUrl: string

Methods

getContent

  • getContent(): Buffer

getDependences

  • getDependences(): string[]

getModuleId

  • getModuleId(): string

hook

isHasObj

  • isHasObj(arr: any, val: any): boolean

Private isSingelFunction

  • isSingelFunction(): void

Private parse

  • parse(): void

Generated using TypeDoc