@@ 213-216 (lines=4) @@ | ||
210 | $nextExpectedElements = 0b000000000000000000000001010; |
|
211 | break; |
|
212 | ||
213 | case 'value': |
|
214 | $nextExpectedElements = 0b100100000011100100011011100; |
|
215 | $aggregates[$depth][] = $aggregates[$depth + 1]; |
|
216 | break; |
|
217 | ||
218 | case 'array': |
|
219 | case 'struct': |
|
@@ 246-250 (lines=5) @@ | ||
243 | $nextExpectedElements = 0b000000000000000000000100000; |
|
244 | break; |
|
245 | ||
246 | case 'name': |
|
247 | // Next: value, member |
|
248 | $nextExpectedElements = 0b000000000000000000001010000; |
|
249 | $aggregates[$depth]['name'] = $aggregates[$depth + 1]; |
|
250 | break; |
|
251 | ||
252 | case 'member': |
|
253 | // Next: struct, member |