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
.
- Alphabetic
- By Inheritance
- SexpPrettyPrinter
- SexpPrinter
- Function1
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val Indent: Int
-
def
andThen[A](g: (String) ⇒ A): (Sexp) ⇒ A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
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
-
def
apply(x: Sexp): String
Convert the input to a
String
(constructing the entireString
in memory).Convert the input to a
String
(constructing the entireString
in memory).- Definition Classes
- SexpPrinter → Function1
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
compose[A](g: (A) ⇒ Sexp): (A) ⇒ String
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
print(sexp: Sexp, sb: StringBuilder): Unit
Perform the side effect of rendering
x
tosb
, which may reduce memory requirements when rendering very large objects.Perform the side effect of rendering
x
tosb
, which may reduce memory requirements when rendering very large objects.- Definition Classes
- SexpPrettyPrinter → SexpPrinter
-
def
print(x: Sexp, swank: String, rpc: Long, sb: StringBuilder): Unit
Perform the side effect of rendering
x
tosb
, wrapping in a swank message title and RPC id.Perform the side effect of rendering
x
tosb
, wrapping in a swank message title and RPC id.- Definition Classes
- SexpPrinter
-
def
printAtom(sexp: SexpAtom, sb: StringBuilder): Unit
- Attributes
- protected
- Definition Classes
- SexpPrinter
-
def
printCons(x: Sexp, y: Sexp, sb: StringBuilder, indent: Int): Unit
- Attributes
- protected
-
def
printData(data: Map[SexpSymbol, Sexp], sb: StringBuilder, indent: Int): Unit
- Attributes
- protected
-
def
printIndent(sb: StringBuilder, indent: Int): Unit
- Attributes
- protected
-
def
printList(els: List[Sexp], sb: StringBuilder, indent: Int): Unit
- Attributes
- protected
-
def
printSeq[A](iterable: Iterable[A], printSeparator: ⇒ Unit)(f: (A) ⇒ Unit): Unit
- Attributes
- protected
- Definition Classes
- SexpPrinter
-
def
printString(s: String, sb: StringBuilder): Unit
- Attributes
- protected
- Definition Classes
- SexpPrinter
-
def
printSymbol(s: String, sb: StringBuilder): Unit
- Attributes
- protected
- Definition Classes
- SexpPrinter
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Function1 → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )