TypeMatch

grackle.Mapping.MappingPredicate.TypeMatch
case class TypeMatch(tpe: NamedType) extends MappingPredicate

A predicate that matches a specific type in any context

Attributes

Source
mapping.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Does this predicate apply to the given context?

Does this predicate apply to the given context?

Yields the priority of the corresponding TypeMapping if the predicate applies, or None otherwise.

Attributes

Source
mapping.scala

Given a Context, yield a strictly extended Context which would be matched by this predicate, if any, None otherwise.

Given a Context, yield a strictly extended Context which would be matched by this predicate, if any, None otherwise.

For a TypeMatch predicate, there is no continuation context.

Attributes

Source
mapping.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product