Attributes
- Companion
- trait
- Source
- mapping.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MappingPredicate.type
Members list
Type members
Classlikes
A predicate that matches the given Path
as the suffix of the context path.
A predicate that matches the given Path
as the suffix of the context path.
Note that a Path
corresponds to an initial type, followed by a sequence of field selectors. The type found by following the field selectors from the initial type determines the final type to which the predicate applies.
This predicate is thus a slightly more restrictive variant of PrefixedTypeMatch
which will match in any context with the given path and final type, irrespective of the initial type.
In practice PathMatch
is more convenient to use in most circumstances and should be preferred to PrefixedTypeMatch
unless the semantics of the latter are absolutely required.
Attributes
- Source
- mapping.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MappingPredicateclass Objecttrait Matchableclass AnyShow all
A predicate that matches a specific type with a given path prefix.
A predicate that matches a specific type with a given path prefix.
This predicate corresponds to the semantics of the PrefixedMapping
in earlier releases.
Attributes
- Source
- mapping.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MappingPredicateclass Objecttrait Matchableclass AnyShow all
A predicate that matches a specific type in any context
A predicate that matches a specific type in any context
Attributes
- Source
- mapping.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MappingPredicateclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
Extend the given context by the given path, if possible, navigating through interfaces and unions as necessary.
Extend the given context by the given path, if possible, navigating through interfaces and unions as necessary.
Attributes
- Source
- mapping.scala