@usagi-coffee/tree-sitter-df 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (152) hide show
  1. package/.github/workflows/test.yml +43 -0
  2. package/.prettierrc +7 -0
  3. package/Cargo.lock +59 -0
  4. package/Cargo.toml +26 -0
  5. package/LICENSE +21 -0
  6. package/README.md +64 -0
  7. package/binding.gyp +19 -0
  8. package/bindings/node/binding.cc +28 -0
  9. package/bindings/node/index.js +19 -0
  10. package/bindings/rust/build.rs +40 -0
  11. package/bindings/rust/lib.rs +52 -0
  12. package/grammar.js +203 -0
  13. package/package.json +24 -0
  14. package/src/grammar.json +1804 -0
  15. package/src/node-types.json +662 -0
  16. package/src/parser.c +6755 -0
  17. package/src/scanner.c +44 -0
  18. package/src/tree_sitter/parser.h +224 -0
  19. package/target/.rustc_info.json +1 -0
  20. package/target/debug/.cargo-lock +0 -0
  21. package/target/debug/.fingerprint/aho-corasick-f507828ee8a0f2f9/dep-lib-aho_corasick +0 -0
  22. package/target/debug/.fingerprint/aho-corasick-f507828ee8a0f2f9/invoked.timestamp +1 -0
  23. package/target/debug/.fingerprint/aho-corasick-f507828ee8a0f2f9/lib-aho_corasick +1 -0
  24. package/target/debug/.fingerprint/aho-corasick-f507828ee8a0f2f9/lib-aho_corasick.json +1 -0
  25. package/target/debug/.fingerprint/cc-8a803f2a3b43267e/dep-lib-cc +0 -0
  26. package/target/debug/.fingerprint/cc-8a803f2a3b43267e/invoked.timestamp +1 -0
  27. package/target/debug/.fingerprint/cc-8a803f2a3b43267e/lib-cc +1 -0
  28. package/target/debug/.fingerprint/cc-8a803f2a3b43267e/lib-cc.json +1 -0
  29. package/target/debug/.fingerprint/memchr-60ea704184825e35/dep-lib-memchr +0 -0
  30. package/target/debug/.fingerprint/memchr-60ea704184825e35/invoked.timestamp +1 -0
  31. package/target/debug/.fingerprint/memchr-60ea704184825e35/lib-memchr +1 -0
  32. package/target/debug/.fingerprint/memchr-60ea704184825e35/lib-memchr.json +1 -0
  33. package/target/debug/.fingerprint/memchr-d47ee9770b542a09/run-build-script-build-script-build +1 -0
  34. package/target/debug/.fingerprint/memchr-d47ee9770b542a09/run-build-script-build-script-build.json +1 -0
  35. package/target/debug/.fingerprint/memchr-dd983ce908f0d281/build-script-build-script-build +1 -0
  36. package/target/debug/.fingerprint/memchr-dd983ce908f0d281/build-script-build-script-build.json +1 -0
  37. package/target/debug/.fingerprint/memchr-dd983ce908f0d281/dep-build-script-build-script-build +0 -0
  38. package/target/debug/.fingerprint/memchr-dd983ce908f0d281/invoked.timestamp +1 -0
  39. package/target/debug/.fingerprint/regex-dbfcd0c55ce0cd7c/dep-lib-regex +0 -0
  40. package/target/debug/.fingerprint/regex-dbfcd0c55ce0cd7c/invoked.timestamp +1 -0
  41. package/target/debug/.fingerprint/regex-dbfcd0c55ce0cd7c/lib-regex +1 -0
  42. package/target/debug/.fingerprint/regex-dbfcd0c55ce0cd7c/lib-regex.json +1 -0
  43. package/target/debug/.fingerprint/regex-syntax-e7e3aaedc0a1d7cf/dep-lib-regex-syntax +0 -0
  44. package/target/debug/.fingerprint/regex-syntax-e7e3aaedc0a1d7cf/invoked.timestamp +1 -0
  45. package/target/debug/.fingerprint/regex-syntax-e7e3aaedc0a1d7cf/lib-regex-syntax +1 -0
  46. package/target/debug/.fingerprint/regex-syntax-e7e3aaedc0a1d7cf/lib-regex-syntax.json +1 -0
  47. package/target/debug/.fingerprint/tree-sitter-2dfcb15cd72750cd/dep-lib-tree-sitter +0 -0
  48. package/target/debug/.fingerprint/tree-sitter-2dfcb15cd72750cd/invoked.timestamp +1 -0
  49. package/target/debug/.fingerprint/tree-sitter-2dfcb15cd72750cd/lib-tree-sitter +1 -0
  50. package/target/debug/.fingerprint/tree-sitter-2dfcb15cd72750cd/lib-tree-sitter.json +1 -0
  51. package/target/debug/.fingerprint/tree-sitter-306cf9aaefac4a76/build-script-build-script-build +1 -0
  52. package/target/debug/.fingerprint/tree-sitter-306cf9aaefac4a76/build-script-build-script-build.json +1 -0
  53. package/target/debug/.fingerprint/tree-sitter-306cf9aaefac4a76/dep-build-script-build-script-build +0 -0
  54. package/target/debug/.fingerprint/tree-sitter-306cf9aaefac4a76/invoked.timestamp +1 -0
  55. package/target/debug/.fingerprint/tree-sitter-abl-045da318481f690c/run-build-script-build-script-build +1 -0
  56. package/target/debug/.fingerprint/tree-sitter-abl-045da318481f690c/run-build-script-build-script-build.json +1 -0
  57. package/target/debug/.fingerprint/tree-sitter-abl-23a4f429a9b733af/dep-lib-tree-sitter-abl +0 -0
  58. package/target/debug/.fingerprint/tree-sitter-abl-23a4f429a9b733af/invoked.timestamp +1 -0
  59. package/target/debug/.fingerprint/tree-sitter-abl-23a4f429a9b733af/lib-tree-sitter-abl +1 -0
  60. package/target/debug/.fingerprint/tree-sitter-abl-23a4f429a9b733af/lib-tree-sitter-abl.json +1 -0
  61. package/target/debug/.fingerprint/tree-sitter-abl-7e7e2aed7cc3eb81/dep-test-lib-tree-sitter-abl +0 -0
  62. package/target/debug/.fingerprint/tree-sitter-abl-7e7e2aed7cc3eb81/invoked.timestamp +1 -0
  63. package/target/debug/.fingerprint/tree-sitter-abl-7e7e2aed7cc3eb81/test-lib-tree-sitter-abl +1 -0
  64. package/target/debug/.fingerprint/tree-sitter-abl-7e7e2aed7cc3eb81/test-lib-tree-sitter-abl.json +1 -0
  65. package/target/debug/.fingerprint/tree-sitter-abl-9f1e7e0d03d9e636/build-script-build-script-build +1 -0
  66. package/target/debug/.fingerprint/tree-sitter-abl-9f1e7e0d03d9e636/build-script-build-script-build.json +1 -0
  67. package/target/debug/.fingerprint/tree-sitter-abl-9f1e7e0d03d9e636/dep-build-script-build-script-build +0 -0
  68. package/target/debug/.fingerprint/tree-sitter-abl-9f1e7e0d03d9e636/invoked.timestamp +1 -0
  69. package/target/debug/.fingerprint/tree-sitter-df-0c9753285ff59cb9/run-build-script-build-script-build +1 -0
  70. package/target/debug/.fingerprint/tree-sitter-df-0c9753285ff59cb9/run-build-script-build-script-build.json +1 -0
  71. package/target/debug/.fingerprint/tree-sitter-df-e753ccbcc060f283/dep-lib-tree-sitter-df +0 -0
  72. package/target/debug/.fingerprint/tree-sitter-df-e753ccbcc060f283/invoked.timestamp +1 -0
  73. package/target/debug/.fingerprint/tree-sitter-df-e753ccbcc060f283/lib-tree-sitter-df +1 -0
  74. package/target/debug/.fingerprint/tree-sitter-df-e753ccbcc060f283/lib-tree-sitter-df.json +1 -0
  75. package/target/debug/.fingerprint/tree-sitter-df-e88c1ef79ea02e9c/build-script-build-script-build +1 -0
  76. package/target/debug/.fingerprint/tree-sitter-df-e88c1ef79ea02e9c/build-script-build-script-build.json +1 -0
  77. package/target/debug/.fingerprint/tree-sitter-df-e88c1ef79ea02e9c/dep-build-script-build-script-build +0 -0
  78. package/target/debug/.fingerprint/tree-sitter-df-e88c1ef79ea02e9c/invoked.timestamp +1 -0
  79. package/target/debug/.fingerprint/tree-sitter-df-f603f8daf3f0c327/dep-test-lib-tree-sitter-df +0 -0
  80. package/target/debug/.fingerprint/tree-sitter-df-f603f8daf3f0c327/invoked.timestamp +1 -0
  81. package/target/debug/.fingerprint/tree-sitter-df-f603f8daf3f0c327/test-lib-tree-sitter-df +1 -0
  82. package/target/debug/.fingerprint/tree-sitter-df-f603f8daf3f0c327/test-lib-tree-sitter-df.json +1 -0
  83. package/target/debug/.fingerprint/tree-sitter-f0d4b76c090d9a13/run-build-script-build-script-build +1 -0
  84. package/target/debug/.fingerprint/tree-sitter-f0d4b76c090d9a13/run-build-script-build-script-build.json +1 -0
  85. package/target/debug/deps/aho_corasick-f507828ee8a0f2f9.d +29 -0
  86. package/target/debug/deps/cc-8a803f2a3b43267e.d +8 -0
  87. package/target/debug/deps/libaho_corasick-f507828ee8a0f2f9.rmeta +0 -0
  88. package/target/debug/deps/libcc-8a803f2a3b43267e.rlib +0 -0
  89. package/target/debug/deps/libcc-8a803f2a3b43267e.rmeta +0 -0
  90. package/target/debug/deps/libmemchr-60ea704184825e35.rmeta +0 -0
  91. package/target/debug/deps/libregex-dbfcd0c55ce0cd7c.rmeta +0 -0
  92. package/target/debug/deps/libregex_syntax-e7e3aaedc0a1d7cf.rmeta +0 -0
  93. package/target/debug/deps/libtree_sitter-2dfcb15cd72750cd.rmeta +0 -0
  94. package/target/debug/deps/libtree_sitter_abl-23a4f429a9b733af.rmeta +0 -0
  95. package/target/debug/deps/libtree_sitter_abl-7e7e2aed7cc3eb81.rmeta +0 -0
  96. package/target/debug/deps/libtree_sitter_df-e753ccbcc060f283.rmeta +0 -0
  97. package/target/debug/deps/libtree_sitter_df-f603f8daf3f0c327.rmeta +0 -0
  98. package/target/debug/deps/memchr-60ea704184825e35.d +18 -0
  99. package/target/debug/deps/regex-dbfcd0c55ce0cd7c.d +25 -0
  100. package/target/debug/deps/regex_syntax-e7e3aaedc0a1d7cf.d +35 -0
  101. package/target/debug/deps/tree_sitter-2dfcb15cd72750cd.d +9 -0
  102. package/target/debug/deps/tree_sitter_abl-23a4f429a9b733af.d +6 -0
  103. package/target/debug/deps/tree_sitter_abl-7e7e2aed7cc3eb81.d +6 -0
  104. package/target/debug/deps/tree_sitter_df-e753ccbcc060f283.d +6 -0
  105. package/target/debug/deps/tree_sitter_df-f603f8daf3f0c327.d +6 -0
  106. package/target/debug/incremental/build_script_build-16feed5tfk2kg/s-gst931vvf2-3nudvv-civswx49olvoluuh9tn4bq56y/1jidcx37zqcyxw75.o +0 -0
  107. package/target/debug/incremental/build_script_build-16feed5tfk2kg/s-gst931vvf2-3nudvv-civswx49olvoluuh9tn4bq56y/1p171xl4pxkauym7.o +0 -0
  108. package/target/debug/incremental/build_script_build-16feed5tfk2kg/s-gst931vvf2-3nudvv-civswx49olvoluuh9tn4bq56y/27994fdg5isti3pu.o +0 -0
  109. package/target/debug/incremental/build_script_build-16feed5tfk2kg/s-gst931vvf2-3nudvv-civswx49olvoluuh9tn4bq56y/283quvkmkzecs4dd.o +0 -0
  110. package/target/debug/incremental/build_script_build-16feed5tfk2kg/s-gst931vvf2-3nudvv-civswx49olvoluuh9tn4bq56y/3actkgpydu9pk1er.o +0 -0
  111. package/target/debug/incremental/build_script_build-16feed5tfk2kg/s-gst931vvf2-3nudvv-civswx49olvoluuh9tn4bq56y/3nb879hrouc538zr.o +0 -0
  112. package/target/debug/incremental/build_script_build-16feed5tfk2kg/s-gst931vvf2-3nudvv-civswx49olvoluuh9tn4bq56y/41ucrhr2dtidv46z.o +0 -0
  113. package/target/debug/incremental/build_script_build-16feed5tfk2kg/s-gst931vvf2-3nudvv-civswx49olvoluuh9tn4bq56y/4anju6ml6xqq7kjh.o +0 -0
  114. package/target/debug/incremental/build_script_build-16feed5tfk2kg/s-gst931vvf2-3nudvv-civswx49olvoluuh9tn4bq56y/4z4w4jxd7uo9hsdk.o +0 -0
  115. package/target/debug/incremental/build_script_build-16feed5tfk2kg/s-gst931vvf2-3nudvv-civswx49olvoluuh9tn4bq56y/c4noid6ktp75j0t.o +0 -0
  116. package/target/debug/incremental/build_script_build-16feed5tfk2kg/s-gst931vvf2-3nudvv-civswx49olvoluuh9tn4bq56y/dep-graph.bin +0 -0
  117. package/target/debug/incremental/build_script_build-16feed5tfk2kg/s-gst931vvf2-3nudvv-civswx49olvoluuh9tn4bq56y/query-cache.bin +0 -0
  118. package/target/debug/incremental/build_script_build-16feed5tfk2kg/s-gst931vvf2-3nudvv-civswx49olvoluuh9tn4bq56y/work-products.bin +0 -0
  119. package/target/debug/incremental/build_script_build-16feed5tfk2kg/s-gst931vvf2-3nudvv-civswx49olvoluuh9tn4bq56y/yt7q7w4ssgddaum.o +0 -0
  120. package/target/debug/incremental/build_script_build-16feed5tfk2kg/s-gst931vvf2-3nudvv.lock +0 -0
  121. package/target/debug/incremental/build_script_build-3j5otb7tl6h5v/s-gst90q81zt-b4466-68z3pyx9it93mfkp8eccw5ef8/1i6sqabn88yf0r4b.o +0 -0
  122. package/target/debug/incremental/build_script_build-3j5otb7tl6h5v/s-gst90q81zt-b4466-68z3pyx9it93mfkp8eccw5ef8/20d2y8vnfkjeyja3.o +0 -0
  123. package/target/debug/incremental/build_script_build-3j5otb7tl6h5v/s-gst90q81zt-b4466-68z3pyx9it93mfkp8eccw5ef8/2ajutwzl407mqj1f.o +0 -0
  124. package/target/debug/incremental/build_script_build-3j5otb7tl6h5v/s-gst90q81zt-b4466-68z3pyx9it93mfkp8eccw5ef8/2crlwivfrux41h7d.o +0 -0
  125. package/target/debug/incremental/build_script_build-3j5otb7tl6h5v/s-gst90q81zt-b4466-68z3pyx9it93mfkp8eccw5ef8/31lf2tog42mp4gea.o +0 -0
  126. package/target/debug/incremental/build_script_build-3j5otb7tl6h5v/s-gst90q81zt-b4466-68z3pyx9it93mfkp8eccw5ef8/4lwunzskk7ds821g.o +0 -0
  127. package/target/debug/incremental/build_script_build-3j5otb7tl6h5v/s-gst90q81zt-b4466-68z3pyx9it93mfkp8eccw5ef8/56diij7macyae8gx.o +0 -0
  128. package/target/debug/incremental/build_script_build-3j5otb7tl6h5v/s-gst90q81zt-b4466-68z3pyx9it93mfkp8eccw5ef8/5cfkmd9sxhtqmvgy.o +0 -0
  129. package/target/debug/incremental/build_script_build-3j5otb7tl6h5v/s-gst90q81zt-b4466-68z3pyx9it93mfkp8eccw5ef8/5fa57atkyhfpun4q.o +0 -0
  130. package/target/debug/incremental/build_script_build-3j5otb7tl6h5v/s-gst90q81zt-b4466-68z3pyx9it93mfkp8eccw5ef8/dep-graph.bin +0 -0
  131. package/target/debug/incremental/build_script_build-3j5otb7tl6h5v/s-gst90q81zt-b4466-68z3pyx9it93mfkp8eccw5ef8/query-cache.bin +0 -0
  132. package/target/debug/incremental/build_script_build-3j5otb7tl6h5v/s-gst90q81zt-b4466-68z3pyx9it93mfkp8eccw5ef8/sww64ckqpc1wex4.o +0 -0
  133. package/target/debug/incremental/build_script_build-3j5otb7tl6h5v/s-gst90q81zt-b4466-68z3pyx9it93mfkp8eccw5ef8/tt5ae0c5toxflku.o +0 -0
  134. package/target/debug/incremental/build_script_build-3j5otb7tl6h5v/s-gst90q81zt-b4466-68z3pyx9it93mfkp8eccw5ef8/work-products.bin +0 -0
  135. package/target/debug/incremental/build_script_build-3j5otb7tl6h5v/s-gst90q81zt-b4466.lock +0 -0
  136. package/target/debug/incremental/tree_sitter_abl-3gpw2xck8wog6/s-gst9157g8m-zi2j44-je6wpzqxfk6f4tl98rmywpqf/dep-graph.bin +0 -0
  137. package/target/debug/incremental/tree_sitter_abl-3gpw2xck8wog6/s-gst9157g8m-zi2j44-je6wpzqxfk6f4tl98rmywpqf/query-cache.bin +0 -0
  138. package/target/debug/incremental/tree_sitter_abl-3gpw2xck8wog6/s-gst9157g8m-zi2j44-je6wpzqxfk6f4tl98rmywpqf/work-products.bin +0 -0
  139. package/target/debug/incremental/tree_sitter_abl-3gpw2xck8wog6/s-gst9157g8m-zi2j44.lock +0 -0
  140. package/target/debug/incremental/tree_sitter_abl-8i2fiqgjjire/s-gst9157gdz-1l4suvj-6rkww42te4s2gay6k6p17kqj0/dep-graph.bin +0 -0
  141. package/target/debug/incremental/tree_sitter_abl-8i2fiqgjjire/s-gst9157gdz-1l4suvj-6rkww42te4s2gay6k6p17kqj0/query-cache.bin +0 -0
  142. package/target/debug/incremental/tree_sitter_abl-8i2fiqgjjire/s-gst9157gdz-1l4suvj-6rkww42te4s2gay6k6p17kqj0/work-products.bin +0 -0
  143. package/target/debug/incremental/tree_sitter_abl-8i2fiqgjjire/s-gst9157gdz-1l4suvj.lock +0 -0
  144. package/target/debug/incremental/tree_sitter_df-40cn82dwzuss/s-gst949fai0-za374k-2vf4b991jwf3so82b2ajgzbrm/dep-graph.bin +0 -0
  145. package/target/debug/incremental/tree_sitter_df-40cn82dwzuss/s-gst949fai0-za374k-2vf4b991jwf3so82b2ajgzbrm/query-cache.bin +0 -0
  146. package/target/debug/incremental/tree_sitter_df-40cn82dwzuss/s-gst949fai0-za374k-2vf4b991jwf3so82b2ajgzbrm/work-products.bin +0 -0
  147. package/target/debug/incremental/tree_sitter_df-40cn82dwzuss/s-gst949fai0-za374k.lock +0 -0
  148. package/target/debug/incremental/tree_sitter_df-tgjlycqykm9t/s-gst949fa3i-r8w8ey-2mpb8bub8jmep48xzm8mbew2r/dep-graph.bin +0 -0
  149. package/target/debug/incremental/tree_sitter_df-tgjlycqykm9t/s-gst949fa3i-r8w8ey-2mpb8bub8jmep48xzm8mbew2r/query-cache.bin +0 -0
  150. package/target/debug/incremental/tree_sitter_df-tgjlycqykm9t/s-gst949fa3i-r8w8ey-2mpb8bub8jmep48xzm8mbew2r/work-products.bin +0 -0
  151. package/target/debug/incremental/tree_sitter_df-tgjlycqykm9t/s-gst949fa3i-r8w8ey.lock +0 -0
  152. package/tree-sitter-df.wasm +0 -0
