def Said.read.of

bend-lint-rules@0.2.0.0 · lib/linter/directives.bend:553

import bend-lint-rules@0.2.0.0/lib/linter/directives.bend as Directives
import Base

553def Said.read.of(
554  draft: Maybe<&2, Maybe<&2, Draft>>,
555  +comment: Comment,
556  known: List<&2, String>,
557  index: U32
558) -> Maybe<&2, Said>:
559  match draft comment:
560    case Some{d} Comment{beg, end, line, +trailing, body}:
561      Some{Said.of(d, trailing, Comment{beg, end, line, trailing, body}, known, index)}
562    case None{} _:
563      None{}

Uses (8)

Used by (1)