PatternMatchingValues

io.getquill.parser.ParserHelpers.PatternMatchingValues

Attributes

Graph
Supertypes
trait QuatMaking
trait Parser
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Type members

Classlikes

enum PatMatch

Attributes

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

Attributes

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object ValDefTerm

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
ValDefTerm.type

Inherited classlikes

object InferQuat

Attributes

Inherited from:
QuatMakingBase
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