package ir
- Alphabetic
- Public
- All
Type Members
- sealed abstract class ClassKind extends AnyRef
- final class EntryPointsInfo extends AnyRef
- class IRVersionNotSupportedException extends IOException
- class InvalidIRException extends Exception
-
final
class
OriginalName extends AnyVal
An optional original name.
An optional original name.
Since an
OriginalName
is basically an optionalUTF8String
, original names must always be well-formed Unicode strings. Unpaired surrogates are not valid. - final case class Position(source: SourceFile, line: Int, column: Int) extends Product with Serializable
-
final
class
UTF8String extends AnyVal
An immutable UTF-8 string.
An immutable UTF-8 string.
The contents of a
UTF8String
is guaranteed to be a well-formed UTF-8 string.- Note
equals()
andhashCode()
, along with==
and##
, are just as broken forUTF8String
as forArray
s. Use the methods in the companion object instead. This is unavoidable because we cannot overrideequals
norhashCode
in anAnyVal
.
-
final
class
Version extends AnyVal
A version of a thing
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.
-
class
VersionChecks extends AnyRef
Helper class to allow for testing of logic.
Value Members
- object ClassKind
- object EntryPointsInfo
- object Hashers
- object Names
- object OriginalName
- object Position extends Serializable
- object Printers
-
object
SHA1
Wrapper around java.security.MessageDigest.getInstance("SHA-1")
- object ScalaJSVersions extends VersionChecks
- object Serializers
- object Transformers
- object Traversers
- object Trees
- object Types
- object UTF8String
- object Version