org.specs2.execute

Snippet

Related Docs: class Snippet | package execute

object Snippet extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Snippet
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def defaultMultilineMarkdownQuotes: (String) ⇒ String

  7. def defaultParams[T]: SnippetParams[T]

  8. def defaultSingleLineQuotes: (String) ⇒ String

  9. def emptyPrompt: (String) ⇒ String

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

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

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

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

    Definition Classes
    AnyRef → Any
  14. def githubMultilineMarkdownQuotes: (String) ⇒ String

  15. def greaterThanPrompt: (String) ⇒ String

  16. def hashCode(): Int

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

    Definition Classes
    Any
  18. lazy val ls: String

  19. def markdownCode(multilineQuotes: (String) ⇒ String = defaultMultilineMarkdownQuotes, singleLineQuotes: (String) ⇒ String = defaultSingleLineQuotes, offset: Int = 0): (String, String) ⇒ String

    display a cut piece of code as markdown depending on the existence of newlines in the original piece

  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. lazy val parameters: String

  24. lazy val scissorsMarker: String

  25. lazy val scissorsMarkerFormat: String

  26. def simplePrompt(p: String): (String) ⇒ String

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

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    AnyRef → Any
  29. def trimApproximatedSnippet: (String) ⇒ String

    trim the expression from start and end accolades if it is a multiline expression + in some case it is necessary to add a dummy expression so that the range position of the captured snippet is correct.

    trim the expression from start and end accolades if it is a multiline expression + in some case it is necessary to add a dummy expression so that the range position of the captured snippet is correct. /**/;1/**/ is the smallest such expression

  30. def trimRangePosSnippet: (String) ⇒ String

    RangePos snippets are built by using all the string at the macro application point (it used to be only the "inside" code but that got broken in 2.11.0-M8)

    RangePos snippets are built by using all the string at the macro application point (it used to be only the "inside" code but that got broken in 2.11.0-M8)

    3 things need to be trimmed:

    • the "snippet" method call
    • the expression from start and end accolades if it is a multiline expression
    • in some case it is necessary to add a dummy expression so that the range position of the captured snippet is correct. /**/;1/**/ is the smallest such expression
  31. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped