Documentation
¶
Index ¶
- Variables
- func GetAST(code string) (*freemarkerparser.FreemarkerParser, error)
- type FreeMarkerVisitor
- func (y *FreeMarkerVisitor) VisitDirectiveAssign(raw freemarkerparser.IDirectiveAssignContext)
- func (y *FreeMarkerVisitor) VisitDirectiveElement(raw freemarkerparser.IDirectiveContext)
- func (y *FreeMarkerVisitor) VisitDirectiveIf(raw freemarkerparser.IDirectiveIfContext)
- func (y *FreeMarkerVisitor) VisitDirectiveIfTrueElements(raw freemarkerparser.IDirectiveIfTrueElementsContext)
- func (y *FreeMarkerVisitor) VisitDirectiveList(raw freemarkerparser.IDirectiveListContext)
- func (y *FreeMarkerVisitor) VisitDirectiveListBodyElements(raw freemarkerparser.IDirectiveListBodyElementsContext)
- func (y *FreeMarkerVisitor) VisitElement(raw freemarkerparser.IElementContext)
- func (y *FreeMarkerVisitor) VisitElements(raw freemarkerparser.IElementsContext)
- func (y *FreeMarkerVisitor) VisitRawTextElement(raw freemarkerparser.IRawTextContext)
- func (y *FreeMarkerVisitor) VisitTemplate(raw freemarkerparser.ITemplateContext)
- type VisitorCreator
Constants ¶
This section is empty.
Variables ¶
View Source
var Creator tl.VisitorCreator = (*VisitorCreator)(nil)
Functions ¶
func GetAST ¶
func GetAST(code string) (*freemarkerparser.FreemarkerParser, error)
Types ¶
type FreeMarkerVisitor ¶
func NewFreeMarkerVisitor ¶
func NewFreeMarkerVisitor() *FreeMarkerVisitor
func (*FreeMarkerVisitor) VisitDirectiveAssign ¶
func (y *FreeMarkerVisitor) VisitDirectiveAssign(raw freemarkerparser.IDirectiveAssignContext)
func (*FreeMarkerVisitor) VisitDirectiveElement ¶
func (y *FreeMarkerVisitor) VisitDirectiveElement(raw freemarkerparser.IDirectiveContext)
func (*FreeMarkerVisitor) VisitDirectiveIf ¶
func (y *FreeMarkerVisitor) VisitDirectiveIf(raw freemarkerparser.IDirectiveIfContext)
func (*FreeMarkerVisitor) VisitDirectiveIfTrueElements ¶
func (y *FreeMarkerVisitor) VisitDirectiveIfTrueElements(raw freemarkerparser.IDirectiveIfTrueElementsContext)
func (*FreeMarkerVisitor) VisitDirectiveList ¶
func (y *FreeMarkerVisitor) VisitDirectiveList(raw freemarkerparser.IDirectiveListContext)
func (*FreeMarkerVisitor) VisitDirectiveListBodyElements ¶
func (y *FreeMarkerVisitor) VisitDirectiveListBodyElements(raw freemarkerparser.IDirectiveListBodyElementsContext)
func (*FreeMarkerVisitor) VisitElement ¶
func (y *FreeMarkerVisitor) VisitElement(raw freemarkerparser.IElementContext)
func (*FreeMarkerVisitor) VisitElements ¶
func (y *FreeMarkerVisitor) VisitElements(raw freemarkerparser.IElementsContext)
func (*FreeMarkerVisitor) VisitRawTextElement ¶
func (y *FreeMarkerVisitor) VisitRawTextElement(raw freemarkerparser.IRawTextContext)
func (*FreeMarkerVisitor) VisitTemplate ¶
func (y *FreeMarkerVisitor) VisitTemplate(raw freemarkerparser.ITemplateContext)
type VisitorCreator ¶
type VisitorCreator struct {
}
func (*VisitorCreator) Create ¶
func (b *VisitorCreator) Create(editor *memedit.MemEditor) (tl.TemplateVisitor, error)
Click to show internal directories.
Click to hide internal directories.