@@ -0,0 +1,662 @@
1
+ [
2
+ {
3
+ "type": "_expression",
4
+ "named": true,
5
+ "subtypes": [
6
+ {
7
+ "type": "boolean_literal",
8
+ "named": true
9
+ },
10
+ {
11
+ "type": "double_quoted_string",
12
+ "named": true
13
+ },
14
+ {
15
+ "type": "identifier",
16
+ "named": true
17
+ },
18
+ {
19
+ "type": "null_expression",
20
+ "named": true
21
+ },
22
+ {
23
+ "type": "number_literal",
24
+ "named": true
25
+ },
26
+ {
27
+ "type": "qualified_name",
28
+ "named": true
29
+ },
30
+ {
31
+ "type": "single_quoted_string",
32
+ "named": true
33
+ }
34
+ ]
35
+ },
36
+ {
37
+ "type": "_statement",
38
+ "named": true,
39
+ "subtypes": [
40
+ {
41
+ "type": "add_field_statement",
42
+ "named": true
43
+ },
44
+ {
45
+ "type": "add_index_statement",
46
+ "named": true
47
+ },
48
+ {
49
+ "type": "add_sequence_statement",
50
+ "named": true
51
+ },
52
+ {
53
+ "type": "add_table_statement",
54
+ "named": true
55
+ }
56
+ ]
57
+ },
58
+ {
59
+ "type": "add_field_statement",
60
+ "named": true,
61
+ "fields": {
62
+ "field": {
63
+ "multiple": false,
64
+ "required": true,
65
+ "types": [
66
+ {
67
+ "type": "double_quoted_string",
68
+ "named": true
69
+ },
70
+ {
71
+ "type": "single_quoted_string",
72
+ "named": true
73
+ }
74
+ ]
75
+ },
76
+ "table": {
77
+ "multiple": false,
78
+ "required": true,
79
+ "types": [
80
+ {
81
+ "type": "double_quoted_string",
82
+ "named": true
83
+ },
84
+ {
85
+ "type": "single_quoted_string",
86
+ "named": true
87
+ }
88
+ ]
89
+ },
90
+ "type": {
91
+ "multiple": false,
92
+ "required": true,
93
+ "types": [
94
+ {
95
+ "type": "primitive_type",
96
+ "named": true
97
+ }
98
+ ]
99
+ }
100
+ },
101
+ "children": {
102
+ "multiple": true,
103
+ "required": false,
104
+ "types": [
105
+ {
106
+ "type": "field_tuning",
107
+ "named": true
108
+ }
109
+ ]
110
+ }
111
+ },
112
+ {
113
+ "type": "add_index_statement",
114
+ "named": true,
115
+ "fields": {
116
+ "index": {
117
+ "multiple": false,
118
+ "required": true,
119
+ "types": [
120
+ {
121
+ "type": "double_quoted_string",
122
+ "named": true
123
+ },
124
+ {
125
+ "type": "single_quoted_string",
126
+ "named": true
127
+ }
128
+ ]
129
+ },
130
+ "table": {
131
+ "multiple": false,
132
+ "required": true,
133
+ "types": [
134
+ {
135
+ "type": "double_quoted_string",
136
+ "named": true
137
+ },
138
+ {
139
+ "type": "single_quoted_string",
140
+ "named": true
141
+ }
142
+ ]
143
+ }
144
+ },
145
+ "children": {
146
+ "multiple": true,
147
+ "required": false,
148
+ "types": [
149
+ {
150
+ "type": "index_tuning",
151
+ "named": true
152
+ }
153
+ ]
154
+ }
155
+ },
156
+ {
157
+ "type": "add_sequence_statement",
158
+ "named": true,
159
+ "fields": {
160
+ "sequence": {
161
+ "multiple": false,
162
+ "required": true,
163
+ "types": [
164
+ {
165
+ "type": "double_quoted_string",
166
+ "named": true
167
+ },
168
+ {
169
+ "type": "single_quoted_string",
170
+ "named": true
171
+ }
172
+ ]
173
+ }
174
+ },
175
+ "children": {
176
+ "multiple": true,
177
+ "required": false,
178
+ "types": [
179
+ {
180
+ "type": "sequence_tuning",
181
+ "named": true
182
+ }
183
+ ]
184
+ }
185
+ },
186
+ {
187
+ "type": "add_table_statement",
188
+ "named": true,
189
+ "fields": {
190
+ "table": {
191
+ "multiple": false,
192
+ "required": true,
193
+ "types": [
194
+ {
195
+ "type": "double_quoted_string",
196
+ "named": true
197
+ },
198
+ {
199
+ "type": "single_quoted_string",
200
+ "named": true
201
+ }
202
+ ]
203
+ }
204
+ },
205
+ "children": {
206
+ "multiple": true,
207
+ "required": false,
208
+ "types": [
209
+ {
210
+ "type": "table_tuning",
211
+ "named": true
212
+ }
213
+ ]
214
+ }
215
+ },
216
+ {
217
+ "type": "boolean_literal",
218
+ "named": true,
219
+ "fields": {}
220
+ },
221
+ {
222
+ "type": "comment",
223
+ "named": true,
224
+ "fields": {}
225
+ },
226
+ {
227
+ "type": "double_quoted_string",
228
+ "named": true,
229
+ "fields": {}
230
+ },
231
+ {
232
+ "type": "field_tuning",
233
+ "named": true,
234
+ "fields": {},
235
+ "children": {
236
+ "multiple": false,
237
+ "required": false,
238
+ "types": [
239
+ {
240
+ "type": "_expression",
241
+ "named": true
242
+ }
243
+ ]
244
+ }
245
+ },
246
+ {
247
+ "type": "footer",
248
+ "named": true,
249
+ "fields": {},
250
+ "children": {
251
+ "multiple": true,
252
+ "required": false,
253
+ "types": [
254
+ {
255
+ "type": "number_literal",
256
+ "named": true
257
+ }
258
+ ]
259
+ }
260
+ },
261
+ {
262
+ "type": "index_tuning",
263
+ "named": true,
264
+ "fields": {},
265
+ "children": {
266
+ "multiple": true,
267
+ "required": false,
268
+ "types": [
269
+ {
270
+ "type": "double_quoted_string",
271
+ "named": true
272
+ },
273
+ {
274
+ "type": "single_quoted_string",
275
+ "named": true
276
+ },
277
+ {
278
+ "type": "sort_order",
279
+ "named": true
280
+ }
281
+ ]
282
+ }
283
+ },
284
+ {
285
+ "type": "number_literal",
286
+ "named": true,
287
+ "fields": {}
288
+ },
289
+ {
290
+ "type": "primitive_type",
291
+ "named": true,
292
+ "fields": {},
293
+ "children": {
294
+ "multiple": false,
295
+ "required": false,
296
+ "types": [
297
+ {
298
+ "type": "qualified_name",
299
+ "named": true
300
+ }
301
+ ]
302
+ }
303
+ },
304
+ {
305
+ "type": "qualified_name",
306
+ "named": true,
307
+ "fields": {},
308
+ "children": {
309
+ "multiple": true,
310
+ "required": true,
311
+ "types": [
312
+ {
313
+ "type": "identifier",
314
+ "named": true
315
+ }
316
+ ]
317
+ }
318
+ },
319
+ {
320
+ "type": "sequence_tuning",
321
+ "named": true,
322
+ "fields": {},
323
+ "children": {
324
+ "multiple": false,
325
+ "required": true,
326
+ "types": [
327
+ {
328
+ "type": "_expression",
329
+ "named": true
330
+ }
331
+ ]
332
+ }
333
+ },
334
+ {
335
+ "type": "single_quoted_string",
336
+ "named": true,
337
+ "fields": {}
338
+ },
339
+ {
340
+ "type": "sort_order",
341
+ "named": true,
342
+ "fields": {}
343
+ },
344
+ {
345
+ "type": "source_code",
346
+ "named": true,
347
+ "fields": {},
348
+ "children": {
349
+ "multiple": true,
350
+ "required": false,
351
+ "types": [
352
+ {
353
+ "type": "_statement",
354
+ "named": true
355
+ },
356
+ {
357
+ "type": "footer",
358
+ "named": true
359
+ }
360
+ ]
361
+ }
362
+ },
363
+ {
364
+ "type": "table_tuning",
365
+ "named": true,
366
+ "fields": {},
367
+ "children": {
368
+ "multiple": false,
369
+ "required": false,
370
+ "types": [
371
+ {
372
+ "type": "double_quoted_string",
373
+ "named": true
374
+ },
375
+ {
376
+ "type": "single_quoted_string",
377
+ "named": true
378
+ }
379
+ ]
380
+ }
381
+ },
382
+ {
383
+ "type": "\"",
384
+ "named": false
385
+ },
386
+ {
387
+ "type": "'",
388
+ "named": false
389
+ },
390
+ {
391
+ "type": ".",
392
+ "named": false
393
+ },
394
+ {
395
+ "type": "/",
396
+ "named": false
397
+ },
398
+ {
399
+ "type": "/*",
400
+ "named": false
401
+ },
402
+ {
403
+ "type": "=",
404
+ "named": false
405
+ },
406
+ {
407
+ "type": "ABBREVIATED",
408
+ "named": false
409
+ },
410
+ {
411
+ "type": "ADD",
412
+ "named": false
413
+ },
414
+ {
415
+ "type": "AREA",
416
+ "named": false
417
+ },
418
+ {
419
+ "type": "AS",
420
+ "named": false
421
+ },
422
+ {
423
+ "type": "ASC",
424
+ "named": false
425
+ },
426
+ {
427
+ "type": "ASCENDING",
428
+ "named": false
429
+ },
430
+ {
431
+ "type": "CASE-SENSITIVE",
432
+ "named": false
433
+ },
434
+ {
435
+ "type": "CHAR",
436
+ "named": false
437
+ },
438
+ {
439
+ "type": "CHARACTER",
440
+ "named": false
441
+ },
442
+ {
443
+ "type": "COLUMN",
444
+ "named": false
445
+ },
446
+ {
447
+ "type": "COLUMN-LABEL",
448
+ "named": false
449
+ },
450
+ {
451
+ "type": "COM-HANDLE",
452
+ "named": false
453
+ },
454
+ {
455
+ "type": "CPSTREAM",
456
+ "named": false
457
+ },
458
+ {
459
+ "type": "CYCLE-ON-LIMIT",
460
+ "named": false
461
+ },
462
+ {
463
+ "type": "DATE",
464
+ "named": false
465
+ },
466
+ {
467
+ "type": "DATETIME",
468
+ "named": false
469
+ },
470
+ {
471
+ "type": "DATETIME-TZ",
472
+ "named": false
473
+ },
474
+ {
475
+ "type": "DECIMAL",
476
+ "named": false
477
+ },
478
+ {
479
+ "type": "DECIMALS",
480
+ "named": false
481
+ },
482
+ {
483
+ "type": "DESC",
484
+ "named": false
485
+ },
486
+ {
487
+ "type": "DESCENDING",
488
+ "named": false
489
+ },
490
+ {
491
+ "type": "DESCRIPTION",
492
+ "named": false
493
+ },
494
+ {
495
+ "type": "DUMP-NAME",
496
+ "named": false
497
+ },
498
+ {
499
+ "type": "END",
500
+ "named": false
501
+ },
502
+ {
503
+ "type": "FALSE",
504
+ "named": false
505
+ },
506
+ {
507
+ "type": "FIELD",
508
+ "named": false
509
+ },
510
+ {
511
+ "type": "FORMAT",
512
+ "named": false
513
+ },
514
+ {
515
+ "type": "FROZEN",
516
+ "named": false
517
+ },
518
+ {
519
+ "type": "HANDLE",
520
+ "named": false
521
+ },
522
+ {
523
+ "type": "HELP",
524
+ "named": false
525
+ },
526
+ {
527
+ "type": "INCREMENT",
528
+ "named": false
529
+ },
530
+ {
531
+ "type": "INDEX",
532
+ "named": false
533
+ },
534
+ {
535
+ "type": "INDEX-FIELD",
536
+ "named": false
537
+ },
538
+ {
539
+ "type": "INITIAL",
540
+ "named": false
541
+ },
542
+ {
543
+ "type": "INT",
544
+ "named": false
545
+ },
546
+ {
547
+ "type": "INT64",
548
+ "named": false
549
+ },
550
+ {
551
+ "type": "INTEGER",
552
+ "named": false
553
+ },
554
+ {
555
+ "type": "LABEL",
556
+ "named": false
557
+ },
558
+ {
559
+ "type": "LOGICAL",
560
+ "named": false
561
+ },
562
+ {
563
+ "type": "LONGCHAR",
564
+ "named": false
565
+ },
566
+ {
567
+ "type": "MANDATORY",
568
+ "named": false
569
+ },
570
+ {
571
+ "type": "MAX-VAL",
572
+ "named": false
573
+ },
574
+ {
575
+ "type": "MAX-WIDTH",
576
+ "named": false
577
+ },
578
+ {
579
+ "type": "MEMPTR",
580
+ "named": false
581
+ },
582
+ {
583
+ "type": "MIN-VAL",
584
+ "named": false
585
+ },
586
+ {
587
+ "type": "NO",
588
+ "named": false
589
+ },
590
+ {
591
+ "type": "OF",
592
+ "named": false
593
+ },
594
+ {
595
+ "type": "ON",
596
+ "named": false
597
+ },
598
+ {
599
+ "type": "ORDER",
600
+ "named": false
601
+ },
602
+ {
603
+ "type": "POSITION",
604
+ "named": false
605
+ },
606
+ {
607
+ "type": "PRIMARY",
608
+ "named": false
609
+ },
610
+ {
611
+ "type": "PSC",
612
+ "named": false
613
+ },
614
+ {
615
+ "type": "RAW",
616
+ "named": false
617
+ },
618
+ {
619
+ "type": "RECID",
620
+ "named": false
621
+ },
622
+ {
623
+ "type": "ROWID",
624
+ "named": false
625
+ },
626
+ {
627
+ "type": "SEQUENCE",
628
+ "named": false
629
+ },
630
+ {
631
+ "type": "TABLE",
632
+ "named": false
633
+ },
634
+ {
635
+ "type": "TRUE",
636
+ "named": false
637
+ },
638
+ {
639
+ "type": "UNIQUE",
640
+ "named": false
641
+ },
642
+ {
643
+ "type": "VALEXP",
644
+ "named": false
645
+ },
646
+ {
647
+ "type": "VALMSG",
648
+ "named": false
649
+ },
650
+ {
651
+ "type": "YES",
652
+ "named": false
653
+ },
654
+ {
655
+ "type": "identifier",
656
+ "named": true
657
+ },
658
+ {
659
+ "type": "null_expression",
660
+ "named": true
661
+ }
662
+ ]