Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Character ¶
func (Character) VisitToken ¶
func (t Character) VisitToken(v TokenVisitor)
type DocumentType ¶
type DocumentType struct {
Offset int
}
func (DocumentType) VisitToken ¶
func (t DocumentType) VisitToken(v TokenVisitor)
type EndTag ¶
func (EndTag) VisitToken ¶
func (t EndTag) VisitToken(v TokenVisitor)
type StartTag ¶
func (StartTag) VisitToken ¶
func (t StartTag) VisitToken(v TokenVisitor)
type Token ¶
type Token interface {
VisitToken(TokenVisitor)
}
type TokenVisitor ¶
type TokenVisitor struct { DocumentType func(DocumentType) StartTag func(StartTag) EndTag func(EndTag) Character func(Character) }
Click to show internal directories.
Click to hide internal directories.