package kernel
- Alphabetic
- Public
- All
Type Members
-
final
case class
AutocompleteOutput(names: Seq[String], signatures: Seq[String]) extends Product with Serializable
Output of an autocomplete request
Output of an autocomplete request
val k = ammonite.kernel.ReplKernel() val testStr = "val x = 1; x + x.>" val AutocompleteOutput(names, signatures) = k.complete(testStr, testStr.length) assert(names == Seq(">=", ">>", ">>>")) assert(signatures.contains("def >(x: Byte): Boolean"))
Author:
Harshad Deo
- names
names that match at the given locations
- signatures
signatures that match at the given location
- Since
0.1.2
-
final
case class
LogError(msg: String) extends LogMessage with Product with Serializable
Marker type for errors generated during procesing
Marker type for errors generated during procesing
Author:
Harshad Deo
- msg
String representation of the error
- Since
0.1
-
final
case class
LogInfo(msg: String) extends LogMessage with Product with Serializable
Marker type for infos generated during processing
Marker type for infos generated during processing
Author:
Harshad Deo
- msg
String representation of the info log
- Since
0.1
-
sealed
trait
LogMessage extends Serializable
Marker trait for messages generated during processing
Marker trait for messages generated during processing
Author:
Harshad Deo
- Since
0.1
-
final
case class
LogWarning(msg: String) extends LogMessage with Product with Serializable
Marker type for warnings generated during processing
Marker type for warnings generated during processing
Author:
Harshad Deo
- msg
String representation of the warning
- Since
0.1
-
final
class
ReplKernel extends AnyRef
Implements runtime code compilation and execution
Implements runtime code compilation and execution
Author:
Harshad Deo
- Since
0.1
-
final
case class
SuccessfulEvaluation(value: Any, infos: List[LogInfo], warnings: List[LogWarning]) extends Product with Serializable
Result of a successful evaluation
Result of a successful evaluation
Author:
Harshad Deo
- value
output of the last expression
- infos
infos generated during processing
- warnings
generated during processing
- Since
0.1.2
Value Members
- object ReplKernel