Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommentGroup ¶
type CommentGroup struct {
List []*Comment
}
func (*CommentGroup) Pos ¶
func (g *CommentGroup) Pos() scanner.Position
func (*CommentGroup) Text ¶
func (g *CommentGroup) Text() string
type LiteralNode ¶
func NewLiteralNode ¶
func NewLiteralNode(pos scanner.Position, kind NodeKind) LiteralNode
func (LiteralNode) Kind ¶
func (n LiteralNode) Kind() NodeKind
type Nodebase ¶
type Nodebase struct {
// contains filtered or unexported fields
}
func NewNodebase ¶
type Parser ¶
type Parser struct {
Pos scanner.Position
Tok rune
Lit string
Comments []*CommentGroup
LeadComment *CommentGroup
LineComment *CommentGroup
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.