scala.tools.refactoring.sourcegen

AbstractPrinter

trait AbstractPrinter extends CommonPrintUtils

Self Type
AbstractPrinter with Tracing with EnrichedTrees with Indentations with CompilerAccess with Formatting
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AbstractPrinter
  2. CommonPrintUtils
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait ChangeSet extends AnyRef

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

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

Abstract Value Members

  1. abstract def print(t: nsc.Global.Tree, ctx: (AbstractPrinter.this)#PrintingContext): Fragment

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def adjustedStartPosForSourceExtraction(t: nsc.Global.Tree, p: nsc.Global.Position): nsc.Global.Position

    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
  7. final def asInstanceOf[T0]: T0

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

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

    Definition Classes
    CommonPrintUtils
  10. def clone(): AnyRef

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  16. def indentation(implicit ctx: (AbstractPrinter.this)#PrintingContext): String

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

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

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

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

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

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

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

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

    Definition Classes
    CommonPrintUtils
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

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

    Definition Classes
    CommonPrintUtils
  28. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from CommonPrintUtils

Inherited from AnyRef

Inherited from Any

Ungrouped