def type_head

bolt@1.27.0.0 · src/rules/calls.bend:234

import bolt@1.27.0.0/src/rules/calls.bend as Calls
import Base
import bolt@1.27.0.0/src/syntax/tree.bend as Tree

234# the head of a parameter's type: the first capitalized name after the colon
235# (`List` in `+xs: +List<A>`), "" for none
236def type_head(pp: Tree.Node, +after: Bool) -> String:
237  type_head.go(pp, after, None{})

Uses (5)

Used by (1)