commit | author | age
|
5cb5f7
|
1 |
;ELC |
C |
2 |
;;; Compiled |
|
3 |
;;; in Emacs version 26.1 |
|
4 |
;;; with all optimizations. |
|
5 |
|
|
6 |
;;; This file uses dynamic docstrings, first added in Emacs 19.29. |
|
7 |
|
|
8 |
;;; This file does not contain utf-8 non-ASCII characters, |
|
9 |
;;; and so can be loaded in Emacs versions earlier than 23. |
|
10 |
|
|
11 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
12 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
13 |
|
|
14 |
|
|
15 |
(require 'pcase) |
|
16 |
#@43 Encode OBJ as a GraphQL string. |
|
17 |
|
|
18 |
(fn OBJ) |
|
19 |
(defalias 'graphql--encode-object #[257 "\211;\203 \207\2119\203 \300!\207\211\247\203 \301!\207\211:\205( \211A:?\205( \300@!\207" [symbol-name number-to-string] 3 (#$ . 425)]) |
|
20 |
#@65 Encode an argument spec SPEC. |
|
21 |
SPEC is of the form... |
|
22 |
|
|
23 |
(fn SPEC) |
|
24 |
(defalias 'graphql--encode-argument-spec #[257 "\300@A\"\207" [graphql--encode-argument] 4 (#$ . 657)]) |
|
25 |
#@58 Encode an argument KEY with value VALUE. |
|
26 |
|
|
27 |
(fn KEY VALUE) |
|
28 |
(defalias 'graphql--encode-argument #[514 "\300\301\302!#\207" [format "%s:%s" graphql--encode-argument-value] 7 (#$ . 833)]) |
|
29 |
#@272 Encode an argument value VALUE. |
|
30 |
VALUE is expected to be one of the following: |
|
31 |
|
|
32 |
* a symbol |
|
33 |
* a 'variable', i.e. \='($ variableName) |
|
34 |
* an object (as a list) |
|
35 |
* a string |
|
36 |
* a vector of values (e.g., symbols) |
|
37 |
* a number |
|
38 |
* something encode-able by `graphql-encode'. |
|
39 |
|
|
40 |
(fn VALUE) |
|
41 |
(defalias 'graphql--encode-argument-value #[257 "\2119\203 |