def def_name

bolt@1.27.0.0 · src/syntax/outline.bend:270

import bolt@1.27.0.0/src/syntax/outline.bend as Outline
import Base

270# the name of a `def` or `@unsafe def` line
271def def_name(+ss: String) -> String:
272  name(Bool.pick(String, String.starts_with(ss, "@"), String.drop(ss, 12n), String.drop(ss, 4n)))

Uses (5)

Used by (1)