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