object Snippet extends Serializable
- Alphabetic
- By Inheritance
- Snippet
- Serializable
- Serializable
- 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def defaultMultilineMarkdownQuotes: (String) ⇒ String
- def defaultParams[T]: SnippetParams[T]
- def defaultSingleLineQuotes: (String) ⇒ String
- def emptyPrompt: (String) ⇒ String
-
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 githubMultilineMarkdownQuotes: (String) ⇒ String
- def greaterThanPrompt: (String) ⇒ String
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val ls: String
-
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
-
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()
- lazy val parameters: String
- lazy val scissorsMarker: String
- lazy val scissorsMarkerFormat: String
- def simplePrompt(p: String): (String) ⇒ String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
-
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
-
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( ... )