Documentation ¶
Index ¶
- func Main(ctx context.Context, parseCtx *conflow.ParseContext, ...) interface{}
- func NewParseContext() *conflow.ParseContext
- type It
- type ItInterpreter
- func (i ItInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i ItInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i ItInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i ItInterpreter) Schema() schema.Schema
- func (i ItInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i ItInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i ItInterpreter) ValueParamName() conflow.ID
- type Iterator
- type IteratorInterpreter
- func (i IteratorInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i IteratorInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i IteratorInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i IteratorInterpreter) Schema() schema.Schema
- func (i IteratorInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i IteratorInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i IteratorInterpreter) ValueParamName() conflow.ID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewParseContext ¶
func NewParseContext() *conflow.ParseContext
Types ¶
type ItInterpreter ¶
type ItInterpreter struct { }
ItInterpreter is the Conflow interpreter for the It block
func (ItInterpreter) CreateBlock ¶
func (i ItInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new It block
func (ItInterpreter) Param ¶
func (i ItInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (ItInterpreter) ParseContext ¶
func (i ItInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (ItInterpreter) Schema ¶
func (i ItInterpreter) Schema() schema.Schema
func (ItInterpreter) ValueParamName ¶
func (i ItInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type Iterator ¶
type Iterator struct {
// contains filtered or unexported fields
}
@block { type = "generator" }
func (*Iterator) ParseContextOverride ¶
func (it *Iterator) ParseContextOverride() conflow.ParseContextOverride
type IteratorInterpreter ¶
type IteratorInterpreter struct { }
IteratorInterpreter is the Conflow interpreter for the Iterator block
func (IteratorInterpreter) CreateBlock ¶
func (i IteratorInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new Iterator block
func (IteratorInterpreter) Param ¶
func (i IteratorInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (IteratorInterpreter) ParseContext ¶
func (i IteratorInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (IteratorInterpreter) Schema ¶
func (i IteratorInterpreter) Schema() schema.Schema
func (IteratorInterpreter) ValueParamName ¶
func (i IteratorInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
Click to show internal directories.
Click to hide internal directories.