-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtoken_types.go
56 lines (47 loc) · 943 Bytes
/
token_types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
package fuzzer
type tokenTypeLen struct {
Length int
}
type tokenTypeDualLen struct {
LengthA int
LengthB int
}
type tokenTypeStr struct {
Data string
}
type tokenTypeStrs struct {
Strings []string
}
type tokenTypeRange struct {
Min int
Max int
}
type tokenTypeRangeFloat struct {
Min float64
Max float64
}
type tokenTypeFn struct {
Data string
Fn func(args ...string) string
}
type tokenTypeBasic string
type (
tAlphaLower tokenTypeLen
tAlphaUpper tokenTypeLen
tAlpha tokenTypeLen
tHash tokenTypeLen
tFloat tokenTypeDualLen
tInt tokenTypeLen
tStrLower tokenTypeLen
tStrUpper tokenTypeLen
tStr tokenTypeLen
tIntList tokenTypeRange
tIntRange tokenTypeRange
tFloatRange tokenTypeRangeFloat
tMemory tokenTypeStr
tStrFromList tokenTypeStrs
tUserFn tokenTypeFn
tUUID tokenTypeBasic
tAny tokenTypeBasic
tUnknown tokenTypeBasic
)