TreeMethods
trait TreeMethods
Extension methods of Tree
- Source:
- Quotes.scala
Extensions
Extensions
extension (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
- Source:
- Quotes.scala
Does this tree represent a valid expression?
Does this tree represent a valid expression?
- Source:
- Quotes.scala
Symbol of defined or referred by this tree
Symbol of defined or referred by this tree
- Source:
- Quotes.scala
extension (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
- Source:
- Quotes.scala
extension [ThisTree <: Tree](self: ThisTree)
Changes the owner of the symbols in the tree
Changes the owner of the symbols in the tree
- Source:
- Quotes.scala