SelectMacro

gopher.SelectMacro
object SelectMacro

Attributes

Source
SelectMacro.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case class DoneExression[F[_], A, S, R](ch: Expr[ReadChannel[F, A]], f: Expr[Unit => S])(implicit evidence$1: Type[F], evidence$2: Type[A], evidence$3: Type[S], evidence$4: Type[R]) extends SelectorCaseExpr[F, S, R]

Attributes

Source
SelectMacro.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait SelectorCaseExpr[F, S, R]
class Object
trait Matchable
class Any
Show all
case class ReadExpression[F[_], A, S, R](ch: Expr[ReadChannel[F, A]], f: Expr[A => S], isDone: Boolean)(implicit evidence$1: Type[F], evidence$2: Type[A], evidence$3: Type[S], evidence$4: Type[R]) extends SelectorCaseExpr[F, S, R]

Attributes

Source
SelectMacro.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait SelectorCaseExpr[F, S, R]
class Object
trait Matchable
class Any
Show all
sealed trait SelectGroupExpr[F[_], S, R]

Attributes

Source
SelectMacro.scala
Supertypes
class Object
trait Matchable
class Any
sealed trait SelectorCaseExpr[F[_], S, R]

Attributes

Source
SelectMacro.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class DoneExression[F, A, S, R]
class ReadExpression[F, A, S, R]
class TimeoutExpression[F, S, R]
class WriteExpression[F, A, S, R]
case class TimeoutExpression[F[_], S, R](t: Expr[FiniteDuration], f: Expr[FiniteDuration => S])(implicit evidence$1: Type[F], evidence$2: Type[S], evidence$3: Type[R]) extends SelectorCaseExpr[F, S, R]

Attributes

Source
SelectMacro.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait SelectorCaseExpr[F, S, R]
class Object
trait Matchable
class Any
Show all
case class WriteExpression[F[_], A, S, R](ch: Expr[WriteChannel[F, A]], a: Expr[A], f: Expr[A => S])(implicit evidence$1: Type[F], evidence$2: Type[A], evidence$3: Type[S], evidence$4: Type[R]) extends SelectorCaseExpr[F, S, R]

Attributes

Source
SelectMacro.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait SelectorCaseExpr[F, S, R]
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def aforeverImpl[F[_] : Type](pf: Expr[PartialFunction[Any, Unit]], api: Expr[Gopher[F]])(implicit evidence$1: Type[F], Quotes): Expr[F[Unit]]

Attributes

Source
SelectMacro.scala
def buildSelectListenerRun[F[_] : Type, S : Type, R : Type, L <: SelectListeners[F, S, R] : Type](constructor: Expr[L], caseDefs: List[SelectorCaseExpr[F, S, R]], api: Expr[Gopher[F]], monadContext: Expr[CpsMonadContext[F]])(implicit evidence$1: Type[F], evidence$2: Type[S], evidence$3: Type[R], evidence$4: Type[L], Quotes): Expr[R]

Attributes

Source
SelectMacro.scala
def buildSelectListenerRunAsync[F[_] : Type, S : Type, R : Type, L <: SelectListeners[F, S, R] : Type](constructor: Expr[L], caseDefs: List[SelectorCaseExpr[F, S, R]], api: Expr[Gopher[F]])(implicit evidence$1: Type[F], evidence$2: Type[S], evidence$3: Type[R], evidence$4: Type[L], Quotes): Expr[F[R]]

Attributes

Source
SelectMacro.scala
def foreverImpl[F[_] : Type](pf: Expr[PartialFunction[Any, Unit]], api: Expr[Gopher[F]], monadContext: Expr[CpsMonadContext[F]])(implicit evidence$1: Type[F], Quotes): Expr[Unit]

Attributes

Source
SelectMacro.scala
def loopImpl[F[_] : Type](pf: Expr[PartialFunction[Any, Boolean]], api: Expr[Gopher[F]], monadContext: Expr[CpsMonadContext[F]])(implicit evidence$1: Type[F], Quotes): Expr[Unit]

Attributes

Source
SelectMacro.scala
def makeLambda(using Quotes)(argName: String, argType: x$1.reflect.TypeRepr, oldArgSymbol: x$1.reflect.Symbol, body: x$1.reflect.Term): x$1.reflect.Term

Attributes

Source
SelectMacro.scala
def onceImpl[F[_] : Type, A : Type](pf: Expr[PartialFunction[Any, A]], api: Expr[Gopher[F]], monadContext: Expr[CpsMonadContext[F]])(implicit evidence$1: Type[F], evidence$2: Type[A], Quotes): Expr[A]

Attributes

Source
SelectMacro.scala
def parseCaseDef[F[_] : Type, S : Type, R : Type](using Quotes)(caseDef: x$1.reflect.CaseDef): SelectorCaseExpr[F, S, R]

Attributes

Source
SelectMacro.scala
def parseCaseDefGuard(using Quotes)(caseDef: x$1.reflect.CaseDef): Map[String, x$1.reflect.Term]

Attributes

Source
SelectMacro.scala
def parseSelectCondition(using Quotes)(condition: x$1.reflect.Term, entries: Map[String, x$1.reflect.Term]): Map[String, x$1.reflect.Term]

Attributes

Source
SelectMacro.scala
def reportError(message: String, posExpr: Expr[_])(using Quotes): Nothing

Attributes

Source
SelectMacro.scala
def runImpl[F[_] : Type, A : Type, B : Type](builder: (List[SelectorCaseExpr[F, A, B]]) => Expr[B], pf: Expr[PartialFunction[Any, A]])(implicit evidence$1: Type[F], evidence$2: Type[A], evidence$3: Type[B], Quotes): Expr[B]

Attributes

Source
SelectMacro.scala
def runImplTree[F[_] : Type, A : Type, B : Type, C : Type](using Quotes)(builder: (List[SelectorCaseExpr[F, A, B]]) => Expr[C], pf: x$1.reflect.Term): Expr[C]

Attributes

Source
SelectMacro.scala
def selectListenerBuilder[F[_] : Type, S : Type, R : Type, L <: SelectListeners[F, S, R] : Type](constructor: Expr[L], caseDefs: List[SelectorCaseExpr[F, S, R]])(implicit evidence$1: Type[F], evidence$2: Type[S], evidence$3: Type[R], evidence$4: Type[L], Quotes): Expr[L]

Attributes

Source
SelectMacro.scala
def substIdent(using Quotes)(term: x$1.reflect.Term, fromSym: x$1.reflect.Symbol, toTerm: x$1.reflect.Term, owner: x$1.reflect.Symbol): x$1.reflect.Term

Attributes

Source
SelectMacro.scala