Generates an instance of PathMatcher according to the path templates given.
Generates an instance of PathMatcher according to the path templates given.
All arguments to this method MUST be of the form "path template" --> Object
, where the Object
is either
T
, orT
.The path templates given contain parameter names prefixed by ':'
. Those parameter names are matched by name
to the declared parameters of the case class' primary constructor.
Acceptable syntax and conversion operations are defined by the applicable AsPathVar instance in scope for the type of the constructor parameter.
At the moment, the macro does no handle default parameters or overloaded constructors.
The common supertype of all paths matched.
A sequence of "path template" --> Object
mappings.
A generated instance of PathMatcher.