Packages

object Version extends OperationCollection

Version information for the Isabelle process.

All methods take the Isabelle process as an implicit parameter. The integers year, step, rc are chosen such that (year,step,rc) is increasing lexicographically if the version increases. (Development releases are currently not supported and may break this ordering.)

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

Type Members

  1. class Ops extends AnyRef
    Attributes
    protected

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. final val INVALID_YEAR: Int(99998)

    Value for year that indicates that the version could not be determined.

    Value for year that indicates that the version could not be determined. Guaranteed to be larger than any correct year value

  5. final val NOT_RC: Int(99999)

    Value for rc that represents that the version is not a release candidate.

    Value for rc that represents that the version is not a release candidate. Guaranteed to be larger than any release candidate number.

  6. 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
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def from2020(implicit isabelle: Isabelle, ec: ExecutionContext): Boolean

    True, if the current version is at least Isabelle2020 (including the release candidates).

    True, if the current version is at least Isabelle2020 (including the release candidates).

    Unspecified behavior on development versions.

  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. 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
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def newOps(implicit isabelle: Isabelle, ec: ExecutionContext): Ops

    Should construct an instance of type Ops

    Should construct an instance of type Ops

    Attributes
    protected
    Definition Classes
    VersionOperationCollection
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def rc(implicit isabelle: Isabelle, ec: ExecutionContext): Int

    Number of the release candidate.

    Number of the release candidate.

    E.g., Isabelle2020-RC4 would have rc=4. If this is not a release candidate, rc=NOT_RC.

  21. def step(implicit isabelle: Isabelle, ec: ExecutionContext): Int

    The version within the current year.

    The version within the current year.

    E.g. Isabelle2020 would have step=0, and Isabelle2020-1 would have step=1.

  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. def versionString(implicit isabelle: Isabelle, ec: ExecutionContext): String

    The Isabelle version string (e.g., "Isabelle2020: April 2020")

  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. def year(implicit isabelle: Isabelle, ec: ExecutionContext): Int

    The year of this Isabelle version (e.g., 2020).

    The year of this Isabelle version (e.g., 2020).

    If the version string could not be parsed, returns INVALID_YEAR.

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