summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/whitequark/endless_comparison_method.txt
blob: 28ec3843bb0961802da657dc90edbe88b77d42e1 (plain)
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
@ ProgramNode (location: (1,0)-(11,28))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(11,28))
    └── body: (length: 6)
        ├── @ DefNode (location: (1,0)-(1,28))
        │   ├── name: :!=
        │   ├── name_loc: (1,4)-(1,6) = "!="
        │   ├── receiver: ∅
        │   ├── parameters:
        │   │   @ ParametersNode (location: (1,7)-(1,12))
        │   │   ├── requireds: (length: 1)
        │   │   │   └── @ RequiredParameterNode (location: (1,7)-(1,12))
        │   │   │       ├── flags: ∅
        │   │   │       └── name: :other
        │   │   ├── optionals: (length: 0)
        │   │   ├── rest: ∅
        │   │   ├── posts: (length: 0)
        │   │   ├── keywords: (length: 0)
        │   │   ├── keyword_rest: ∅
        │   │   └── block: ∅
        │   ├── body:
        │   │   @ StatementsNode (location: (1,16)-(1,28))
        │   │   └── body: (length: 1)
        │   │       └── @ CallNode (location: (1,16)-(1,28))
        │   │           ├── flags: variable_call, ignore_visibility
        │   │           ├── receiver: ∅
        │   │           ├── call_operator_loc: ∅
        │   │           ├── name: :do_something
        │   │           ├── message_loc: (1,16)-(1,28) = "do_something"
        │   │           ├── opening_loc: ∅
        │   │           ├── arguments: ∅
        │   │           ├── closing_loc: ∅
        │   │           └── block: ∅
        │   ├── locals: [:other]
        │   ├── def_keyword_loc: (1,0)-(1,3) = "def"
        │   ├── operator_loc: ∅
        │   ├── lparen_loc: (1,6)-(1,7) = "("
        │   ├── rparen_loc: (1,12)-(1,13) = ")"
        │   ├── equal_loc: (1,14)-(1,15) = "="
        │   └── end_keyword_loc: ∅
        ├── @ DefNode (location: (3,0)-(3,28))
        │   ├── name: :!=
        │   ├── name_loc: (3,4)-(3,6) = "!="
        │   ├── receiver: ∅
        │   ├── parameters:
        │   │   @ ParametersNode (location: (3,7)-(3,12))
        │   │   ├── requireds: (length: 1)
        │   │   │   └── @ RequiredParameterNode (location: (3,7)-(3,12))
        │   │   │       ├── flags: ∅
        │   │   │       └── name: :other
        │   │   ├── optionals: (length: 0)
        │   │   ├── rest: ∅
        │   │   ├── posts: (length: 0)
        │   │   ├── keywords: (length: 0)
        │   │   ├── keyword_rest: ∅
        │   │   └── block: ∅
        │   ├── body:
        │   │   @ StatementsNode (location: (3,16)-(3,28))
        │   │   └── body: (length: 1)
        │   │       └── @ CallNode (location: (3,16)-(3,28))
        │   │           ├── flags: variable_call, ignore_visibility
        │   │           ├── receiver: ∅
        │   │           ├── call_operator_loc: ∅
        │   │           ├── name: :do_something
        │   │           ├── message_loc: (3,16)-(3,28) = "do_something"
        │   │           ├── opening_loc: ∅
        │   │           ├── arguments: ∅
        │   │           ├── closing_loc: ∅
        │   │           └── block: ∅
        │   ├── locals: [:other]
        │   ├── def_keyword_loc: (3,0)-(3,3) = "def"
        │   ├── operator_loc: ∅
        │   ├── lparen_loc: (3,6)-(3,7) = "("
        │   ├── rparen_loc: (3,12)-(3,13) = ")"
        │   ├── equal_loc: (3,14)-(3,15) = "="
        │   └── end_keyword_loc: ∅
        ├── @ DefNode (location: (5,0)-(5,28))
        │   ├── name: :<=
        │   ├── name_loc: (5,4)-(5,6) = "<="
        │   ├── receiver: ∅
        │   ├── parameters:
        │   │   @ ParametersNode (location: (5,7)-(5,12))
        │   │   ├── requireds: (length: 1)
        │   │   │   └── @ RequiredParameterNode (location: (5,7)-(5,12))
        │   │   │       ├── flags: ∅
        │   │   │       └── name: :other
        │   │   ├── optionals: (length: 0)
        │   │   ├── rest: ∅
        │   │   ├── posts: (length: 0)
        │   │   ├── keywords: (length: 0)
        │   │   ├── keyword_rest: ∅
        │   │   └── block: ∅
        │   ├── body:
        │   │   @ StatementsNode (location: (5,16)-(5,28))
        │   │   └── body: (length: 1)
        │   │       └── @ CallNode (location: (5,16)-(5,28))
        │   │           ├── flags: variable_call, ignore_visibility
        │   │           ├── receiver: ∅
        │   │           ├── call_operator_loc: ∅
        │   │           ├── name: :do_something
        │   │           ├── message_loc: (5,16)-(5,28) = "do_something"
        │   │           ├── opening_loc: ∅
        │   │           ├── arguments: ∅
        │   │           ├── closing_loc: ∅
        │   │           └── block: ∅
        │   ├── locals: [:other]
        │   ├── def_keyword_loc: (5,0)-(5,3) = "def"
        │   ├── operator_loc: ∅
        │   ├── lparen_loc: (5,6)-(5,7) = "("
        │   ├── rparen_loc: (5,12)-(5,13) = ")"
        │   ├── equal_loc: (5,14)-(5,15) = "="
        │   └── end_keyword_loc: ∅
        ├── @ DefNode (location: (7,0)-(7,28))
        │   ├── name: :==
        │   ├── name_loc: (7,4)-(7,6) = "=="
        │   ├── receiver: ∅
        │   ├── parameters:
        │   │   @ ParametersNode (location: (7,7)-(7,12))
        │   │   ├── requireds: (length: 1)
        │   │   │   └── @ RequiredParameterNode (location: (7,7)-(7,12))
        │   │   │       ├── flags: ∅
        │   │   │       └── name: :other
        │   │   ├── optionals: (length: 0)
        │   │   ├── rest: ∅
        │   │   ├── posts: (length: 0)
        │   │   ├── keywords: (length: 0)
        │   │   ├── keyword_rest: ∅
        │   │   └── block: ∅
        │   ├── body:
        │   │   @ StatementsNode (location: (7,16)-(7,28))
        │   │   └── body: (length: 1)
        │   │       └── @ CallNode (location: (7,16)-(7,28))
        │   │           ├── flags: variable_call, ignore_visibility
        │   │           ├── receiver: ∅
        │   │           ├── call_operator_loc: ∅
        │   │           ├── name: :do_something
        │   │           ├── message_loc: (7,16)-(7,28) = "do_something"
        │   │           ├── opening_loc: ∅
        │   │           ├── arguments: ∅
        │   │           ├── closing_loc: ∅
        │   │           └── block: ∅
        │   ├── locals: [:other]
        │   ├── def_keyword_loc: (7,0)-(7,3) = "def"
        │   ├── operator_loc: ∅
        │   ├── lparen_loc: (7,6)-(7,7) = "("
        │   ├── rparen_loc: (7,12)-(7,13) = ")"
        │   ├── equal_loc: (7,14)-(7,15) = "="
        │   └── end_keyword_loc: ∅
        ├── @ DefNode (location: (9,0)-(9,29))
        │   ├── name: :===
        │   ├── name_loc: (9,4)-(9,7) = "==="
        │   ├── receiver: ∅
        │   ├── parameters:
        │   │   @ ParametersNode (location: (9,8)-(9,13))
        │   │   ├── requireds: (length: 1)
        │   │   │   └── @ RequiredParameterNode (location: (9,8)-(9,13))
        │   │   │       ├── flags: ∅
        │   │   │       └── name: :other
        │   │   ├── optionals: (length: 0)
        │   │   ├── rest: ∅
        │   │   ├── posts: (length: 0)
        │   │   ├── keywords: (length: 0)
        │   │   ├── keyword_rest: ∅
        │   │   └── block: ∅
        │   ├── body:
        │   │   @ StatementsNode (location: (9,17)-(9,29))
        │   │   └── body: (length: 1)
        │   │       └── @ CallNode (location: (9,17)-(9,29))
        │   │           ├── flags: variable_call, ignore_visibility
        │   │           ├── receiver: ∅
        │   │           ├── call_operator_loc: ∅
        │   │           ├── name: :do_something
        │   │           ├── message_loc: (9,17)-(9,29) = "do_something"
        │   │           ├── opening_loc: ∅
        │   │           ├── arguments: ∅
        │   │           ├── closing_loc: ∅
        │   │           └── block: ∅
        │   ├── locals: [:other]
        │   ├── def_keyword_loc: (9,0)-(9,3) = "def"
        │   ├── operator_loc: ∅
        │   ├── lparen_loc: (9,7)-(9,8) = "("
        │   ├── rparen_loc: (9,13)-(9,14) = ")"
        │   ├── equal_loc: (9,15)-(9,16) = "="
        │   └── end_keyword_loc: ∅
        └── @ DefNode (location: (11,0)-(11,28))
            ├── name: :>=
            ├── name_loc: (11,4)-(11,6) = ">="
            ├── receiver: ∅
            ├── parameters:
            │   @ ParametersNode (location: (11,7)-(11,12))
            │   ├── requireds: (length: 1)
            │   │   └── @ RequiredParameterNode (location: (11,7)-(11,12))
            │   │       ├── flags: ∅
            │   │       └── name: :other
            │   ├── optionals: (length: 0)
            │   ├── rest: ∅
            │   ├── posts: (length: 0)
            │   ├── keywords: (length: 0)
            │   ├── keyword_rest: ∅
            │   └── block: ∅
            ├── body:
            │   @ StatementsNode (location: (11,16)-(11,28))
            │   └── body: (length: 1)
            │       └── @ CallNode (location: (11,16)-(11,28))
            │           ├── flags: variable_call, ignore_visibility
            │           ├── receiver: ∅
            │           ├── call_operator_loc: ∅
            │           ├── name: :do_something
            │           ├── message_loc: (11,16)-(11,28) = "do_something"
            │           ├── opening_loc: ∅
            │           ├── arguments: ∅
            │           ├── closing_loc: ∅
            │           └── block: ∅
            ├── locals: [:other]
            ├── def_keyword_loc: (11,0)-(11,3) = "def"
            ├── operator_loc: ∅
            ├── lparen_loc: (11,6)-(11,7) = "("
            ├── rparen_loc: (11,12)-(11,13) = ")"
            ├── equal_loc: (11,14)-(11,15) = "="
            └── end_keyword_loc: ∅