RepeatedModule

scala.quoted.Quotes.reflectModule.RepeatedModule

Methods of the module object val Repeated.

Attributes

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

Members list

Value members

Abstract methods

def apply(elems: List[Quotes.this.reflectModule.this.Term], tpt: Quotes.this.reflectModule.this.TypeTree): Quotes.this.reflectModule.this.Repeated

Creates a literal sequence of elements.

Creates a literal sequence of elements.

Value parameters

elems

the list of element terms in the sequence

tpt

the element type tree

Attributes

Source
Quotes.scala
def copy(original: Quotes.this.reflectModule.this.Tree)(elems: List[Quotes.this.reflectModule.this.Term], tpt: Quotes.this.reflectModule.this.TypeTree): Quotes.this.reflectModule.this.Repeated

Copies a literal sequence of elements.

Copies a literal sequence of elements.

Value parameters

elems

the list of element terms in the sequence

original

the original tree being copied

tpt

the element type tree

Attributes

Source
Quotes.scala

Matches a literal sequence of elements.

Matches a literal sequence of elements.

Value parameters

x

the Repeated to match against

Attributes

Source
Quotes.scala