src/pathTemplate.ts
Methods |
Accessors |
constructor(data: string)
|
||||||||
Defined in src/pathTemplate.ts:64
|
||||||||
Parameters :
|
inspect |
inspect()
|
Defined in src/pathTemplate.ts:169
|
Renders the path template.
Returns :
string
contains const names matched to binding values |
match | ||||||||
match(path: string)
|
||||||||
Defined in src/pathTemplate.ts:82
|
||||||||
Matches a fully-qualified path template string.
Parameters :
Returns :
Bindings
contains const names matched to binding values |
render | ||||||||
render(bindings: Bindings)
|
||||||||
Defined in src/pathTemplate.ts:134
|
||||||||
Renders a path template using the provided bindings.
Parameters :
Returns :
string
a rendered representation of the path template |
size |
getsize()
|
Defined in src/pathTemplate.ts:58
|
segments |
getsegments()
|
Defined in src/pathTemplate.ts:62
|