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
func RegisterPostProcessor(postProcessor IPostProcessor)
Use this postprocessor after the entire token structure has been resolved.
- Type: IPostProcessor
Resolve
func Resolve(x interface{}) interface{}
Resolve an inner object.
- Type: interface{}
Properties
Name | Type | Description |
---|---|---|
Preparing |
*bool |
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
func Preparing() *bool
- Type: *bool
True when we are still preparing, false if we're rendering the final output.
Scope
Required
func Scope() IConstruct
- Type: IConstruct
The scope from which resolution has been initiated.