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 (s: Snippet[T])
def check[T, R](f: T => R)(using evidence$1: AsResult[R]): Snippet[T]
Inherited from
Snippets
extension (s: Snippet[T])
def checkOk[T](using evidence$2: AsResult[T]): Snippet[T]
Inherited from
Snippets
extension (s: Snippet[T])
def eval[T]: Snippet[T]

implicit function modify the Snippet parameters

implicit function modify the Snippet parameters

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

implicit function modify the Snippet parameters

implicit function modify the Snippet parameters

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

implicit function modify the Snippet parameters

implicit function modify the Snippet parameters

Inherited from
Snippets
def set[T](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