def rate_one

bolt@1.27.0.0 · src/rules/pedantic/rewalk.bend:763

import bolt@1.27.0.0/src/rules/pedantic/rewalk.bend as Rewalk
import Base
import bolt@1.27.0.0/src/syntax/tree.bend as Tree

763# one site, rated: the piece is walked for it here, once
764def rate_one(ss: Site, +body: Tree.Node) -> Rated:
765  Site{+name, +args, +line, +col, +len, +how} = ss
766  Rated{Site{name, args, line, col, len, how}, narrow(how, body)}

Uses (4)

Used by (1)