Versions in this module Expand all Collapse all v0 v0.3.0 Oct 24, 2018 Changes in this version + const DOCTYPE + const PUBLIC + const SYSTEM + func NewDummyProcessor() *dummyProcessor + type Argument struct + Declare string + IsPb bool + Name string + PkgName string + Type string + Val string + func NewArgCall(argCall string) *Argument + func NewArgDef(argDef string) *Argument + func ParseArgCalls(argCalls string) []*Argument + func ParseArgDefs(argDefs string) []*Argument + type BaseProcessor struct + func (b *BaseProcessor) GetNext() Processor + func (b *BaseProcessor) HasNext() bool + func (b *BaseProcessor) SetNext(next Processor) + type FilterInstance struct + End token.Pos + Name string + Params string + Pivot token.Pos + Start token.Pos + type GoArgProcessor struct + func NewArgProcessor(args []*Argument) *GoArgProcessor + func (a *GoArgProcessor) Process(writer io.Writer, ctx *TagContext) + type GoCallProcessor struct + func NewCallProcessor(pkgPath, relPkgPath, closurePkgPrefix, closurePkgName, templateName string, ...) *GoCallProcessor + func (c *GoCallProcessor) Process(writer io.Writer, ctx *TagContext) + type GoCallbackProcessor struct + func NewCallbackProcessor(callback ProcessorCallbackFunc) *GoCallbackProcessor + func (c *GoCallbackProcessor) Process(writer io.Writer, context *TagContext) + type GoCaseProcessor struct + func NewCaseProcessor(expression string) *GoCaseProcessor + func (gcp *GoCaseProcessor) Process(writer io.Writer, ctx *TagContext) + type GoCommentProcessor struct + func NewCommentProcessor(comment string) *GoCommentProcessor + func (c *GoCommentProcessor) Process(writer io.Writer, ctx *TagContext) + type GoContentProcessor struct + func NewContentProcessor(expression string) *GoContentProcessor + func (c *GoContentProcessor) Process(writer io.Writer, ctx *TagContext) + type GoDefaultProcessor struct + func NewDefaultProcessor() *GoDefaultProcessor + func (s *GoDefaultProcessor) Process(writer io.Writer, ctx *TagContext) + type GoDocTypeProcessor struct + func NewDocTypeProcessor(name string, attrs []html.Attribute) *GoDocTypeProcessor + func (d *GoDocTypeProcessor) Process(writer io.Writer, ctx *TagContext) + type GoForProcessor struct + func NewForProcessor(forLine string) *GoForProcessor + func (f *GoForProcessor) Process(writer io.Writer, ctx *TagContext) + type GoHeadProcessor struct + func NewHeadProcessor() *GoHeadProcessor + func (gheadp *GoHeadProcessor) Process(writer io.Writer, ctx *TagContext) + type GoIfProcessor struct + func NewIfProcessor(conditional string) *GoIfProcessor + func (i *GoIfProcessor) Process(writer io.Writer, ctx *TagContext) + type GoReplaceableProcessor struct + func NewReplaceableProcessor(tmplName string, slotName string, args []*Argument) *GoReplaceableProcessor + func (r *GoReplaceableProcessor) Process(writer io.Writer, ctx *TagContext) + type GoSettingsProcessor struct + Name string + func NewSettingsProcessor(name string) *GoSettingsProcessor + func (s *GoSettingsProcessor) Process(writer io.Writer, ctx *TagContext) + type GoSwitchProcessor struct + func NewSwitchProcessor(expression string) *GoSwitchProcessor + func (s *GoSwitchProcessor) Process(writer io.Writer, ctx *TagContext) + type GoTagProcessor struct + func NewTagProcessor(tagName string, omitTag string, firstTag bool, needsClosing bool, ...) *GoTagProcessor + func (t *GoTagProcessor) AddChild(child Processor) + func (t *GoTagProcessor) Process(writer io.Writer, ctx *TagContext) + type GoTextProcessor struct + func NewTextProcessor(text string) *GoTextProcessor + func (i *GoTextProcessor) Process(writer io.Writer, ctx *TagContext) + type GoVarProcessor struct + func NewVarProcessor(varDef string) *GoVarProcessor + func NewVarsProcessor(varStrs string) *GoVarProcessor + func (gvp *GoVarProcessor) Process(writer io.Writer, ctx *TagContext) + type Processor interface + GetNext func() Processor + HasNext func() bool + Process func(writer io.Writer, context *TagContext) + SetNext func(next Processor) + type ProcessorCallbackFunc func() + type RegisteredFilter struct + PkgName string + Type string + VarName string + type Replacement struct + Args []*Argument + Head Processor + Name string + type SelectorInstance struct + End token.Pos + Name string + NewName string + Start token.Pos + type TagContext struct + AutoEscape bool + ExprParser *expl.ExprParser + OutputFormat string + func NewTagContext(pkgMgr *pkgmgr.PkgManager, pkgRefs pkgmgr.AliasReferer, outputFormat string) *TagContext + func (ctx *TagContext) GetFilters() map[string]*RegisteredFilter + func (ctx *TagContext) MaybeAddImports(expression string) + func (ctx *TagContext) NextId() int + func (ctx *TagContext) RewriteExpression(originalExpr string) (string, error) + type VarDef struct + IsPb bool + Name string + Val string