PatternMatchingValues

io.getquill.parser.ParserHelpers$.PatternMatchingValues

Attributes

Graph
Supertypes
trait Parser
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Type members

Classlikes

Attributes

Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Known subtypes
case class PatMatchClause(body: Ast, guard: Ast)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
object ValDefTerm

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Inherited classlikes

object InferQuat

Attributes

Inherited from:
QuatMakingBase
Graph
Supertypes
class Object
trait Matchable
class Any

Value members

Abstract methods

Concrete methods

protected def betaReduceTupleFields(using Quotes, History, TranspileConfig)(tupleTree: Term, fieldsTree: Tree, messageExpr: Option[Term])(bodyTree: Term): Ast

Beta-reduces out tuple members that have been pattern matched to their corresponding components For example: given: ptups := people.map(p => (p.name, p.age)) ptups.map { case (name, age) => fun(name, age) } becomes reduced to: ptups.map { x => fun(x.name, x.age) }

Beta-reduces out tuple members that have been pattern matched to their corresponding components For example: given: ptups := people.map(p => (p.name, p.age)) ptups.map { case (name, age) => fun(name, age) } becomes reduced to: ptups.map { x => fun(x.name, x.age) }

Attributes

Inherited methods

Attributes

Inherited from:
QuatMakingBase
def apply(input: Expr[_])(using History): Ast

Attributes

Inherited from:
Parser
override def existsEncoderFor(using Quotes)(tpe: TypeRepr): Boolean

Attributes

Definition Classes
Inherited from:
QuatMaking