SchemaVisitor

smithy4s.schema.SchemaVisitor
See theSchemaVisitor companion object
trait SchemaVisitor[F[_]] extends PolyFunction[Schema, F]

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type

Members list

Concise view

Value members

Abstract methods

def biject[A, B](schema: Schema[A], bijection: Bijection[A, B]): F[B]
def collection[C[_], A](shapeId: ShapeId, hints: Hints, tag: CollectionTag[C], member: Schema[A]): F[C[A]]
def enumeration[E](shapeId: ShapeId, hints: Hints, values: List[EnumValue[E]], total: E => EnumValue[E]): F[E]
def lazily[A](suspend: Lazy[Schema[A]]): F[A]
def map[K, V](shapeId: ShapeId, hints: Hints, key: Schema[K], value: Schema[V]): F[Map[K, V]]
def primitive[P](shapeId: ShapeId, hints: Hints, tag: Primitive[P]): F[P]
def refine[A, B](schema: Schema[A], refinement: Refinement[A, B]): F[B]
def struct[S](shapeId: ShapeId, hints: Hints, fields: Vector[Field[Schema, S, _]], make: IndexedSeq[Any] => S): F[S]
def union[U](shapeId: ShapeId, hints: Hints, alternatives: Vector[Alt[Schema, U, _]], dispatch: Dispatcher[Schema, U]): F[U]

Concrete methods

def apply[A](schema: Schema[A]): F[A]

Inherited methods

final def andThen[H[_]](other: PolyFunction[F, H]): PolyFunction[F, H]

Attributes

Inherited from:
PolyFunction