# --------------------------------------------------------------------------- # JSON primitives # --------------------------------------------------------------------------- ws ::= [ \t\n\r]* string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\"" number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)? integer ::= "-"? ([0-9] | [1-9] [0-9]*) boolean ::= "true" | "false" null ::= "null" any-value ::= string | number | boolean | null | any-object | any-array any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}" any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]" # --- whetstone_get_semantic_diff --- root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_get_semantic_diff\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-get-semantic-diff-args-obj-9 ws "}" whetstone-get-semantic-diff-args-added-pair-2 ::= "\"added\"" ws ":" ws integer whetstone-get-semantic-diff-args-diff_id-pair-4 ::= "\"diff_id\"" ws ":" ws string whetstone-get-semantic-diff-args-modified-pair-6 ::= "\"modified\"" ws ":" ws integer whetstone-get-semantic-diff-args-obj-9 ::= "{" ws whetstone-get-semantic-diff-args-diff_id-pair-4 (ws "," ws whetstone-get-semantic-diff-args-opt-10)* ws "}" whetstone-get-semantic-diff-args-opt-10 ::= whetstone-get-semantic-diff-args-added-pair-2 | whetstone-get-semantic-diff-args-modified-pair-6 | whetstone-get-semantic-diff-args-removed-pair-8 whetstone-get-semantic-diff-args-removed-pair-8 ::= "\"removed\"" ws ":" ws integer