blob: acb07ba699575a2e4ffd4ee7357c783231ee8b5f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package ast
type Source struct {
Name string
Input string
BuiltIn bool
}
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
}
|