org.specs2.execute

Snippet

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

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

  10. def defaultSingleLineQuotes: (String) ⇒ String

  11. def emptyPrompt: (String) ⇒ String

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

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

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

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

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

  17. def greaterThanPrompt: (String) ⇒ String

  18. def hashCode(): Int

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

    Definition Classes
    Any
  20. lazy val ls: String

  21. 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

  22. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  25. lazy val parameters: String

  26. lazy val scissorsMarker: String

  27. lazy val scissorsMarkerFormat: String

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

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

    Definition Classes
    AnyRef
  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. 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

  32. 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.

    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
  33. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped