Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomEncoder ¶
given a tapestry flow, return its plain value.
type Encoder ¶
type Encoder struct { EatMarkup bool // don't encode any of the markup data // contains filtered or unexported fields }
func (*Encoder) Customize ¶
func (enc *Encoder) Customize(c CustomEncoder) *Encoder
type FlowBuilder ¶
type FlowBuilder struct { SigBuilder // contains filtered or unexported fields }
func (*FlowBuilder) FinalizeMap ¶
func (out *FlowBuilder) FinalizeMap() (ret map[string]any)
build a map that we get serialized to json
func (*FlowBuilder) SetMarkup ¶
func (out *FlowBuilder) SetMarkup(markup map[string]any)
func (*FlowBuilder) WriteArg ¶
func (out *FlowBuilder) WriteArg(label string, value any)
type SigBuilder ¶
type SigBuilder struct {
// contains filtered or unexported fields
}
SigBuilder helps build the "lede" used the compact format ex. "Else if:from:and:do:else:"
func (*SigBuilder) String ¶
func (b *SigBuilder) String() string
func (*SigBuilder) WriteLede ¶
func (b *SigBuilder) WriteLede(s string)
changes the autogenerated break_case into PascalCase
Click to show internal directories.
Click to hide internal directories.