Trait

scala.tools.refactoring.sourcegen

AbstractPrinter

Related Doc: package sourcegen

Permalink

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
Visibility
  1. Public
  2. All

Type Members

  1. trait ChangeSet extends AnyRef

    Permalink
  2. 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.

Abstract Value Members

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

    Permalink

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Inherited from CommonPrintUtils

Inherited from AnyRef

Inherited from Any

Ungrouped