Trait

scala.tools.refactoring.sourcegen

ReusingPrinter

Related Doc: package sourcegen

Permalink

trait ReusingPrinter extends TreePrintingTraversals with AbstractPrinter with CompilerApiAdapters

Self Type
ReusingPrinter with LayoutHelper with Tracing with EnrichedTrees with CompilerAccess with Formatting with Indentations
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReusingPrinter
  2. CompilerApiAdapters
  3. AbstractPrinter
  4. CommonPrintUtils
  5. TreePrintingTraversals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait BlockPrinters extends AnyRef

    Permalink
  2. trait ChangeSet extends AnyRef

    Permalink
    Definition Classes
    AbstractPrinter
  3. trait ClassModulePrinters extends AnyRef

    Permalink
  4. trait FunctionPrinters extends AnyRef

    Permalink
  5. trait IfPrinters extends AnyRef

    Permalink
  6. trait ImportPrinters extends AnyRef

    Permalink
  7. trait LiteralPrinters extends AnyRef

    Permalink
  8. trait MethodCallPrinters extends AnyRef

    Permalink
  9. trait MiscPrinters extends AnyRef

    Permalink
  10. trait PackagePrinters extends AnyRef

    Permalink
  11. trait PatternMatchingPrinters extends AnyRef

    Permalink
  12. case class PrintingContext(ind: (AbstractPrinter.this)#Indentation, changeSet: (AbstractPrinter.this)#ChangeSet, parent: nsc.Global.Tree, file: Option[SourceFile]) extends Product with Serializable

    Permalink

    PrintingContext is passed around with all the print methods and contains the context or environment for the current printing.

    PrintingContext is passed around with all the print methods and contains the context or environment for the current printing.

    Definition Classes
    AbstractPrinter
  13. trait PrintingUtils extends AnyRef

    Permalink
  14. trait SuperPrinters extends AnyRef

    Permalink
  15. trait TreePrinting extends AnyRef

    Permalink
    Definition Classes
    TreePrintingTraversals
  16. trait TryThrowPrinters extends AnyRef

    Permalink
  17. trait TypePrinters extends AnyRef

    Permalink
  18. trait ValDefDefPrinters extends AnyRef

    Permalink
  19. trait WhilePrinters extends AnyRef

    Permalink

Abstract Value Members

  1. abstract val global: Global

    Permalink
    Definition Classes
    CompilerApiAdapters
  2. abstract def print(t: nsc.Global.Tree, ctx: (ReusingPrinter.this)#PrintingContext): Fragment

    Permalink
    Definition Classes
    AbstractPrinter

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def adjustedStartPosForSourceExtraction(t: nsc.Global.Tree, p: nsc.Global.Position): nsc.Global.Position

    Permalink

    When extracting source code from the file via a tree's position, it depends on the tree type whether we can use the position's start or point.

    When extracting source code from the file via a tree's position, it depends on the tree type whether we can use the position's start or point.

    t

    The tree that will be replaced.

    p

    The position to adapt. This does not have to be the position of t.

    Definition Classes
    CommonPrintUtils
  5. def annotationInfoTree(info: nsc.Global.AnnotationInfo): nsc.Global.Tree

    Permalink
    Definition Classes
    CompilerApiAdapters
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def balanceBrackets(open: Char, close: Char)(f: Fragment): EmptyFragment { val center: scala.tools.refactoring.sourcegen.Layout{val asText: String} }

    Permalink
    Definition Classes
    CommonPrintUtils
  8. def balanceBracketsInLayout(open: Char, close: Char, l: Layout): Layout

    Permalink
    Definition Classes
    CommonPrintUtils
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. def indentation(implicit ctx: (ReusingPrinter.this)#PrintingContext): String

    Permalink
    Definition Classes
    CommonPrintUtils
  16. def indentedNewline(implicit ctx: (ReusingPrinter.this)#PrintingContext): Requisite { def getLayout: scala.tools.refactoring.sourcegen.Layout{val asText: String} }

    Permalink
    Definition Classes
    CommonPrintUtils
  17. def isImplementationArtifact(sym: nsc.Global.Symbol): Boolean

    Permalink
    Definition Classes
    CompilerApiAdapters
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. def newline(implicit ctx: (ReusingPrinter.this)#PrintingContext): Requisite { def getLayout: scala.tools.refactoring.sourcegen.Layout{val asText: String} }

    Permalink
    Definition Classes
    CommonPrintUtils
  21. def newlineIndentedToChildren(implicit ctx: (ReusingPrinter.this)#PrintingContext): Requisite { def getLayout: scala.tools.refactoring.sourcegen.Layout{val asText: String} }

    Permalink
    Definition Classes
    CommonPrintUtils
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. lazy val precedence: (nsc.Global.Name) ⇒ Int

    Permalink
    Definition Classes
    CommonPrintUtils
  25. object reusingPrinter extends (ReusingPrinter.this)#TreePrinting with (ReusingPrinter.this)#PrintingUtils with (ReusingPrinter.this)#MiscPrinters with (ReusingPrinter.this)#MethodCallPrinters with (ReusingPrinter.this)#WhilePrinters with (ReusingPrinter.this)#PatternMatchingPrinters with (ReusingPrinter.this)#TypePrinters with (ReusingPrinter.this)#FunctionPrinters with (ReusingPrinter.this)#ImportPrinters with (ReusingPrinter.this)#PackagePrinters with (ReusingPrinter.this)#TryThrowPrinters with (ReusingPrinter.this)#ClassModulePrinters with (ReusingPrinter.this)#IfPrinters with (ReusingPrinter.this)#ValDefDefPrinters with (ReusingPrinter.this)#SuperPrinters with (ReusingPrinter.this)#BlockPrinters with (ReusingPrinter.this)#LiteralPrinters

    Permalink
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. def typeToString(tree: nsc.Global.TypeTree, t: nsc.Global.Type)(implicit ctx: (ReusingPrinter.this)#PrintingContext): String

    Permalink
    Definition Classes
    CommonPrintUtils
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from CompilerApiAdapters

Inherited from AbstractPrinter

Inherited from CommonPrintUtils

Inherited from TreePrintingTraversals

Inherited from AnyRef

Inherited from Any

Ungrouped