Skip to content

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.

postProcessorRequired


Resolve

func Resolve(x interface{}) interface{}

Resolve an inner object.

xRequired

  • 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.

PreparingRequired

func Preparing() *bool
  • Type: *bool

True when we are still preparing, false if we're rendering the final output.


ScopeRequired

func Scope() IConstruct

The scope from which resolution has been initiated.