p

ammonite

kernel

package kernel

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

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

  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

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

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

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

  6. sealed trait MaybeOutput[+A] extends AnyRef

    Encodes the output from ReplKernelWithTimeout

    Encodes the output from ReplKernelWithTimeout

    Author:

    Harshad Deo

    Since

    0.4.0

  7. final class ReplKernel extends AnyRef

    Implements runtime code compilation and execution

    Implements runtime code compilation and execution

    Author:

    Harshad Deo

    Since

    0.1

  8. final class ReplKernelWithTimeout extends AnyRef

    Wrapper around the ReplKernel that adds a timeout to each processing request.

    Wrapper around the ReplKernel that adds a timeout to each processing request. If a request is timed out, subsequent requests cannot be executed. This acts as an effective check against infinite loops.

    Author:

    Harshad Deo

    Since

    0.4.0

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

  10. case class SuccessfulOutput[A](output: A) extends MaybeOutput[A] with Product with Serializable

    Output from ReplKernelWithTimeout in case processing is requested from a kernel instance that was successfully evaluated

    Output from ReplKernelWithTimeout in case processing is requested from a kernel instance that was successfully evaluated

    Author:

    Harshad Deo

    Since

    0.4.0

Value Members

  1. object DeadKernel extends MaybeOutput[Nothing] with Product with Serializable

    Output from ReplKernelWithTimeout in case processing is requested from a kernel instance that was timed out

    Output from ReplKernelWithTimeout in case processing is requested from a kernel instance that was timed out

    Author:

    Harshad Deo

    Since

    0.4.0

  2. object FailedOutputTimeout extends MaybeOutput[Nothing] with Product with Serializable

    Output from from ReplKernelWithTimeout in case the processing request was timed out

    Output from from ReplKernelWithTimeout in case the processing request was timed out

    Author:

    Harshad Deo

    Since

    0.4.0

  3. object ReplKernel
  4. object ReplKernelWithTimeout

Ungrouped