def rate_one
import bolt@1.27.0.0/src/rules/pedantic/rewalk.bend as Rewalkimport 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)}