Versions in this module Expand all Collapse all v0 v0.0.1 Oct 25, 2023 Changes in this version + type ErrorItem struct + func CreateErrorItem(pos itemcontrol.Position, err string) *ErrorItem + func (e *ErrorItem) Error() string + func (e *ErrorItem) HasError() bool + type ParserMsg struct + type TemplateBlockManager interface + AddBlock func(name string, ctnt itemcontrol.ItemControlMulti) error + GetBlock func(name string) ([]itemcontrol.TmplFunc, error) + type TmplEnv interface + ClearErrors func() + Close func() + DeriveInner func() TmplEnv + EndScope func() error + Error func(err string) + ErrorAt func(pos itemcontrol.Position, err string) + GetFunction func(typ itemcontrol.FuncType, name string) (any, error) + OnErrorHdl func() itemcontrol.OnErrorHdl + OnMissingHdl func() itemcontrol.SelectOnMissingHdl + Parse func() ([]itemcontrol.TmplFunc, error) + Scope func() *itemcontrol.ItemScope + SendContent func(id int, ctnt itemcontrol.ItemControl) + SendMsg func(msg ParserMsg) + SetOption func(opt ...TmplOption) TmplEnv + StartScope func() + UpdatePosition func(msg string) + func CreateTmplEnv(ch chan ParserMsg, name string, fn itemcontrol.FuncLookup) TmplEnv + type TmplEnvInner struct + func (e *TmplEnvInner) ClearErrors() + func (e *TmplEnvInner) Close() + func (e *TmplEnvInner) Column() int + func (e *TmplEnvInner) DeriveInner() TmplEnv + func (e *TmplEnvInner) EndScope() error + func (e *TmplEnvInner) Error(err string) + func (e *TmplEnvInner) ErrorAt(pos itemcontrol.Position, err string) + func (e *TmplEnvInner) GetFunction(typ itemcontrol.FuncType, name string) (any, error) + func (e *TmplEnvInner) Line() int + func (e *TmplEnvInner) Name() string + func (e *TmplEnvInner) OnErrorHdl() itemcontrol.OnErrorHdl + func (e *TmplEnvInner) OnMissingHdl() itemcontrol.SelectOnMissingHdl + func (e *TmplEnvInner) Parse() ([]itemcontrol.TmplFunc, error) + func (e *TmplEnvInner) Scope() *itemcontrol.ItemScope + func (e *TmplEnvInner) SendContent(id int, ctnt itemcontrol.ItemControl) + func (e *TmplEnvInner) SendMsg(msg ParserMsg) + func (e *TmplEnvInner) SetOption(opt ...TmplOption) TmplEnv + func (e *TmplEnvInner) StartScope() + func (e *TmplEnvInner) String() string + func (e *TmplEnvInner) UpdatePosition(msg string) + type TmplEnvOuter struct + func (e *TmplEnvOuter) ClearErrors() + func (e *TmplEnvOuter) Close() + func (e *TmplEnvOuter) Column() int + func (e *TmplEnvOuter) Create(ch chan ParserMsg, name string, fn itemcontrol.FuncLookup) TmplEnv + func (e *TmplEnvOuter) DeriveInner() TmplEnv + func (e *TmplEnvOuter) EndScope() error + func (e *TmplEnvOuter) Error(err string) + func (e *TmplEnvOuter) ErrorAt(pos itemcontrol.Position, err string) + func (e *TmplEnvOuter) GetFunction(typ itemcontrol.FuncType, name string) (any, error) + func (e *TmplEnvOuter) Lex(lval *yySymType) int + func (e *TmplEnvOuter) Line() int + func (e *TmplEnvOuter) Name() string + func (e *TmplEnvOuter) OnErrorHdl() itemcontrol.OnErrorHdl + func (e *TmplEnvOuter) OnMissingHdl() itemcontrol.SelectOnMissingHdl + func (e *TmplEnvOuter) Parse() ([]itemcontrol.TmplFunc, error) + func (e *TmplEnvOuter) Scope() *itemcontrol.ItemScope + func (e *TmplEnvOuter) SendContent(id int, ctnt itemcontrol.ItemControl) + func (e *TmplEnvOuter) SendMsg(msg ParserMsg) + func (e *TmplEnvOuter) SetBlockManager(mgr TemplateBlockManager) (TmplEnv, error) + func (e *TmplEnvOuter) SetOnMissingHdl(hdl itemcontrol.SelectOnMissingHdl) *TmplEnvOuter + func (e *TmplEnvOuter) SetOption(opt ...TmplOption) TmplEnv + func (e *TmplEnvOuter) StartScope() + func (e *TmplEnvOuter) String() string + func (e *TmplEnvOuter) UpdatePosition(msg string) + type TmplOptBlock struct + Mgr TemplateBlockManager + func (o *TmplOptBlock) SetTmplOption(t TmplEnv) + type TmplOptFunc struct + Fn itemcontrol.FuncLookup + func (o *TmplOptFunc) SetTmplOption(t TmplEnv) + type TmplOptFuncMgr struct + Mgr *itemcontrol.FuncManager + func (o *TmplOptFuncMgr) SetTmplOption(t TmplEnv) + type TmplOptOnError struct + Hdl itemcontrol.OnErrorHdl + func (o *TmplOptOnError) SetTmplOption(t TmplEnv) + type TmplOptSelect struct + Hdl itemcontrol.SelectOnMissingHdl + func (o *TmplOptSelect) SetTmplOption(t TmplEnv) + type TmplOption interface + SetTmplOption func(t TmplEnv)