org.ensime.sexp.formats

StandardFormats

trait StandardFormats extends ThreadLocalSupport

Formats for data types that are so popular that you'd expect them to "just work".

Most people might expect Option[T] to output nil for None and the instance for Some, but that doesn't round-trip for nested types (think of Option[List[T]]). Instead we use a one-element list. If you want to have the non-round-trip behaviour, mix in OptionAltFormat.

Linear Supertypes
ThreadLocalSupport, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StandardFormats
  2. ThreadLocalSupport
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait ViaString[T] extends AnyRef

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. implicit val DateFormat: SexpFormat[Date]

    Uses ISO_8601 which is well supported on the emacs side (we suspend belief about Date's mutability).

    Uses ISO_8601 which is well supported on the emacs side (we suspend belief about Date's mutability). If you want to use UNIX epoch time, override with your own implementation.

  7. implicit val FileFormat: SexpFormat[File]

  8. implicit val UriFormat: SexpFormat[URI]

  9. implicit val UuidFormat: SexpFormat[UUID]

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. implicit def eitherFormat[L, R](implicit arg0: SexpFormat[L], arg1: SexpFormat[R]): SexpFormat[Either[L, R]]

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

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

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

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

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

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

    Definition Classes
    Any
  19. def local[T](t: ⇒ T): ThreadLocal[T]

    Attributes
    protected
    Definition Classes
    ThreadLocalSupport
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. implicit def optionFormat[T](implicit arg0: SexpFormat[T]): SexpFormat[Option[T]]

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. def viaString[T](via: ViaString[T]): SexpFormat[T]

  27. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ThreadLocalSupport

Inherited from AnyRef

Inherited from Any

Ungrouped