def place.of

ezx@1.11.0.0 · src/tool/plan.bend:157

import ezx@1.11.0.0/src/tool/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/ez/target.bend as Tgt

157# where a resolved target is
158def place.of(found: Src) -> Tgt.Place:
159  match found:
160    case Pin{_n, url, _r, _o}:
161      place.pin(Tgt.classify(url))
162    case Free{pl}:
163      pl
164    case NoSrc{why}:
165      Tgt.Bad{why}

Uses (4)

Used by (1)