TupleUtils

org.encalmo.utils.TupleUtils
object TupleUtils

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
TupleUtils.type

Members list

Value members

Concrete methods

def collect[In : Type](using quotes: Quotes)(label: Option[Expr[String]], valueExpr: Expr[In], functionWhenTupleExpr: [A] => (evidence$1: Type[A], x$1: Quotes) ?=> (Option[Expr[String]], Expr[A], Int) => Expr[Any], functionWhenNamedTupleExpr: [A] => (evidence$1: Type[A], x$1: Quotes) ?=> (Option[Expr[String]], Expr[A], Int) => Expr[Any], onStart: Expr[Unit], onEnd: Expr[Unit]): Expr[Unit]

Visit a named tuple and collect the results into a block of unit.

Visit a named tuple and collect the results into a block of unit.

Attributes

Returns

Unit

def isNamedTuple[A](using evidence$1: Type[A], Quotes): Boolean
def isTuple[A](using evidence$1: Type[A], Quotes): Boolean
def visit[In : Type](using cache: StatementsCache)(label: Option[String], valueTerm: cache.quotes.reflect.Term, functionWhenTupleExpr: [A] => (x$1: Option[String], x$2: cache.quotes.reflect.Term, x$3: Int) => Type[A] ?=> Unit, functionWhenNamedTupleExpr: [A] => (x$1: Option[String], x$2: cache.quotes.reflect.Term, x$3: Int) => Type[A] ?=> Unit, onStart: cache.quotes.reflect.Term, onEnd: cache.quotes.reflect.Term): Unit

Visit a named tuple using a statements cache.

Visit a named tuple using a statements cache.

Attributes

Returns

Unit