trait Printers extends api.Printers

Self Type
SymbolTable
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Printers
  2. Printers
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class BooleanFlag(value: Option[Boolean]) extends Product with Serializable

    Definition Classes
    Printers
  2. class CodePrinter extends SymbolTable.TreePrinter
  3. class RawTreePrinter extends SymbolTable.TreePrinter
  4. class TreePrinter extends SymbolTable.TreePrinter

Value Members

  1. object BooleanFlag extends Serializable

    Definition Classes
    Printers
  2. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  3. final def ##(): Int
    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def backquotedPath(t: SymbolTable.Tree): String

    Turns a path into a String, introducing backquotes as necessary.

  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. def decodedSymName(tree: SymbolTable.Tree, name: SymbolTable.Name): String
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def newCodePrinter(writer: PrintWriter, tree: SymbolTable.Tree, printRootPkg: Boolean): SymbolTable.TreePrinter

    Hook to define what showCode(...) means.

    Hook to define what showCode(...) means.

    Definition Classes
    PrintersPrinters
  17. def newRawTreePrinter(writer: PrintWriter): SymbolTable.RawTreePrinter

    Hook to define what showRaw(...) means.

    Hook to define what showRaw(...) means.

    Definition Classes
    PrintersPrinters
  18. def newTreePrinter(): SymbolTable.TreePrinter
  19. def newTreePrinter(stream: OutputStream): SymbolTable.TreePrinter
  20. def newTreePrinter(writer: PrintWriter): SymbolTable.TreePrinter

    Hook to define what show(...) means.

    Hook to define what show(...) means.

    Definition Classes
    PrintersPrinters
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def quotedName(name: String): String
  24. def quotedName(name: SymbolTable.Name): String
  25. def quotedName(name: SymbolTable.Name, decode: Boolean): String

    Adds backticks if the name is a scala keyword.

  26. def render(what: Any, mkPrinter: (PrintWriter) ⇒ SymbolTable.TreePrinter, printTypes: SymbolTable.BooleanFlag = None, printIds: SymbolTable.BooleanFlag = None, printOwners: SymbolTable.BooleanFlag = None, printKinds: SymbolTable.BooleanFlag = None, printMirrors: SymbolTable.BooleanFlag = None, printPositions: SymbolTable.BooleanFlag = None): String

    Attributes
    protected
    Definition Classes
    Printers
  27. def show(position: SymbolTable.Position): String

    Renders a prettified representation of a position.

    Renders a prettified representation of a position.

    Definition Classes
    PrintersPrinters
  28. def show(flags: SymbolTable.FlagSet): String

    Renders a prettified representation of a flag set.

    Renders a prettified representation of a flag set.

    Definition Classes
    PrintersPrinters
  29. def show(name: SymbolTable.Name): String

    Renders a prettified representation of a name.

    Renders a prettified representation of a name.

    Definition Classes
    PrintersPrinters
  30. def show(any: Any, printTypes: SymbolTable.BooleanFlag = None, printIds: SymbolTable.BooleanFlag = None, printOwners: SymbolTable.BooleanFlag = None, printKinds: SymbolTable.BooleanFlag = None, printMirrors: SymbolTable.BooleanFlag = None, printPositions: SymbolTable.BooleanFlag = None): String

    Renders a representation of a reflection artifact as desugared Scala code.

    Renders a representation of a reflection artifact as desugared Scala code.

    Definition Classes
    Printers
  31. def showCode(tree: SymbolTable.Tree, printTypes: SymbolTable.BooleanFlag = None, printIds: SymbolTable.BooleanFlag = None, printOwners: SymbolTable.BooleanFlag = None, printPositions: SymbolTable.BooleanFlag = None, printRootPkg: Boolean = false): String

    Renders the code of the passed tree, so that: 1) it can be later compiled by scalac retaining the same meaning, 2) it looks pretty.

    Renders the code of the passed tree, so that: 1) it can be later compiled by scalac retaining the same meaning, 2) it looks pretty. #1 is available for unattributed trees and attributed trees #2 is more or less okay indentation-wise, but at the moment there's a lot of desugaring left in place, and that's what we plan to improve in the future. printTypes, printIds, printPositions options have the same meaning as for TreePrinter printRootPkg option is available only for attributed trees.

    Definition Classes
    Printers
  32. def showDecl(sym: SymbolTable.Symbol): String

    Renders a string that represents a declaration of this symbol written in Scala.

    Renders a string that represents a declaration of this symbol written in Scala.

    Definition Classes
    PrintersPrinters
  33. def showRaw(position: SymbolTable.Position): String

    Renders internal structure of a position.

    Renders internal structure of a position.

    Definition Classes
    Printers
  34. def showRaw(flags: SymbolTable.FlagSet): String

    Renders internal structure of a flag set.

    Renders internal structure of a flag set.

    Definition Classes
    Printers
  35. def showRaw(name: SymbolTable.Name): String

    Renders internal structure of a name.

    Renders internal structure of a name.

    Definition Classes
    Printers
  36. def showRaw(any: Any, printTypes: SymbolTable.BooleanFlag = None, printIds: SymbolTable.BooleanFlag = None, printOwners: SymbolTable.BooleanFlag = None, printKinds: SymbolTable.BooleanFlag = None, printMirrors: SymbolTable.BooleanFlag = None, printPositions: SymbolTable.BooleanFlag = None): String

    Renders internal structure of a reflection artifact as the visualization of a Scala syntax tree.

    Renders internal structure of a reflection artifact as the visualization of a Scala syntax tree.

    Definition Classes
    Printers
  37. def symName(tree: SymbolTable.Tree, name: SymbolTable.Name): String
  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. def treeToString(tree: SymbolTable.Tree): String

    By default trees are printed with show

    By default trees are printed with show

    Attributes
    protected
    Definition Classes
    Printers
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  44. def xprintTree(treePrinter: SymbolTable.TreePrinter, tree: SymbolTable.Tree): Unit

    Hook for extensions

  45. object ConsoleWriter extends Writer

    A writer that writes to the current Console and is sensitive to replacement of the Console's output stream.

Inherited from api.Printers

Inherited from AnyRef

Inherited from Any

Printers

Ungrouped