PackageClauseModule

Methods of the module object val PackageClause

Source
Quotes.scala
class Object
trait Matchable
class Any

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 }

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 }

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

Source
Quotes.scala