PackageClauseModule
Methods of the module object val PackageClause.
Attributes
- Source
- Quotes.scala
- Graph
-
- Supertypes
- Self type
-
Members list
Value members
Abstract methods
Creates a package clause package pid { stats }.
Creates a package clause package pid { stats }.
Value parameters
- pid
-
the package name reference
- stats
-
the definitions, imports, or exports within the package
Attributes
- Returns
-
a new
PackageClausetree - Source
- Quotes.scala
Copies a package clause package pid { stats }.
Copies a package clause package pid { stats }.
Value parameters
- original
-
the original tree being copied
- pid
-
the package name reference
- stats
-
the definitions, imports, or exports within the package
Attributes
- Returns
-
a copy of
originalwith the givenpidandstats - Source
- Quotes.scala
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.
Value parameters
- tree
-
the package clause tree to match against
Attributes
- Returns
-
a tuple of the package reference and its contained statements
- Source
- Quotes.scala