MCPcopy Create free account
hub / github.com/WillAbides/rjson / handleArrayValues

Function handleArrayValues

array_handler_machine.rl.go:5–6570  ·  view source on GitHub ↗
(data []byte, handler ArrayValueHandler, stack []int)

Source from the content-addressed store, hash-verified

3package rjson
4
5func handleArrayValues(data []byte, handler ArrayValueHandler, stack []int) (int, []int, error) {
6 var top, cs, p, pp int
7 var err error
8 pe := len(data)
9 eof := len(data)
10
11 const handleArrayValues_start int = 1
12 const handleArrayValues_first_final int = 243
13 const handleArrayValues_error int = 0
14
15 const handleArrayValues_en_skip_array int = 83
16 const handleArrayValues_en_skip_object int = 150
17 const handleArrayValues_en_main int = 1
18
19 {
20 cs = handleArrayValues_start
21 top = 0
22 }
23
24 {
25 if p == pe {
26 goto _test_eof
27 }
28 goto _resume
29
30 _again:
31 switch cs {
32 case 1:
33 goto st1
34 case 0:
35 goto st0
36 case 2:
37 goto st2
38 case 3:
39 goto st3
40 case 4:
41 goto st4
42 case 5:
43 goto st5
44 case 6:
45 goto st6
46 case 7:
47 goto st7
48 case 8:
49 goto st8
50 case 9:
51 goto st9
52 case 10:
53 goto st10
54 case 11:
55 goto st11
56 case 12:
57 goto st12
58 case 13:
59 goto st13
60 case 243:
61 goto st243
62 case 14:

Callers 1

HandleArrayValuesFunction · 0.85

Calls 3

skipFloatDecFunction · 0.85
skipFloatExpFunction · 0.85
HandleArrayValueMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…