Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WebRouterCollector

Hierarchy

Constructors

constructor

Properties

Protected Readonly baseDir

baseDir: string

Protected options

Protected routes

routes: Map<string, RouterInfo[]> = new Map<string, RouterInfo[]>()

Methods

Protected analyze

  • analyze(): Promise<void>

Protected collectFunctionRoute

  • collectFunctionRoute(module: any, functionMeta?: boolean): void

Protected collectRoute

  • collectRoute(module: any, functionMeta?: boolean): void

getFlattenRouterTable

getRoutePriorityList

getRouterTable

sortRouter

  • sortRouter(urlMatchList: RouterInfo[]): object[]

Generated using TypeDoc