Skip to content

Commit 07c7de5

Browse files
committed
run test --learn, add a few more constants to constant.rb test case
1 parent 7c032f6 commit 07c7de5

File tree

9 files changed

+249
-664
lines changed

9 files changed

+249
-664
lines changed

ruby/ql/test/library-tests/ast/Ast.expected

Lines changed: 81 additions & 382 deletions
Large diffs are not rendered by default.

ruby/ql/test/library-tests/ast/AstDesugar.expected

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -267,20 +267,12 @@ calls/calls.rb:
267267
# 340| getArgument: [IntegerLiteral] 5
268268
# 340| getArgument: [IntegerLiteral] 6
269269
control/cases.rb:
270-
# 91| [ArrayLiteral] %w(...)
271-
# 91| getDesugared: [MethodCall] call to []
272-
# 91| getReceiver: [ConstantReadAccess] Array
273-
# 91| getArgument: [StringLiteral] "foo"
274-
# 91| getComponent: [StringTextComponent] foo
275-
# 91| getArgument: [StringLiteral] "bar"
276-
# 91| getComponent: [StringTextComponent] bar
277-
# 92| [ArrayLiteral] %i(...)
278-
# 92| getDesugared: [MethodCall] call to []
279-
# 92| getReceiver: [ConstantReadAccess] Array
280-
# 92| getArgument: [SymbolLiteral] :"foo"
281-
# 92| getComponent: [StringTextComponent] foo
282-
# 92| getArgument: [SymbolLiteral] :"bar"
283-
# 92| getComponent: [StringTextComponent] bar
270+
# 79| [ArrayLiteral] [...]
271+
# 79| getDesugared: [MethodCall] call to []
272+
# 79| getReceiver: [ConstantReadAccess] Array
273+
# 108| [ArrayLiteral] [...]
274+
# 108| getDesugared: [MethodCall] call to []
275+
# 108| getReceiver: [ConstantReadAccess] Array
284276
constants/constants.rb:
285277
# 20| [ArrayLiteral] [...]
286278
# 20| getDesugared: [MethodCall] call to []

ruby/ql/test/library-tests/ast/ValueText.expected

