NamedTupleUtils

org.encalmo.utils.NamedTupleUtils

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self 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)(valueExpr: Expr[In], functionOnField: [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 isNamedTuple[A](using evidence$1: Type[A], Quotes): Boolean
def visit(using cache: StatementsCache)(tpe: cache.quotes.reflect.TypeRepr, valueTerm: cache.quotes.reflect.Term, functionOnField: (cache.quotes.reflect.TypeRepr, String, 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, functionOnField: (cache.quotes.reflect.TypeRepr, String, Int) => Unit): Unit

Visit a named tuple using a statements cache.

Visit a named tuple using a statements cache.

Attributes

Returns

Unit