Versions in this module Expand all Collapse all v0 v0.0.1 Mar 23, 2016 Changes in this version + type Comment struct + Start token.Pos + Text string + func (c *Comment) Pos() token.Pos + type CommentGroup struct + List []*Comment + func (c *CommentGroup) Pos() token.Pos + type File struct + Comments []*CommentGroup + Node Node + func (f *File) Pos() token.Pos + type ListType struct + Lbrack token.Pos + List []Node + Rbrack token.Pos + func (l *ListType) Add(node Node) + func (l *ListType) Pos() token.Pos + type LiteralType struct + LineComment *CommentGroup + Token token.Token + func (l *LiteralType) Pos() token.Pos + type Node interface + Pos func() token.Pos + func Walk(node Node, fn WalkFunc) Node + type ObjectItem struct + Assign token.Pos + Keys []*ObjectKey + LeadComment *CommentGroup + LineComment *CommentGroup + Val Node + func (o *ObjectItem) Pos() token.Pos + type ObjectKey struct + Token token.Token + func (o *ObjectKey) GoString() string + func (o *ObjectKey) Pos() token.Pos + type ObjectList struct + Items []*ObjectItem + func (o *ObjectList) Add(item *ObjectItem) + func (o *ObjectList) Children() *ObjectList + func (o *ObjectList) Elem() *ObjectList + func (o *ObjectList) Filter(keys ...string) *ObjectList + func (o *ObjectList) Pos() token.Pos + type ObjectType struct + Lbrace token.Pos + List *ObjectList + Rbrace token.Pos + func (o *ObjectType) Pos() token.Pos + type WalkFunc func(Node) (Node, bool)