AutoExamples

object AutoExamples extends AutoExamples
Companion:
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def create[T](code: Expr[() => T], asResult: Expr[AsResult[T]], postProcess: Expr[Fragments => Fragments])(using qctx: Quotes)(using t: Type[T], t1: Type[() => T]): Expr[Fragments]
def createExample[T](expression: String, code: () => T, asResult: AsResult[T]): Fragments
def makeExample[T](expression: String, code: => T, asResult: AsResult[T]): Fragment

Inherited methods

inline def eg[T](inline code: => T)(using asResult: AsResult[T]): Fragments
Inherited from:
AutoExamples
Inherited from:
FragmentsFactory

this function is introduced just to allow the mutable specification to register the newly created fragments

this function is introduced just to allow the mutable specification to register the newly created fragments

Inherited from:
AutoExamples