Version

org.scalajs.ir.Version
See theVersion companion object
final class Version extends AnyVal

A version of a thing

Versions are always optional, Version.Unversioned being the sentinel.

The remaining versions come in two fundamentally different flavors:

  • Hashes: They are stable in serialized form, Serializers will write them to IR files. The only way to create these versions is via Hashers.
  • Non hashes: Not guaranteed to be stable / collision free across different programs. Never written to IR files.

Attributes

Companion
object
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

Checks whether two versions are known to be the same.

Checks whether two versions are known to be the same.

Returns false if either of the versions is Version.Unversioned

Attributes

override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any