TraversableOperationParser

io.getquill.parser.TraversableOperationParser
class TraversableOperationParser(val rootParse: Parser)(using x$2: Quotes, x$3: TranspileConfig) extends Parser, PrefilterType[Boolean], PatternMatchingValues

Same as traversableOperationParser, pre-filters that the result-type is a boolean

Attributes

Graph
Supertypes
trait QuatMaking
trait PrefilterType[Boolean]
trait Parser
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

object InferQuat

Attributes

Inherited from:
QuatMakingBase
Supertypes
class Object
trait Matchable
class Any
enum PatMatch

Attributes

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

Inherited from:
PatternMatchingValues
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object PatMatchTerm

Attributes

Inherited from:
PatternMatchingValues
Supertypes
class Object
trait Matchable
class Any
object ValDefTerm

Attributes

Inherited from:
PatternMatchingValues
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def attempt: History ?=> PartialFunction[Expr[_], Ast]

Inherited methods

Attributes

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

Attributes

Inherited from:
Parser
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 from:
PatternMatchingValues
override def existsEncoderFor(using Quotes)(tpe: TypeRepr): Boolean

Attributes

Definition Classes
Inherited from:
QuatMaking
def prefilter(expr: Expr[_]): Boolean

Attributes

Inherited from:
PrefilterType

Concrete fields