TupleUtils

org.encalmo.utils.TupleUtils
object TupleUtils

Attributes

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

Members list

Type members

Classlikes

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def collect[In : Type](using quotes: Quotes)(label: Option[Expr[String]], valueExpr: Expr[In], functionOnItem: [A] => (evidence$1: Type[A], x$1: Quotes) ?=> (Option[Expr[String]], Expr[A], Int) => Expr[Any]): 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 createTuple2(using cache: StatementsCache)(key: cache.quotes.reflect.Term, value: cache.quotes.reflect.Term): cache.quotes.reflect.Term
def isTuple[A](using evidence$1: Type[A], Quotes): Boolean
def visit(using cache: StatementsCache)(tpe: cache.quotes.reflect.TypeRepr, valueTerm: cache.quotes.reflect.Term, functionOnItem: (cache.quotes.reflect.TypeRepr, cache.quotes.reflect.Term, Int) => Unit): Unit

Visit a named tuple using a statements cache.

Visit a named tuple using a statements cache.

Attributes

Returns

Unit

def visitTermless(using cache: StatementsCache)(tpe: cache.quotes.reflect.TypeRepr, functionOnItem: (cache.quotes.reflect.TypeRepr, Int) => Unit): Unit

Visit a named tuple using a statements cache without the value term.

Visit a named tuple using a statements cache without the value term.

Attributes

Returns

Unit