Inherited from nsc.Global.Tree
Inherited from nsc.Global.Attachable
Inherited from nsc.Global.TreeContextApiImpl
Inherited from nsc.Global.TreeContextApi
Inherited from nsc.Global.AttachableApi
Inherited from nsc.Global.TreeApi
Inherited from Product
Inherited from Equals
Inherited from Any
The PlainText "tree" provides a hook into the source code generation. When a PlainText tree occurs during source code generation, its
print
method is called with the current AbstractPrinter#PrintingContext. The result is inserted into the generated source code.For some use cases (blank line, raw and indented string) implementations already exist in the
PlainText
object.Note that PlainText trees should never be allowed to escape the Scala refactoring library, so be careful when using compiler utilities to transform trees.