Lines changed: 13 additions & 113 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,14 @@
7474
| constants/constants.rb:20:22:20:28 | "Chuck" | Chuck |
7575
| constants/constants.rb:20:31:20:36 | "Dave" | Dave |
7676
| constants/constants.rb:28:11:28:15 | "foo" | foo |
77-
| constants/constants.rb:37:30:37:33 | 1024 | 1024 |
78-
| constants/constants.rb:39:6:39:31 | MAX_SIZE | 1024 |
77+
| constants/constants.rb:32:16:32:17 | 42 | 42 |
78+
| constants/constants.rb:36:18:36:19 | 43 | 43 |
79+
| constants/constants.rb:39:30:39:33 | 1024 | 1024 |
80+
| constants/constants.rb:41:6:41:31 | MAX_SIZE | 1024 |
81+
| constants/constants.rb:48:19:48:20 | 44 | 44 |
82+
| constants/constants.rb:54:19:54:20 | 45 | 45 |
83+
| constants/constants.rb:60:19:60:20 | 45 | 45 |
84+
| constants/constants.rb:67:18:67:19 | 46 | 46 |
7985
| control/cases.rb:2:5:2:5 | 0 | 0 |
8086
| control/cases.rb:3:5:3:5 | 0 | 0 |
8187
| control/cases.rb:4:5:4:5 | 0 | 0 |
@@ -96,126 +102,20 @@
96102
| control/cases.rb:21:6:21:6 | a | 0 |
97103
| control/cases.rb:21:10:21:10 | b | 0 |
98104
| control/cases.rb:21:18:21:19 | 30 | 30 |
99-
| control/cases.rb:27:6:27:6 | 5 | 5 |
100105
| control/cases.rb:27:13:27:16 | true | true |
101106
| control/cases.rb:28:8:28:12 | false | false |
102-
| control/cases.rb:32:19:32:19 | 0 | 0 |
103-
| control/cases.rb:33:8:33:11 | true | true |
104-
| control/cases.rb:34:15:34:15 | 0 | 0 |
105107
| control/cases.rb:35:8:35:11 | true | true |
106108
| control/cases.rb:36:8:36:12 | false | false |
107-
| control/cases.rb:40:6:40:6 | 5 | 5 |
108-
| control/cases.rb:41:6:41:6 | 5 | 5 |
109-
| control/cases.rb:42:6:42:6 | 1 | 1 |
110-
| control/cases.rb:42:9:42:9 | 2 | 2 |
111-
| control/cases.rb:43:6:43:6 | 1 | 1 |
112-
| control/cases.rb:43:9:43:9 | 2 | 2 |
113-
| control/cases.rb:44:6:44:6 | 1 | 1 |
114-
| control/cases.rb:44:9:44:9 | 2 | 2 |
115-
| control/cases.rb:44:12:44:12 | 3 | 3 |
116-
| control/cases.rb:45:6:45:6 | 1 | 1 |
117-
| control/cases.rb:45:9:45:9 | 2 | 2 |
118-
| control/cases.rb:45:12:45:12 | 3 | 3 |
119-
| control/cases.rb:46:6:46:6 | 1 | 1 |
120-
| control/cases.rb:46:9:46:9 | 2 | 2 |
121-
| control/cases.rb:46:12:46:12 | 3 | 3 |
122-
| control/cases.rb:47:6:47:6 | 1 | 1 |
123-
| control/cases.rb:47:13:47:13 | 3 | 3 |
124-
| control/cases.rb:49:9:49:9 | 3 | 3 |
125-
| control/cases.rb:49:12:49:12 | 4 | 4 |
126-
| control/cases.rb:50:9:50:9 | 3 | 3 |
127-
| control/cases.rb:51:10:51:10 | 3 | 3 |
128-
| control/cases.rb:52:6:52:6 | :a | a |
129-
| control/cases.rb:53:6:53:6 | :a | a |
130-
| control/cases.rb:53:9:53:9 | 5 | 5 |
131-
| control/cases.rb:54:6:54:6 | :a | a |
132-
| control/cases.rb:54:9:54:9 | 5 | 5 |
133-
| control/cases.rb:55:6:55:6 | :a | a |
134-
| control/cases.rb:55:9:55:9 | 5 | 5 |
135-
| control/cases.rb:55:12:55:12 | :b | b |
136-
| control/cases.rb:56:6:56:6 | :a | a |
137-
| control/cases.rb:56:9:56:9 | 5 | 5 |
138-
| control/cases.rb:56:12:56:12 | :b | b |
139-
| control/cases.rb:57:6:57:6 | :a | a |
140-
| control/cases.rb:57:9:57:9 | 5 | 5 |
141-
| control/cases.rb:57:12:57:12 | :b | b |
142-
| control/cases.rb:59:7:59:7 | 5 | 5 |
143-
| control/cases.rb:60:7:60:7 | 5 | 5 |
144-
| control/cases.rb:61:7:61:7 | 1 | 1 |
145-
| control/cases.rb:61:10:61:10 | 2 | 2 |
146-
| control/cases.rb:62:7:62:7 | 1 | 1 |
147-
| control/cases.rb:62:10:62:10 | 2 | 2 |
148-
| control/cases.rb:63:7:63:7 | 1 | 1 |
149-
| control/cases.rb:63:10:63:10 | 2 | 2 |
150-
| control/cases.rb:63:13:63:13 | 3 | 3 |
151-
| control/cases.rb:64:7:64:7 | 1 | 1 |
152-
| control/cases.rb:64:10:64:10 | 2 | 2 |
153-
| control/cases.rb:64:13:64:13 | 3 | 3 |
154-
| control/cases.rb:65:7:65:7 | 1 | 1 |
155-
| control/cases.rb:65:10:65:10 | 2 | 2 |
156-
| control/cases.rb:65:13:65:13 | 3 | 3 |
157-
| control/cases.rb:66:7:66:7 | 1 | 1 |
158-
| control/cases.rb:66:14:66:14 | 3 | 3 |
159-
| control/cases.rb:68:11:68:11 | 3 | 3 |
160-
| control/cases.rb:68:14:68:14 | 4 | 4 |
161-
| control/cases.rb:69:10:69:10 | 3 | 3 |
162-
| control/cases.rb:70:11:70:11 | 3 | 3 |
163-
| control/cases.rb:71:7:71:7 | :a | a |
164-
| control/cases.rb:72:7:72:7 | :a | a |
165-
| control/cases.rb:72:10:72:10 | 5 | 5 |
166-
| control/cases.rb:73:7:73:7 | :a | a |
167-
| control/cases.rb:73:10:73:10 | 5 | 5 |
168-
| control/cases.rb:74:7:74:7 | :a | a |
169-
| control/cases.rb:74:10:74:10 | 5 | 5 |
170-
| control/cases.rb:74:13:74:13 | :b | b |
171-
| control/cases.rb:75:7:75:7 | :a | a |
172-
| control/cases.rb:75:10:75:10 | 5 | 5 |
173-
| control/cases.rb:75:13:75:13 | :b | b |
174-
| control/cases.rb:76:7:76:7 | :a | a |
175-
| control/cases.rb:76:10:76:10 | 5 | 5 |
176-
| control/cases.rb:76:13:76:13 | :b | b |
177109
| control/cases.rb:84:7:84:8 | 42 | 42 |
178-
| control/cases.rb:87:6:87:6 | 5 | 5 |
179-
| control/cases.rb:88:7:88:9 | foo | 42 |
180-
| control/cases.rb:90:6:90:13 | "string" | string |
181-
| control/cases.rb:91:9:91:11 | "foo" | foo |
182-
| control/cases.rb:91:13:91:15 | "bar" | bar |
183-
| control/cases.rb:92:9:92:11 | :"foo" | foo |
184-
| control/cases.rb:92:13:92:15 | :"bar" | bar |
185-
| control/cases.rb:93:6:93:17 | /.*abc[0-9]/ | .*abc[0-9] |
186-
| control/cases.rb:94:6:94:6 | 5 | 5 |
187-
| control/cases.rb:94:11:94:12 | 10 | 10 |
188-
| control/cases.rb:95:9:95:10 | 10 | 10 |
189-
| control/cases.rb:96:6:96:6 | 5 | 5 |
190-
| control/cases.rb:97:6:97:6 | 5 | 5 |
191-
| control/cases.rb:98:6:98:6 | 5 | 5 |
192-
| control/cases.rb:98:23:98:30 | "string" | string |
193-
| control/cases.rb:102:6:102:8 | nil | nil |
194-
| control/cases.rb:102:19:102:22 | true | true |
195-
| control/cases.rb:102:26:102:30 | false | false |
196-
| control/cases.rb:102:34:102:41 | __LINE__ | 102 |
197-
| control/cases.rb:102:45:102:52 | __FILE__ | control/cases.rb |
198-
| control/cases.rb:102:56:102:67 | __ENCODING__ | UTF-8 |
199-
| control/cases.rb:103:18:103:19 | 10 | 10 |
200-
| control/cases.rb:104:6:104:9 | :foo | foo |
201-
| control/cases.rb:105:6:105:15 | :"foo bar" | foo bar |
202-
| control/cases.rb:106:7:106:7 | 5 | 5 |
203-
| control/cases.rb:106:12:106:13 | 10 | 10 |
204-
| control/cases.rb:107:7:107:7 | 1 | 1 |
205110
| control/cases.rb:108:7:108:7 | 0 | 0 |
206111
| control/cases.rb:108:11:108:12 | "" | |
207-
| control/cases.rb:127:11:127:11 | 1 | 1 |
208-
| control/cases.rb:127:14:127:14 | 2 | 2 |
209-
| control/cases.rb:128:18:128:18 | 1 | 1 |
210-
| control/cases.rb:136:7:136:7 | :x | x |
211-
| control/cases.rb:137:16:137:16 | :x | x |
212-
| control/cases.rb:137:18:137:18 | 1 | 1 |
213-
| control/cases.rb:138:16:138:16 | :x | x |
214-
| control/cases.rb:138:18:138:18 | 1 | 1 |
215-
| control/cases.rb:138:21:138:21 | :a | a |
216-
| control/cases.rb:139:11:139:11 | :y | y |
112+
| control/cases.rb:120:10:120:10 | a | 0 |
113+
| control/cases.rb:120:13:120:13 | b | 0 |
114+
| control/cases.rb:120:17:120:17 | c | 0 |
115+
| control/cases.rb:120:20:120:20 | d | 0 |
217116
| control/cases.rb:141:11:141:11 | :a | a |
218117
| control/cases.rb:141:14:141:14 | 1 | 1 |
118+
| control/cases.rb:141:19:141:21 | nil | nil |
219119
| control/conditionals.rb:2:5:2:5 | 0 | 0 |
220120
| control/conditionals.rb:3:5:3:5 | 0 | 0 |
221121
| control/conditionals.rb:4:5:4:5 | 0 | 0 |

