summaryrefslogtreecommitdiff
path: root/src/tparse/token.go
blob: 712b746e93793dea85fa1a32730347d5c7dc4ab7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package tparse

// Token represents a token in a program
type Token struct {
	Type int
	Data string
}

// Container represents a container of data
type Container struct {
	Data  []interface{}
	Holds bool
}