Skip to content

ITokenResolver

How to resolve tokens.

Methods

Name Description
resolveList Resolve a tokenized list.
resolveString Resolve a string with at least one stringified token in it.
resolveToken Resolve a single token.

resolveList

public resolveList(l: string[], context: IResolveContext): any

Resolve a tokenized list.

lRequired

  • Type: string[]

contextRequired


resolveString

public resolveString(s: TokenizedStringFragments, context: IResolveContext): any

Resolve a string with at least one stringified token in it.

(May use concatenation)

sRequired


contextRequired


resolveToken

public resolveToken(t: IResolvable, context: IResolveContext, postProcessor: IPostProcessor): any

Resolve a single token.

tRequired


contextRequired


postProcessorRequired


Enums