ruby/ql/test/library-tests/ast/constants/constants.expected

Lines changed: 88 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -20,55 +20,89 @@ constantAccess
2020
| constants.rb:20:13:20:37 | Array | read | Array | ConstantReadAccess |
2121
| constants.rb:22:5:22:9 | Names | read | Names | ConstantReadAccess |
2222
| constants.rb:23:18:23:25 | GREETING | read | GREETING | ConstantReadAccess |
23-
| constants.rb:31:1:32:3 | ClassD | write | ClassD | ClassDeclaration |
23+
| constants.rb:31:1:33:3 | ClassD | write | ClassD | ClassDeclaration |
2424
| constants.rb:31:7:31:13 | ModuleA | read | ModuleA | ConstantReadAccess |
2525
| constants.rb:31:25:31:31 | ModuleA | read | ModuleA | ConstantReadAccess |
2626
| constants.rb:31:25:31:39 | ClassA | read | ClassA | ConstantReadAccess |
27-
| constants.rb:34:1:35:3 | ModuleC | write | ModuleC | ModuleDeclaration |
28-
| constants.rb:34:8:34:14 | ModuleA | read | ModuleA | ConstantReadAccess |
29-
| constants.rb:37:1:37:7 | ModuleA | read | ModuleA | ConstantReadAccess |
30-
| constants.rb:37:1:37:16 | ModuleB | read | ModuleB | ConstantReadAccess |
31-
| constants.rb:37:1:37:26 | MAX_SIZE | write | MAX_SIZE | ConstantAssignment |
32-
| constants.rb:39:6:39:12 | ModuleA | read | ModuleA | ConstantReadAccess |
33-
| constants.rb:39:6:39:21 | ModuleB | read | ModuleB | ConstantReadAccess |
34-
| constants.rb:39:6:39:31 | MAX_SIZE | read | MAX_SIZE | ConstantReadAccess |
35-
| constants.rb:41:6:41:13 | GREETING | read | GREETING | ConstantReadAccess |
36-
| constants.rb:42:6:42:15 | GREETING | read | GREETING | ConstantReadAccess |
37-
| constants.rb:44:1:47:3 | ModuleB | write | ModuleB | ModuleDeclaration |
38-
| constants.rb:44:8:44:14 | ModuleA | read | ModuleA | ConstantReadAccess |
39-
| constants.rb:45:3:46:5 | ClassB | write | ClassB | ClassDeclaration |
40-
| constants.rb:45:18:45:21 | Base | read | Base | ConstantReadAccess |
41-
| constants.rb:49:1:52:3 | ModuleA | write | ModuleA | ModuleDeclaration |
42-
| constants.rb:50:3:51:5 | ClassB | write | ClassB | ClassDeclaration |
43-
| constants.rb:50:9:50:15 | ModuleB | read | ModuleB | ConstantReadAccess |
44-
| constants.rb:50:27:50:30 | Base | read | Base | ConstantReadAccess |
45-
| constants.rb:54:1:56:3 | Mod1 | write | Mod1 | ModuleDeclaration |
46-
| constants.rb:55:3:55:17 | Mod3 | write | Mod3 | ModuleDeclaration |
47-
| constants.rb:58:1:61:3 | Mod4 | write | Mod4 | ModuleDeclaration |
48-
| constants.rb:59:11:59:14 | Mod1 | read | Mod1 | ConstantReadAccess |
49-
| constants.rb:60:3:60:23 | Mod5 | write | Mod5 | ModuleDeclaration |
50-
| constants.rb:60:10:60:13 | Mod3 | read | Mod3 | ConstantReadAccess |
27+
| constants.rb:32:3:32:12 | FOURTY_TWO | write | FOURTY_TWO | ConstantAssignment |
28+
| constants.rb:35:1:37:3 | ModuleC | write | ModuleC | ModuleDeclaration |
29+
| constants.rb:35:8:35:14 | ModuleA | read | ModuleA | ConstantReadAccess |
30+
| constants.rb:36:3:36:14 | FOURTY_THREE | write | FOURTY_THREE | ConstantAssignment |
31+
| constants.rb:39:1:39:7 | ModuleA | read | ModuleA | ConstantReadAccess |
32+
| constants.rb:39:1:39:16 | ModuleB | read | ModuleB | ConstantReadAccess |
33+
| constants.rb:39:1:39:26 | MAX_SIZE | write | MAX_SIZE | ConstantAssignment |
34+
| constants.rb:41:6:41:12 | ModuleA | read | ModuleA | ConstantReadAccess |
35+
| constants.rb:41:6:41:21 | ModuleB | read | ModuleB | ConstantReadAccess |
36+
| constants.rb:41:6:41:31 | MAX_SIZE | read | MAX_SIZE | ConstantReadAccess |
37+
| constants.rb:43:6:43:13 | GREETING | read | GREETING | ConstantReadAccess |
38+
| constants.rb:44:6:44:15 | GREETING | read | GREETING | ConstantReadAccess |
39+
| constants.rb:46:1:50:3 | ModuleB | write | ModuleB | ModuleDeclaration |
40+
| constants.rb:46:8:46:14 | ModuleA | read | ModuleA | ConstantReadAccess |
41+
| constants.rb:47:3:49:5 | ClassB | write | ClassB | ClassDeclaration |
42+
| constants.rb:47:18:47:21 | Base | read | Base | ConstantReadAccess |
43+
| constants.rb:48:5:48:15 | FOURTY_FOUR | write | FOURTY_FOUR | ConstantAssignment |
44+
| constants.rb:52:1:59:3 | ModuleA | write | ModuleA | ModuleDeclaration |
45+
| constants.rb:53:3:53:13 | FOURTY_FOUR | write | FOURTY_FOUR | ConstantAssignment |
46+
| constants.rb:54:3:58:5 | ClassB | write | ClassB | ClassDeclaration |
47+
| constants.rb:54:9:54:15 | ModuleB | read | ModuleB | ConstantReadAccess |
48+
| constants.rb:54:27:54:30 | Base | read | Base | ConstantReadAccess |
49+
| constants.rb:55:21:55:31 | FOURTY_FOUR | read | FOURTY_FOUR | ConstantReadAccess |
50+
| constants.rb:56:5:56:15 | FOURTY_FOUR | write | FOURTY_FOUR | ConstantAssignment |
51+
| constants.rb:57:21:57:31 | FOURTY_FOUR | read | FOURTY_FOUR | ConstantReadAccess |
52+
| constants.rb:61:1:66:3 | Mod1 | write | Mod1 | ModuleDeclaration |
53+
| constants.rb:62:3:64:5 | Mod3 | write | Mod3 | ModuleDeclaration |
54+
| constants.rb:63:5:63:15 | FOURTY_FIVE | write | FOURTY_FIVE | ConstantAssignment |
55+
| constants.rb:65:19:65:22 | Mod3 | read | Mod3 | ConstantReadAccess |
56+
| constants.rb:65:19:65:35 | FOURTY_FIVE | read | FOURTY_FIVE | ConstantReadAccess |
57+
| constants.rb:68:1:74:3 | Mod4 | write | Mod4 | ModuleDeclaration |
58+
| constants.rb:69:11:69:14 | Mod1 | read | Mod1 | ConstantReadAccess |
59+
| constants.rb:70:3:72:5 | Mod5 | write | Mod5 | ModuleDeclaration |
60+
| constants.rb:70:10:70:13 | Mod3 | read | Mod3 | ConstantReadAccess |
61+
| constants.rb:71:5:71:14 | FOURTY_SIX | write | FOURTY_SIX | ConstantAssignment |
62+
| constants.rb:73:18:73:21 | Mod3 | read | Mod3 | ConstantReadAccess |
63+
| constants.rb:73:18:73:33 | FOURTY_SIX | read | FOURTY_SIX | ConstantReadAccess |
5164
getConst
5265
| constants.rb:1:1:15:3 | ModuleA | CONST_B | constants.rb:6:15:6:23 | "const_b" |
66+
| constants.rb:1:1:15:3 | ModuleA | FOURTY_FOUR | constants.rb:53:17:53:29 | "fourty-four" |
5367
| constants.rb:2:5:4:7 | ModuleA::ClassA | CONST_A | constants.rb:3:19:3:27 | "const_a" |
68+
| constants.rb:31:1:33:3 | ModuleA::ClassD | FOURTY_TWO | constants.rb:32:16:32:17 | 42 |
69+
| constants.rb:35:1:37:3 | ModuleA::ModuleC | FOURTY_THREE | constants.rb:36:18:36:19 | 43 |
70+
| constants.rb:54:3:58:5 | ModuleA::ModuleB::ClassB | FOURTY_FOUR | constants.rb:48:19:48:20 | 44 |
71+
| constants.rb:54:3:58:5 | ModuleA::ModuleB::ClassB | FOURTY_FOUR | constants.rb:56:19:56:20 | 44 |
72+
| constants.rb:62:3:64:5 | Mod1::Mod3 | FOURTY_FIVE | constants.rb:63:19:63:20 | 45 |
73+
| constants.rb:70:3:72:5 | Mod1::Mod3::Mod5 | FOURTY_SIX | constants.rb:71:18:71:19 | 46 |
5474
| file://:0:0:0:0 | Object | GREETING | constants.rb:17:12:17:64 | ... + ... |
5575
lookupConst
5676
| constants.rb:1:1:15:3 | ModuleA | CONST_B | constants.rb:6:15:6:23 | "const_b" |
77+
| constants.rb:1:1:15:3 | ModuleA | FOURTY_FOUR | constants.rb:53:17:53:29 | "fourty-four" |
5778
| constants.rb:2:5:4:7 | ModuleA::ClassA | CONST_A | constants.rb:3:19:3:27 | "const_a" |
5879
| constants.rb:2:5:4:7 | ModuleA::ClassA | GREETING | constants.rb:17:12:17:64 | ... + ... |
59-
| constants.rb:8:5:14:7 | ModuleA::ModuleB | MAX_SIZE | constants.rb:37:30:37:33 | 1024 |
60-
| constants.rb:9:9:10:11 | ModuleA::ModuleB::ClassB | GREETING | constants.rb:17:12:17:64 | ... + ... |
80+
| constants.rb:8:5:14:7 | ModuleA::ModuleB | MAX_SIZE | constants.rb:39:30:39:33 | 1024 |
6181
| constants.rb:12:9:13:11 | ModuleA::ModuleB::ClassC | GREETING | constants.rb:17:12:17:64 | ... + ... |
62-
| constants.rb:31:1:32:3 | ModuleA::ClassD | CONST_A | constants.rb:3:19:3:27 | "const_a" |
63-
| constants.rb:31:1:32:3 | ModuleA::ClassD | GREETING | constants.rb:17:12:17:64 | ... + ... |
82+
| constants.rb:31:1:33:3 | ModuleA::ClassD | CONST_A | constants.rb:3:19:3:27 | "const_a" |
83+
| constants.rb:31:1:33:3 | ModuleA::ClassD | FOURTY_TWO | constants.rb:32:16:32:17 | 42 |
84+
| constants.rb:31:1:33:3 | ModuleA::ClassD | GREETING | constants.rb:17:12:17:64 | ... + ... |
85+
| constants.rb:35:1:37:3 | ModuleA::ModuleC | FOURTY_THREE | constants.rb:36:18:36:19 | 43 |
86+
| constants.rb:54:3:58:5 | ModuleA::ModuleB::ClassB | FOURTY_FOUR | constants.rb:48:19:48:20 | 44 |
87+
| constants.rb:54:3:58:5 | ModuleA::ModuleB::ClassB | FOURTY_FOUR | constants.rb:56:19:56:20 | 44 |
88+
| constants.rb:54:3:58:5 | ModuleA::ModuleB::ClassB | GREETING | constants.rb:17:12:17:64 | ... + ... |
89+
| constants.rb:62:3:64:5 | Mod1::Mod3 | FOURTY_FIVE | constants.rb:63:19:63:20 | 45 |
90+
| constants.rb:70:3:72:5 | Mod1::Mod3::Mod5 | FOURTY_SIX | constants.rb:71:18:71:19 | 46 |
6491
| file://:0:0:0:0 | Object | GREETING | constants.rb:17:12:17:64 | ... + ... |
6592
constantValue
6693
| constants.rb:17:22:17:45 | CONST_A | constants.rb:3:19:3:27 | "const_a" |
6794
| constants.rb:17:49:17:64 | CONST_B | constants.rb:6:15:6:23 | "const_b" |
6895
| constants.rb:23:18:23:25 | GREETING | constants.rb:17:12:17:64 | ... + ... |
69-
| constants.rb:39:6:39:31 | MAX_SIZE | constants.rb:37:30:37:33 | 1024 |
70-
| constants.rb:41:6:41:13 | GREETING | constants.rb:17:12:17:64 | ... + ... |
71-
| constants.rb:42:6:42:15 | GREETING | constants.rb:17:12:17:64 | ... + ... |
96+
| constants.rb:41:6:41:31 | MAX_SIZE | constants.rb:39:30:39:33 | 1024 |
97+
| constants.rb:43:6:43:13 | GREETING | constants.rb:17:12:17:64 | ... + ... |
98+
| constants.rb:44:6:44:15 | GREETING | constants.rb:17:12:17:64 | ... + ... |
99+
| constants.rb:55:21:55:31 | FOURTY_FOUR | constants.rb:48:19:48:20 | 44 |
100+
| constants.rb:55:21:55:31 | FOURTY_FOUR | constants.rb:53:17:53:29 | "fourty-four" |
101+
| constants.rb:55:21:55:31 | FOURTY_FOUR | constants.rb:56:19:56:20 | 44 |
102+
| constants.rb:57:21:57:31 | FOURTY_FOUR | constants.rb:48:19:48:20 | 44 |
103+
| constants.rb:57:21:57:31 | FOURTY_FOUR | constants.rb:53:17:53:29 | "fourty-four" |
104+
| constants.rb:57:21:57:31 | FOURTY_FOUR | constants.rb:56:19:56:20 | 44 |
105+
| constants.rb:65:19:65:35 | FOURTY_FIVE | constants.rb:63:19:63:20 | 45 |
72106
constantWriteAccessQualifiedName
73107
| constants.rb:1:1:15:3 | ModuleA | ModuleA |
74108
| constants.rb:2:5:4:7 | ClassA | ModuleA::ClassA |
@@ -79,17 +113,25 @@ constantWriteAccessQualifiedName
79113
| constants.rb:12:9:13:11 | ClassC | ModuleA::ModuleB::ClassC |
80114
| constants.rb:17:1:17:8 | GREETING | GREETING |
81115
| constants.rb:20:5:20:9 | Names | Names |
82-
| constants.rb:31:1:32:3 | ClassD | ModuleA::ClassD |
83-
| constants.rb:34:1:35:3 | ModuleC | ModuleA::ModuleC |
84-
| constants.rb:37:1:37:26 | MAX_SIZE | ModuleA::ModuleB::MAX_SIZE |
85-
| constants.rb:44:1:47:3 | ModuleB | ModuleA::ModuleB |
86-
| constants.rb:45:3:46:5 | ClassB | ModuleA::ModuleB::ClassB |
87-
| constants.rb:49:1:52:3 | ModuleA | ModuleA |
88-
| constants.rb:50:3:51:5 | ClassB | ModuleA::ModuleB::ClassB |
89-
| constants.rb:50:3:51:5 | ClassB | ModuleB::ClassB |
90-
| constants.rb:54:1:56:3 | Mod1 | Mod1 |
91-
| constants.rb:55:3:55:17 | Mod3 | Mod1::Mod3 |
92-
| constants.rb:58:1:61:3 | Mod4 | Mod4 |
93-
| constants.rb:60:3:60:23 | Mod5 | Mod1::Mod3::Mod5 |
94-
| constants.rb:60:3:60:23 | Mod5 | Mod4::Mod3::Mod5 |
95-
| constants.rb:60:3:60:23 | Mod5 | Mod3::Mod5 |
116+
| constants.rb:31:1:33:3 | ClassD | ModuleA::ClassD |
117+
| constants.rb:32:3:32:12 | FOURTY_TWO | ModuleA::ClassD::FOURTY_TWO |
118+
| constants.rb:35:1:37:3 | ModuleC | ModuleA::ModuleC |
119+
| constants.rb:36:3:36:14 | FOURTY_THREE | ModuleA::ModuleC::FOURTY_THREE |
120+
| constants.rb:39:1:39:26 | MAX_SIZE | ModuleA::ModuleB::MAX_SIZE |
121+
| constants.rb:46:1:50:3 | ModuleB | ModuleA::ModuleB |
122+
| constants.rb:47:3:49:5 | ClassB | ModuleA::ModuleB::ClassB |
123+
| constants.rb:48:5:48:15 | FOURTY_FOUR | ModuleA::ModuleB::ClassB::FOURTY_FOUR |
124+
| constants.rb:52:1:59:3 | ModuleA | ModuleA |
125+
| constants.rb:53:3:53:13 | FOURTY_FOUR | ModuleA::FOURTY_FOUR |
126+
| constants.rb:54:3:58:5 | ClassB | ModuleA::ModuleB::ClassB |
127+
| constants.rb:54:3:58:5 | ClassB | ModuleB::ClassB |
128+
| constants.rb:56:5:56:15 | FOURTY_FOUR | ModuleA::ModuleB::ClassB::FOURTY_FOUR |
129+
| constants.rb:56:5:56:15 | FOURTY_FOUR | ModuleB::ClassB::FOURTY_FOUR |
130+
| constants.rb:61:1:66:3 | Mod1 | Mod1 |
131+
| constants.rb:62:3:64:5 | Mod3 | Mod1::Mod3 |
132+
| constants.rb:63:5:63:15 | FOURTY_FIVE | Mod1::Mod3::FOURTY_FIVE |
133+
| constants.rb:68:1:74:3 | Mod4 | Mod4 |
134+
| constants.rb:70:3:72:5 | Mod5 | Mod1::Mod3::Mod5 |
135+
| constants.rb:70:3:72:5 | Mod5 | Mod3::Mod5 |
136+
| constants.rb:71:5:71:14 | FOURTY_SIX | Mod1::Mod3::Mod5::FOURTY_SIX |
137+
| constants.rb:71:5:71:14 | FOURTY_SIX | Mod3::Mod5::FOURTY_SIX |

0 commit comments

Comments
 (0)