source.go

 1package ast
 2
 3type Source struct {
 4	Name    string
 5	Input   string
 6	BuiltIn bool
 7}
 8
 9type Position struct {
10	Start  int     // The starting position, in runes, of this token in the input.
11	End    int     // The end position, in runes, of this token in the input.
12	Line   int     // The line number at the start of this item.
13	Column int     // The line number at the start of this item.
14	Src    *Source // The source document this token belongs to
15}