ContextUtil

sbt.internal.util.appmacro.ContextUtil
trait ContextUtil[C <: Quotes & Singleton](val qctx: C, val valStart: Int)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Convert[C]

Members list

Concise view

Type members

Classlikes

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
final class Input(val tpe: TypeRepr, val qual: Term, val term: Term, val name: String)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
trait TermTransform[F[_]]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def collectDefs(tree: Term, isWrapper: (String, TypeRepr, Term) => Boolean): Set[Symbol]
def freshName(prefix: String): String
def freshValDef(parent: Symbol, tpe: TypeRepr, rhs: Term): ValDef

Constructs a new, synthetic, local var with type tpe, a unique name, initialized to zero-equivalent (Zero[A]), and owned by parent.

Constructs a new, synthetic, local var with type tpe, a unique name, initialized to zero-equivalent (Zero[A]), and owned by parent.

Attributes

def makeTuple(inputs: List[Input]): BuilderResult
def tupleTypeRepr(param: List[TypeRepr]): TypeRepr
def typed[A : Type](value: Term): Term

Concrete fields

val qctx: C
val valStart: Int

Givens

Givens