Snippets

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

Value members

Concrete methods

def create[T](code: Expr[() => T], params: Expr[SnippetParams[T]])(using quotes: Quotes)(using t: Type[T], t1: Type[() => T]): Expr[Snippet[T]]
def createSnippet[T](expression: String, code: () => T, params: SnippetParams[T]): Snippet[T]
def termFullName[T](e: Expr[T])(using quotes: Quotes): Expr[String]
def typeFullName[T](using quotes: Quotes)(using t: Type[T]): Expr[String]
def typeSimpleName[T](using quotes: Quotes)(using t: Type[T]): Expr[String]

Inherited methods

inline def fullName[T]: String
Inherited from:
Snippets
inline def simpleName[T]: String
Inherited from:
Snippets
inline def snippet[T](inline code: => T)(using params: SnippetParams[T]): Snippet[T]
Inherited from:
Snippets
inline def termName[T](inline t: => T): String
Inherited from:
Snippets

Givens

Inherited givens

implicit parameters selected for the creation of Snippets

implicit parameters selected for the creation of Snippets

Inherited from:
Snippets

Extensions

Inherited extensions

extension [T, R](s: Snippet[T])
def check(f: T => R)(using evidence$1: AsResult[R]): Snippet[T]
Inherited from:
Snippets
extension [T](s: Snippet[T])
def eval: Snippet[T]

implicit function modify the Snippet parameters

implicit function modify the Snippet parameters

Inherited from:
Snippets
def offsetIs(offset: Int): Snippet[T]

implicit function modify the Snippet parameters

implicit function modify the Snippet parameters

Inherited from:
Snippets
def promptIs(p: String): Snippet[T]

implicit function modify the Snippet parameters

implicit function modify the Snippet parameters

Inherited from:
Snippets
def set(trimExpression: String => String, cutter: String => String, asCode: (String, String) => String, prompt: String => String): Snippet[T]

implicit function modify the Snippet parameters

implicit function modify the Snippet parameters

Inherited from:
Snippets
extension [T](s: Snippet[T])
def checkOk(using evidence$2: AsResult[T]): Snippet[T]
Inherited from:
Snippets