forked from miloyip/json-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathparse_array06.dot
More file actions
39 lines (33 loc) · 1.15 KB
/
parse_array06.dot
File metadata and controls
39 lines (33 loc) · 1.15 KB
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
digraph {
rankdir=TB
compound=true
fontname="Inconsolata, Consolas"
fontsize=10
margin="0,0"
ranksep=0.3
nodesep=1
penwidth=0.5
node [fontname="Inconsolata, Consolas", fontsize=10, penwidth=0.5, colorscheme=spectral7]
edge [fontname="Inconsolata, Consolas", fontsize=10, penwidth=0.5]
{
node [shape=record, style=filled, margin=0.1, height=0.3]
json [fillcolor=3, label="[|\"|a|b|c|\"|,|[|1|<j>,|2|]|,|3|]|\\0"]
stack [fillcolor=4, label="{string|<s>s|len=3}|<t> | | | | |"]
abc [fillcolor=3, label="<h>a|b|c|\\0"]
}
{
node [shape=plaintext, margin=0]
cjson [label="c->json"]
ctop [label="c->top"]
desc [style=solid,label="\l1. lept_parse()\l 2. lept_parse_value()\l 3. lept_parse_array()\l 4. lept_parse_value()\l 5. lept_parse_array()\l 6. lept_parse_value()\l 7. lept_parse_number()"]
}
{
node [shape=Mrecord,style=filled]
n1 [fillcolor=7,label="{number|n=1}"]
}
cjson -> json:j
ctop -> stack:t
json -> desc [style=invis]
stack:s -> abc:h
stack -> n1 [style=invis]
}