Skip to main content
Interface for values that can be resolvable later. Tokens are special objects that participate in synthesis.

Methods

NameDescription
ResolveProduce the Token’s value at resolution time.
ToStringReturn a string representation of this resolvable object.

Resolve

func Resolve(context IResolveContext) interface{}
Produce the Token’s value at resolution time.

contextRequired


ToString

func ToString() *string
Return a string representation of this resolvable object. Returns a reversible string representation.

Properties

NameTypeDescription
CreationStack*[]*stringThe creation stack of this resolvable which will be appended to errors thrown during resolution.

CreationStackRequired

func CreationStack() *[]*string
  • Type: *[]*string
The creation stack of this resolvable which will be appended to errors thrown during resolution. If this returns an empty array the stack will not be attached.