TreeMethods
scala.quoted.Quotes.reflectModule.TreeMethods
trait TreeMethods
Extension methods of Tree.
Attributes
- Source
- Quotes.scala
- Graph
-
- Supertypes
Members list
Extensions
Extensions
extension (self: Quotes.this.reflectModule.this.Tree)
Converts this tree to an quoted.Expr[Any] if the tree is a valid expression or throws.
Converts 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: Quotes.this.reflectModule.this.Tree)
Converts this tree to an quoted.Expr[T] if the tree is a valid expression or throws.
Converts this tree to an quoted.Expr[T] if the tree is a valid expression or throws.
Attributes
- Source
- Quotes.scala
extension [ThisTree <: Quotes.this.reflectModule.this.Tree](self: ThisTree)
Changes the owner of the symbols in the tree.
In this article