1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 23:11:50 +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 (Document
(Float) (Value
(Float) (Array
(Float) [
(Float) (Value
(Float)) (Number "1"))
(Value
(Number "3"))
(Value
(Number "3"))
(Value
(Number "5"))
(Value
(Number "7")) ])))

View File

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

View File

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

View File

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

View File

@ -1,13 +1,28 @@
(Hash (Document
(KeyValue (Value
(TextElement) (Object
(Float)) [
(KeyValue (Pair
(TextElement) (Value
(Float)) (Number "1"))
(KeyValue (String
(TextElement) [
(Float)) (StringContent "a") ]))
(KeyValue (Pair
(TextElement) (Value
(Float))) (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 (Document
(KeyValue (Value
(TextElement) (Object
(Float)) [
(KeyValue (Pair
(TextElement) (Value
(Float)) (Number "2"))
(KeyValue (String
(TextElement) [
(Float)) (StringContent "b") ]))
(KeyValue (Pair
(TextElement) (Value
(Float))) (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 (Document
(Null)) (Value
(Array
[
(Value
(Null "null")) ])))

View File

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

View File

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

View File

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

View File

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

View File

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