Object

org.bitbucket.inkytonik.kiama.output

PrettyPrinterTypes

Related Doc: package output

Permalink

object PrettyPrinterTypes

Common type definitions for all pretty-printers.

Source
PrettyPrinter.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PrettyPrinterTypes
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Document(layout: Layout, links: Links) extends Product with Serializable

    Permalink

    A pretty-printed document, consisting of layout for the pretty-printed representation and associated links.

    A pretty-printed document, consisting of layout for the pretty-printed representation and associated links. The link information maps pretty-printed values to the offset ranges at which their printed representation occurs in the layout. In other words, for a given value v the start of the position range will be the offset at which the pretty-printed representation of v starts in the layout. The end of the range is where that representation finishes. It is possible for a value to be linked to more than one range.

    See the link combinator for information on how to specify the association between a value and the document that represents it.

  2. type Indent = Int

    Permalink

    Indentation is expressed as integer space units.

  3. type Layout = String

    Permalink

    The final layout of a document as a string.

  4. case class Link(value: Any, range: Range) extends Product with Serializable

    Permalink

    A link between a value and a range.

    A link between a value and a range. Used for the representation of mappings between pretty-printed values and their printed representations.

  5. type Links = List[Link]

    Permalink

    A collection of link.s.

  6. type Width = Int

    Permalink

    Output medium width

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

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val emptyDocument: Document

    Permalink

    An empty pretty-printed document.

  7. val emptyLinks: List[Link]

    Permalink

    An empty links mapping.

  8. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped