Analyzer

kreuzberg.extras.forms.Generator$.Analyzer
class Analyzer[Q <: Quotes](using val quotes: Q)

Helper for analyzing case classes for which we create Forms.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Classlikes

case class FieldResult[F](constructorFieldSymbol: Symbol, declaredFieldSymbol: Symbol, name: String, annotation: Option[Expr[UseField[F]]], codec: Expr[Codec[F, String]], defaultFieldType: Expr[DefaultFieldType[F]], _type: Type[F])

A Field of the case class.

A Field of the case class.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Result[T](name: String, symbol: Symbol, fields: List[FieldResult[_]], mainAnnotation: List[Expr[UseValidator[T]]], companion: Symbol, applyMethod: Symbol)

Analyzed case class.

Analyzed case class.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def analyze[T](using Type[T]): Result[T]

Givens

Givens

given quotes: Q