cswap-bend-cli
Releases (1)
-
0.1.0.0 indexed
Definitions (4,210)
fmt/yamlr.bend
- def kind.of
- def blk.scalar
- def blk.kind
- def blk.fit
- def plan.blk
- def item.cons
- def val
- def parse.run
- def parse.lines
- def parseThe value of a YAML document in the supported subset; `Fail` says what is not.
fmt/yamlw.bend
- type CtxWhere a value sits: the document, after `key:`, after `- `, or inside a chain of fields or items.
- def pad
- def str
- def leadBefore a scalar: a space after `key:`.
- def indThe indent of a container's lines.
- def preBefore a container's first line: under a key it starts a new line.
- def is_nil
- def cont
- def sepA new line for the next field or item, none at the end of the chain.
- def y`j` at the base indent `d` in context `k`.
- def emitOne YAML document for the value (no `---`, no trailing newline).
fmt/ylex.bend
- def JR
- def ge
- def between
- def is_digit
- def is_space
- type NS
- def ns.lead
- def ns.start
- def ns.tail
- def ns.int
- def ns.frac
- def ns.exp
- def ns.digits
- def ns.step
- def ns.run
- def ns.accept
- def is_numberIs the whole text a JSON number?
- def word_is
- def is_null_word
- def is_bool_word
- def reservedWords YAML 1.1 and 1.2 readers turn into another type.
- def resolve.lowA plain word as the value it stands for.
- def resolve
- def bad_firstCharacters a plain scalar must not start with: indicators, quotes, and anything a reader could take for a number, a date, a tag or a merge key.
- def bad_char
- def rest_okScan the rest: no control characters, no ": " or trailing ":", no " #".
- def first_ok
- def plain_ok
- def dq.pick
- def dq.end`n` characters of a double-quoted body (after the opening quote) up to and including its closing quote, or None when it never closes.
- def sq.eos
- def sq.pick
- def sq.endThe same for a single-quoted body: `''` is a quote.
- def first_code
- def tl.plus
- def tl.pick
- def token_len.q
- def token_lenLength of the quoted token at the start of `s` (quotes included), when `s` starts with a quote and the token closes.
fmt/yscal.bend
- def comment.pick
- def comment.findWhere a comment starts: a `#` at the start or after a space.
- def comment.cut
- def uncommentThe text without a trailing comment, trimmed.
- def sq.emit
- def sq.unesc`''` inside single quotes is one quote.
- def dq.val
- def first_code
- def unquote.q
- def unquoteA quoted token (quotes included) as the string it spells.
- def str_of
- def after_ok
- def quoted.fin
- def quoted.tok
- def special
- def tagged
- def atom.pick
- def atomA plain or quoted scalar (trimmed text).
- type Sp
- def sp.push
- def sp.cut
- def sp.quote
- def sp.close
- def sp.outside
- def sp.q_of
- def sp.inside
- def sp.step
- def sp.go
- def sp.fin
- def split_topThe comma-separated pieces of a flow body, quotes respected.
- def item.cons
- def flow.items
- def wrap.arr
- def wrap.obj
- def inner
- def last_code
- def seq.fin
- type KV
- def colon.pickIndex of the first `:` that ends a key (followed by a space or the end).
- def colon.find
- def kv.plain