Expand description
Tree → Document builder. Mirrors the interscript-ruby pipeline:
Isc::Normalizer (scalar folding) + Isc::Transform (item
materialization) + Isc::DocumentBuilder + Isc::NodeAdapter
(document assembly). Dependencies load BEFORE conversion so
class-context charset resolution sees imported aliases
(NodeAdapter#build ordering).
Functions§
- assign_
group_ ids - Assign 1-based capture group ids in regex order: before, not_before, from, not_after, after (the interpreter’s lookaround assembly order). Returns the total group count.
- build
- decode_
string_ value - Apply the string-decode fold to a
string-keyed capture value. - dependency_
targets - Dependency targets declared by a parsed tree, in order
(
dependency "x" [as alias]), read before documents are loaded. - extract_
kwargs - Extract
name: "value"kwarg pairs (DocumentBuilder#extract_kwargs). - ident
- Normalizer.scalar for identifiers.
- normalize_
heredoc - DocumentBuilder#normalize_heredoc: YAML-style dedent with paragraph preservation.
- unescape_
braces - DocumentBuilder#unescape_braces.
- unquote
- Normalizer.scalar for quoted strings / fragments.