1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 14:54:16 +03:00

Update the JSON ASTs.

This commit is contained in:
Rob Rix 2019-10-08 17:35:06 -04:00
parent c02f56da1a
commit 8936bede79
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7
12 changed files with 136 additions and 54 deletions

View File

@ -1,6 +1,14 @@
(Array
(Float)
(Float)
(Float)
(Float)
(Float))
(Document
(Value
(Array
[
(Value
(Number "1"))
(Value
(Number "3"))
(Value
(Number "3"))
(Value
(Number "5"))
(Value
(Number "7")) ])))

View File

@ -1,6 +1,14 @@
(Array
(Float)
(Float)
(Float)
(Float)
(Float))
(Document
(Value
(Array
[
(Value
(Number "2"))
(Value
(Number "3"))
(Value
(Number "4"))
(Value
(Number "5"))
(Value
(Number "6")) ])))

View File

@ -1,2 +1,6 @@
(Array
(Boolean))
(Document
(Value
(Array
[
(Value
(True "true")) ])))

View File

@ -1,2 +1,6 @@
(Array
(Boolean))
(Document
(Value
(Array
[
(Value
(False "false")) ])))

View File

@ -1,13 +1,28 @@
(Hash
(KeyValue
(TextElement)
(Float))
(KeyValue
(TextElement)
(Float))
(KeyValue
(TextElement)
(Float))
(KeyValue
(TextElement)
(Float)))
(Document
(Value
(Object
[
(Pair
(Value
(Number "1"))
(String
[
(StringContent "a") ]))
(Pair
(Value
(Number "2"))
(String
[
(StringContent "b") ]))
(Pair
(Value
(Number "3"))
(String
[
(StringContent "c") ]))
(Pair
(Value
(Number "4"))
(String
[
(StringContent "d") ])) ])))

View File

@ -1,13 +1,28 @@
(Hash
(KeyValue
(TextElement)
(Float))
(KeyValue
(TextElement)
(Float))
(KeyValue
(TextElement)
(Float))
(KeyValue
(TextElement)
(Float)))
(Document
(Value
(Object
[
(Pair
(Value
(Number "2"))
(String
[
(StringContent "b") ]))
(Pair
(Value
(Number "3"))
(String
[
(StringContent "c'") ]))
(Pair
(Value
(Number "5"))
(String
[
(StringContent "d") ]))
(Pair
(Value
(Number "5"))
(String
[
(StringContent "e") ])) ])))

View File

@ -1,2 +1,6 @@
(Array
(Null))
(Document
(Value
(Array
[
(Value
(Null "null")) ])))

View File

@ -1,2 +1,6 @@
(Array
(Null))
(Document
(Value
(Array
[
(Value
(Null "null")) ])))

View File

@ -1,2 +1,6 @@
(Array
(Float))
(Document
(Value
(Array
[
(Value
(Number "1")) ])))

View File

@ -1,2 +1,6 @@
(Array
(Float))
(Document
(Value
(Array
[
(Value
(Number "-1")) ])))

View File

@ -1,2 +1,8 @@
(Array
(TextElement))
(Document
(Value
(Array
[
(Value
(String
[
(StringContent "hello") ])) ])))

View File

@ -1,2 +1,8 @@
(Array
(TextElement))
(Document
(Value
(Array
[
(Value
(String
[
(StringContent "world") ])) ])))