annotate Resources/CodeGeneration/test/test1.jsonc @ 473:628941d63b8c bgo-commands-codegen

Ongoing work. Parsing tests work
author bgo-osimis
date Wed, 13 Feb 2019 12:07:00 +0100
parents
children 38997ceb9bc6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
473
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
1 /*
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
2 1 2 3 4 5 6 7
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
3 12345678901234567890123456789012345678901234567890123456789012345678901234567890
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
4 */
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
5 {
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
6 "root_name":"test1",
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
7 "types": [
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
8 {
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
9 "name":"B",
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
10 "kind":"struct",
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
11 "fields": [
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
12 {
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
13 "name":"someAs",
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
14 "type":"vector<A>"
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
15 },
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
16 {
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
17 "name":"someInts",
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
18 "type":"vector<int32>"
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
19 }
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
20 ]
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
21 },
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
22 {
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
23 "name":"A",
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
24 "kind":"struct",
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
25 "fields": [
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
26 {
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
27 "name":"someStrings",
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
28 "type":"vector<string>"
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
29 },
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
30 {
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
31 "name":"someInts2",
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
32 "type":"vector<int32>"
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
33 }
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
34 ]
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
35 },
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
36 {
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
37 "name":"MovieType",
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
38 "kind":"enum",
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
39 "fields": [
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
40 {
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
41 "name":"Romcom"
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
42 },
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
43 {
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
44 "name":"Horror"
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
45 },
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
46 {
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
47 "name":"ScienceFiction"
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
48 },
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
49 {
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
50 "name":"Vegetables"
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
51 }
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
52 ]
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
53 }
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
54 ]
628941d63b8c Ongoing work. Parsing tests work
bgo-osimis
parents:
diff changeset
55 }