mirror of
https://github.com/wader/fq.git
synced 2024-12-23 13:22:58 +03:00
0a043f9096
Now repl, slurp and help implemented using same query rewrite. Include filename context in error if possible. Add spew function that does opposite of slurp. Start of help infra, not done or documented yet. Show error pointer on parse error. Rename internal eval to _eval and make eval be wrapper that does rewrite and has various eror handling etc. Nicer repl, slupr and help errors.
33 lines
870 B
Plaintext
33 lines
870 B
Plaintext
# read by jq-lsp to add additional builtins
|
|
def _can_display: empty;
|
|
def _decode($format; $opts): empty;
|
|
def _display($opts): empty;
|
|
def _eval($expr; $filename): empty;
|
|
def _eval($expr): empty;
|
|
def _extkeys: empty;
|
|
def _exttype: empty;
|
|
def _global_state: empty;
|
|
def _global_state($v): empty;
|
|
def _hexdump($opts): empty;
|
|
def _is_completing: empty;
|
|
def _match_binary($regexp; $flags): empty;
|
|
def _match_binary($regexp): empty;
|
|
def _print_color_json($opts): empty;
|
|
def _query_fromstring: empty;
|
|
def _query_tostring: empty;
|
|
def _readline: empty;
|
|
def _readline($opts): empty;
|
|
def _registry: empty;
|
|
def _stderr: empty;
|
|
def _stderr($n): empty;
|
|
def _stdin: empty;
|
|
def _stdin($n): empty;
|
|
def _stdout: empty;
|
|
def _stdout($n): empty;
|
|
def _tobits($bits; $is_range; $pad): empty;
|
|
def _tovalue: empty;
|
|
def _tovalue($opts): empty;
|
|
def base64: empty;
|
|
def open: empty;
|
|
def scope: empty;
|