TreeMethods
scala.quoted.Quotes.reflectModule.TreeMethods
trait TreeMethods
Extension methods of Tree
Attributes
- Source
- Quotes.scala
- Graph
-
- Supertypes
Members list
Extensions
Extensions
extension (self: Tree)(self: Tree)
Convert this tree to an quoted.Expr[Any]
if the tree is a valid expression or throws
Convert this tree to an quoted.Expr[Any]
if the tree is a valid expression or throws
Attributes
- Source
- Quotes.scala
Does this tree represent a valid expression?
Position in the source code
Shows the tree as String
Symbol of defined or referred by this tree
extension (self: Tree)(self: Tree)
Convert this tree to an quoted.Expr[T]
if the tree is a valid expression or throws
Convert this tree to an quoted.Expr[T]
if the tree is a valid expression or throws
Attributes
- Source
- Quotes.scala
extension [ThisTree <: Tree](self: ThisTree)(self: ThisTree)
Changes the owner of the symbols in the tree
In this article