Factory for general ValueSnippets
instances by wrapping an existing PartialFunction
.
Factory for general ValueSnippets
instances by wrapping an existing PartialFunction
.
the type of the Loc
's value
a PartialFunction
that maps a snippet name, and an optional Loc
value, in a Tuple2
,
to a snippet function (NodeSeq
=> NodeSeq
).