RefinedModule

scala.quoted.Quotes.reflectModule.RefinedModule

Methods of the module object val Refined.

Attributes

Source
Quotes.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Quotes.this.reflectModule.this.Refined.type

Members list

Value members

Abstract methods

def apply(tpt: Quotes.this.reflectModule.this.TypeTree, refinements: List[Quotes.this.reflectModule.this.Definition], refineCls: Quotes.this.reflectModule.this.Symbol): Quotes.this.reflectModule.this.Refined

Creates and types a Refined AST node.

Creates and types a Refined AST node.

Value parameters

refineCls
  • symbol of the class of which the refinement definitions originally come from
refinements
  • List of definitions represesenting refinements
tpt
  • parent type being refined

Attributes

Source
Quotes.scala
def copy(original: Quotes.this.reflectModule.this.Tree)(tpt: Quotes.this.reflectModule.this.TypeTree, refinements: List[Quotes.this.reflectModule.this.Definition]): Quotes.this.reflectModule.this.Refined

Attributes

Source
Quotes.scala

Attributes

Source
Quotes.scala