org.scalajs.ir

Type members

Classlikes

sealed abstract class ClassKind
Companion
object
object ClassKind
Companion
class
final class EntryPointsInfo(val className: ClassName, val hasEntryPoint: Boolean)
Companion
object
Companion
class
object Hashers
class IRVersionNotSupportedException(val version: String, val supported: String, message: String) extends IOException
class InvalidIRException(val tree: IRNode, message: String) extends Exception
object Names
final class OriginalName extends AnyVal

An optional original name.

An optional original name.

Since an OriginalName is basically an optional UTF8String, original names must always be well-formed Unicode strings. Unpaired surrogates are not valid.

Companion
object
object OriginalName
Companion
class
final case class Position(source: SourceFile, line: Int, column: Int)
Companion
object
object Position
Companion
class
object Printers
object Serializers
object Transformers
object Traversers
object Trees
object Types
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() and hashCode(), along with == and ##, are just as broken for UTF8String as for Arrays. Use the methods in the companion object instead. This is unavoidable because we cannot override equals nor hashCode in an AnyVal.

Companion
object
object UTF8String
Companion
class

Helper class to allow for testing of logic.

Helper class to allow for testing of logic.