def tag.found

yaml-for-bend@0.1.1.0 · parse.bend:295

import yaml-for-bend@0.1.1.0/parse.bend as Parse
import Base
import yaml-for-bend@0.1.1.0/token.bend as T

295def tag.found(m: Maybe<&2, String>, suffix: String, at: T.Mark) -> Result<&2, &2, T.Error, Tag>:
296  match m:
297    case None{}:
298      Fail{T.Error{"found undefined tag handle while parsing a node", at, T.Syntax{}}}
299    case Some{p}:
300      Done{Tag{p ++ suffix}}

Uses (8)

Used by (1)