/
attribute_feature.test
91 lines (72 loc) · 1.46 KB
/
attribute_feature.test
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#hidden = true
class Example {}
#key
#key = value
#group(
multiple,
lines = true,
lines = 0
)
class Example {
#test(skip = true, iterations = 32)
doStuff() {}
}
#doc = "not runtime data"
#!runtimeAccess = true
#!maxIterations = 16
----------------------------------------------------
[
["attribute", "#hidden"],
["operator", "="],
["boolean", "true"],
["keyword", "class"],
["class-name", "Example"],
["punctuation", "{"],
["punctuation", "}"],
["attribute", "#key"],
["attribute", "#key"],
["operator", "="],
" value\r\n",
["attribute", "#group"],
["punctuation", "("],
"\r\n multiple",
["punctuation", ","],
"\r\n lines ",
["operator", "="],
["boolean", "true"],
["punctuation", ","],
"\r\n lines ",
["operator", "="],
["number", "0"],
["punctuation", ")"],
["keyword", "class"],
["class-name", "Example"],
["punctuation", "{"],
["attribute", "#test"],
["punctuation", "("],
"skip ",
["operator", "="],
["boolean", "true"],
["punctuation", ","],
" iterations ",
["operator", "="],
["number", "32"],
["punctuation", ")"],
["function", "doStuff"],
["punctuation", "("],
["punctuation", ")"],
["punctuation", "{"],
["punctuation", "}"],
["punctuation", "}"],
["attribute", "#doc"],
["operator", "="],
["string-literal", [
["string", "\"not runtime data\""]
]],
["attribute", "#!runtimeAccess"],
["operator", "="],
["boolean", "true"],
["attribute", "#!maxIterations"],
["operator", "="],
["number", "16"]
]