TraversableOperationParser
class TraversableOperationParser(val rootParse: Parser)(using x$2: Quotes) extends Parser with PrefilterType[Boolean] with PatternMatchingValues
Same as traversableOperationParser, pre-filters that the result-type is a boolean
trait PatternMatchingValues
trait QuatMaking
trait QuatMakingBase
trait PrefilterType[Boolean]
trait Parser
class Object
trait Matchable
class Any
Type members
Inherited classlikes
Value members
Inherited methods
protected
def betaReduceTupleFields(using Quotes, History)(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) }
- Inherited from
- PatternMatchingValues