cswap-bend-cli
Search uses release 0.1.0.0 · 4,210 definitions
Definitions (4,210)
- def parseParse JSON text; Fail carries a message.
- def sep.of
- def bool.show
- def emit.wrapA bracketed body: `[]` or `{}` when empty, else the body on its own lines.
- def emit.goThe emitter.
- def emitCompact, no spaces, UTF-8 left as is.
- def emit_pyjson.dumps(j): `, ` and `: ` separators, ensure_ascii.
- def emit_prettyjson.dumps(j, indent=2), as the reference writes sequence.json and settings: ensure_ascii on (the reference never passes ensure_ascii=False for its own files), no trailing newline.
- def emit_pretty_utf8json.dumps(j, indent=2, ensure_ascii=False).
- def field.pick
- def field.get
- def getThe value under `key` of an object; None for a missing key or a non-object.
- def as_string
- def as_bool
- def as_u32A non-negative integer that fits U32; `5.0`, `-1` and `1e3` are None.
- def arr.chainArray of the values, in order.
- def arr
- def items.listThe elements of an array; empty for any other value.
- def to_list
- def field.of
- def obj.chain
- def of_pairsObject from ordered (key, value) pairs.
- def pairs.list
- def to_pairsThe (key, value) pairs of an object, in file order.
- def keys.list
- def keys
- def set.pick
- def set.go
- def setReplace the value under `key` in place, or append the field.
- def del.pick
- def del.go
- def delThe object without `key`.
- def unwrapThe value of a parse that must have worked; JNull when it did not.
- type Tok
- def sel
- def sel.s
- def sel.n
- def not
- def eqc
- def is_word
- def head_word
- def span_wordLeading run of word characters.
- def span_strChars through the closing quote (or to the end when it is missing).
- def num.next2
- def num.nextJSON number grammar as a state machine: 0 start, 1 after -, 2 after 0, 3 int digits, 4 after ., 5 frac digits, 6 after e, 7 after exp sign, 8 exp digits, 99 dead.
- def num.run
- def num.acc
- def num.ok
- def word.numWhat a bare word is: null, true, false, a number, or an error.
- def word.pick
- def word.tok
- def hv
- def cc.pickCode of the char at index i; 0 past the end.
- def cc
- def hex4.fin
- def hex4The four hex digits at the head of s as a number; U+FFFD when malformed.
- def is_hi
- def is_lo
- def pair.okAfter \uD83D: is the next escape a \uDC00..\uDFFF low half?
- def pair.cp
- def esc.u2
- def esc.u
- def esc.cp2
- def esc.cpThe code point a char (or the escape it starts) stands for.
- def esc.sk2
- def esc.skipChars after the first that the escape consumes.
- def unescapeDecode the escapes of a string body.
- def str.closed
- def str.pick
- def str.tokt follows the opening quote.
- def tk.sel
- def punct.pick
- def punct.tok
- def tok.of2
- def tok.of
- def tok.adv
- def tok.cons
- def lexTokens of s.
- def Flock.tryOne LOCK_EX|LOCK_NB attempt on the File's descriptor: Done{1} held, Done{0} someone else holds it.
- def poll_ms