Object/Class

org.specs2.execute

Snippet

Related Docs: class Snippet | package execute

Permalink

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
Visibility
  1. Public
  2. All

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

    Permalink
  8. def defaultSingleLineQuotes: (String) ⇒ String

    Permalink
  9. def emptyPrompt: (String) ⇒ String

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

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

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

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

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

    Permalink
  15. def greaterThanPrompt: (String) ⇒ String

    Permalink
  16. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  18. lazy val ls: String

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

    Permalink

    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

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

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

    Permalink
    Definition Classes
    AnyRef
  23. lazy val parameters: String

    Permalink
  24. lazy val scissorsMarker: String

    Permalink
  25. lazy val scissorsMarkerFormat: String

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

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

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

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

    Permalink

    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

    Permalink

    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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped