token.go

 1package ini
 2
 3type lineToken interface {
 4	isLineToken()
 5}
 6
 7type lineTokenProfile struct {
 8	Type string
 9	Name string
10}
11
12func (*lineTokenProfile) isLineToken() {}
13
14type lineTokenProperty struct {
15	Key   string
16	Value string
17}
18
19func (*lineTokenProperty) isLineToken() {}
20
21type lineTokenContinuation struct {
22	Value string
23}
24
25func (*lineTokenContinuation) isLineToken() {}
26
27type lineTokenSubProperty struct {
28	Key   string
29	Value string
30}
31
32func (*lineTokenSubProperty) isLineToken() {}