IResolveContext
- Implemented By: IResolveContext
Current resolution context for tokens.
Methods
Name | Description |
---|---|
registerPostProcessor |
Use this postprocessor after the entire token structure has been resolved. |
resolve |
Resolve an inner object. |
registerPostProcessor
public registerPostProcessor(postProcessor: IPostProcessor): void
Use this postprocessor after the entire token structure has been resolved.
- Type: IPostProcessor
resolve
public resolve(x: any): any
Resolve an inner object.
- Type: any
Properties
Name | Type | Description |
---|---|---|
preparing |
boolean |
True when we are still preparing, false if we're rendering the final output. |
scope |
IConstruct |
The scope from which resolution has been initiated. |
preparing
Required
public readonly preparing: boolean;
- Type: boolean
True when we are still preparing, false if we're rendering the final output.
scope
Required
public readonly scope: IConstruct;
- Type: IConstruct
The scope from which resolution has been initiated.