Packages

  • package root
    Definition Classes
    root
  • package de
    Definition Classes
    root
  • package unruh
    Definition Classes
    de
  • package isabelle

    This library allows to control an Isabelle process from a Scala application.

    This library allows to control an Isabelle process from a Scala application. For first steps and pointers, see the README.

    In case of missing/incorrect documentation, create an issue.

    Definition Classes
    unruh
  • package mlvalue

    This package contains classes for type safe manipulation of values stored in a running Isabelle process (managed by an instance of control.Isabelle).

    This package contains classes for type safe manipulation of values stored in a running Isabelle process (managed by an instance of control.Isabelle). See MLValue for an introduction.

    Definition Classes
    isabelle
  • object MLValueWrapper
    Definition Classes
    mlvalue
  • Companion

trait Companion[A <: MLValueWrapper[A]] extends OperationCollection

Base trait for companion objects of classes inheriting from MLValueWrapper. See the class documentation of MLValueWrapper for a usage example.

Source
MLValueWrapper.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Companion
  2. OperationCollection
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. class Ops extends AnyRef

    A class for storing Isabelle-instance-dependent declarations.

    A class for storing Isabelle-instance-dependent declarations. See OperationCollection. The Ops be overridden but must then inherit from this Ops class (extends super.Ops).

    Attributes
    protected

Abstract Value Members

  1. abstract def instantiate(mlValue: MLValue[A]): A

    Must return a new instance of A with A.mlValue = mlValue.

    Must return a new instance of A with A.mlValue = mlValue.

    Attributes
    protected
  2. abstract val mlType: String

    Must return the ML type corresponding to A.

    Must return the ML type corresponding to A.

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def Ops(implicit isabelle: Isabelle, ec: ExecutionContext): Ops

    Returns an instance of type Ops.

    Returns an instance of type Ops. It is guaranteed that for each instance isabelle, exactly one instance of Obs is created (using the ec from the first such invocation). (If you see this doc string in a class different from OperationCollection but no definition of the class Ops, treat this function as if it was private.)

    Definition Classes
    OperationCollection
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def exceptionName(implicit isabelle: Isabelle, ec: ExecutionContext): String

    Returns the name of the exception for storing values in the object store.

    Returns the name of the exception for storing values in the object store. That is, if exceptionName returns EXN, then an ML value a of type mlType is stored in the object store as EXN a. If predefinedException is overwritten, this returns predefinedException. Otherwise it returns a fresh exception name (and ensures that that exception is declared).

  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def init()(implicit isabelle: Isabelle, executionContext: ExecutionContext): Unit

    Makes sure an Ops instance for the instance isabelle is initialized.

    Makes sure an Ops instance for the instance isabelle is initialized. This is useful when code needs to be sure that the global initialization inside the Ops class has happened (e.g., declarations of ML types via Isabelle.executeMLCodeNow) even if it does not access any of the fields in the Ops class.

    Can safely be called several times with the same isabelle and/or executionContext.

    Definition Classes
    OperationCollection
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def newOps(implicit isabelle: Isabelle, ec: ExecutionContext): Ops

    Must return a fresh instance of Ops (with implicit arguments isabelle and ec.

    Must return a fresh instance of Ops (with implicit arguments isabelle and ec.

    Attributes
    protected
    Definition Classes
    CompanionOperationCollection
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. val predefinedException: String

    Must return the name of the exception for storing ML values of type mlType in the object store in the Isabelle process.

    Must return the name of the exception for storing ML values of type mlType in the object store in the Isabelle process. If not overwritten, the exception will be generated automatically. If overwritten, the overriding class needs to ensure that the exception is actually declared in the ML toplevel.

    Attributes
    protected
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. implicit object converter extends Converter[A]

    The MLValue.Converter for A.

    The MLValue.Converter for A. Import this as an implicit to support using objects of type A in MLFunctions etc.

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from OperationCollection

Inherited from AnyRef

Inherited from Any

Ungrouped