def tag.scan

yaml-for-bend@0.1.1.0 · scan.bend:1218

import yaml-for-bend@0.1.1.0/scan.bend as Scan
import Base

1218def tag.scan(+st: Sc) -> Step:
1219  +s = sc.s(st)
1220  +at = sc.at(st)
1221  when(Step, Char.is_eq(peek(s, 1n), '<'),
1222    u => tag.verbatim(tag.chars(String.drop(s, 2n), True{}, 0n), st, at),
1223    u => tag.short(word.chars(String.drop(s, 1n)), st, at))

Uses (14)

Used by (1)