MappingPredicate

grackle.Mapping.MappingPredicate
See theMappingPredicate companion object

A predicate determining the applicability of a TypeMapping in a given context

Attributes

Companion
object
Source
mapping.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract 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.

Attributes

Source
mapping.scala
def tpe: NamedType

The type to which this predicate applies

The type to which this predicate applies

Attributes

Source
mapping.scala