Expand description
parser submodule.
Structs§
- Parser
Parser— see fields for layout.
Functions§
- parse_
block_ from_ str - Parse a statement list from
sand wrap asdo { ... }(for#{...}interpolation). - parse_
expression_ from_ str - Parse a single expression from
s(e.g. contents of@{ ... }inside a double-quoted string). - parse_
format_ value_ line parse_format_value_line— see implementation.- parse_
slice_ indices_ from_ str - Comma-separated expressions on a
formatvalue line (below a picture line). Parse[ ... ]contents for@a[...](same rules asparse_arg_list/ comma-separated indices).