def directive.named
import yaml-for-bend@0.1.1.0/scan.bend as Scanimport Base
import yaml-for-bend@0.1.1.0/token.bend as T
1332# %YAML, %TAG, or a reserved directive, which is skipped.
1333def directive.named(+name: String, +st: Sc, +at: T.Mark) -> Step:
1334 when(Step, String.eq(name, "YAML"), u => version.scan(st, at),
1335 u => when(Step, String.eq(name, "TAG"), u => tagdir.scan(st, at),
1336 u => Go{skip(st, line.rest(sc.s(st)))}))