trait SexpPrettyPrinter extends SexpPrinter

The output is a non-standard interpretation of "pretty lisp" --- emacs style formatting requires counting the length of the text on the current line and indenting off that, which is not so easy when all you have is a StringBuilder.

Linear Supertypes
SexpPrinter, (Sexp) ⇒ String, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SexpPrettyPrinter
  2. SexpPrinter
  3. Function1
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val Indent: Int
  5. def andThen[A](g: (String) ⇒ A): (Sexp) ⇒ A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  6. def apply(x: Sexp, swank: String, rpc: Long): String

    Convert the input to a String with a swank message title.

    Convert the input to a String with a swank message title.

    Definition Classes
    SexpPrinter
  7. def apply(x: Sexp): String

    Convert the input to a String (constructing the entire String in memory).

    Convert the input to a String (constructing the entire String in memory).

    Definition Classes
    SexpPrinter → Function1
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  10. def compose[A](g: (A) ⇒ Sexp): (A) ⇒ String
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  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
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def print(sexp: Sexp, sb: StringBuilder): Unit

    Perform the side effect of rendering x to sb, which may reduce memory requirements when rendering very large objects.

    Perform the side effect of rendering x to sb, which may reduce memory requirements when rendering very large objects.

    Definition Classes
    SexpPrettyPrinterSexpPrinter
  21. def print(x: Sexp, swank: String, rpc: Long, sb: StringBuilder): Unit

    Perform the side effect of rendering x to sb, wrapping in a swank message title and RPC id.

    Perform the side effect of rendering x to sb, wrapping in a swank message title and RPC id.

    Definition Classes
    SexpPrinter
  22. def printAtom(sexp: SexpAtom, sb: StringBuilder): Unit
    Attributes
    protected
    Definition Classes
    SexpPrinter
  23. def printCons(x: Sexp, y: Sexp, sb: StringBuilder, indent: Int): Unit
    Attributes
    protected
  24. def printData(data: Map[SexpSymbol, Sexp], sb: StringBuilder, indent: Int): Unit
    Attributes
    protected
  25. def printIndent(sb: StringBuilder, indent: Int): Unit
    Attributes
    protected
  26. def printList(els: List[Sexp], sb: StringBuilder, indent: Int): Unit
    Attributes
    protected
  27. def printSeq[A](iterable: Iterable[A], printSeparator: ⇒ Unit)(f: (A) ⇒ Unit): Unit
    Attributes
    protected
    Definition Classes
    SexpPrinter
  28. def printString(s: String, sb: StringBuilder): Unit
    Attributes
    protected
    Definition Classes
    SexpPrinter
  29. def printSymbol(s: String, sb: StringBuilder): Unit
    Attributes
    protected
    Definition Classes
    SexpPrinter
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from SexpPrinter

Inherited from (Sexp) ⇒ String

Inherited from AnyRef

Inherited from Any

Ungrouped