PackageClauseModule

scala.quoted.Quotes.reflectModule.PackageClauseModule

Methods of the module object val PackageClause

Attributes

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

Members list

Value members

Abstract methods

def apply(pid: Ref, stats: List[Tree]): PackageClause

Create a package clause package pid { stats }

Create a package clause package pid { stats }

Attributes

Source
Quotes.scala
def copy(original: Tree)(pid: Ref, stats: List[Tree]): PackageClause

Copy a package clause package pid { stats }

Copy a package clause package pid { stats }

Attributes

Source
Quotes.scala
def unapply(tree: PackageClause): (Ref, List[Tree])

Matches a package clause package pid { stats } and extracts the pid and stats

Matches a package clause package pid { stats } and extracts the pid and stats

Attributes

Source
Quotes.scala