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