Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Boolean ¶
func (Boolean) VisitToken ¶
func (t Boolean) VisitToken(v TokenVisitor)
type Identifier ¶
func (Identifier) VisitToken ¶
func (t Identifier) VisitToken(v TokenVisitor)
type Keyword ¶
func (Keyword) VisitToken ¶
func (t Keyword) VisitToken(v TokenVisitor)
type Null ¶
type Null struct {
Offset int
}
func (Null) VisitToken ¶
func (t Null) VisitToken(v TokenVisitor)
type Number ¶
func (Number) VisitToken ¶
func (t Number) VisitToken(v TokenVisitor)
type Punctuator ¶
func (Punctuator) VisitToken ¶
func (t Punctuator) VisitToken(v TokenVisitor)
type String ¶
func (String) VisitToken ¶
func (t String) VisitToken(v TokenVisitor)
type TemplateHead ¶
type TemplateMiddle ¶
type TemplateTail ¶
type Token ¶
type Token interface {
VisitToken(TokenVisitor)
}
type TokenVisitor ¶
type TokenVisitor struct { Newline func(Newline) Keyword func(Keyword) Identifier func(Identifier) Punctuator func(Punctuator) Number func(Number) String func(String) Boolean func(Boolean) Null func(Null) Template func(Template) TemplateHead func(TemplateHead) TemplateMiddle func(TemplateMiddle) TemplateTail func(TemplateTail) }
Click to show internal directories.
Click to hide internal directories.