This repo contains code to mirror other repos. It also contains the code that is getting mirrored.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

20 行
437 B

  1. ?start: value
  2. ?value: object
  3. | array
  4. | string
  5. | SIGNED_NUMBER -> number
  6. | "true" -> true
  7. | "false" -> false
  8. | "null" -> null
  9. array : "[" _WS? [value ("," _WS? value)*] "]"
  10. object : "{" _WS? [pair ("," _WS? pair)*] "}"
  11. pair : string ":" _WS value
  12. string : ESCAPED_STRING
  13. %import common.ESCAPED_STRING
  14. %import common.SIGNED_NUMBER
  15. %import common.WS -> _WS