Packages

package linker

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. final class Class extends ScopeInfo
  2. sealed abstract class ClassLoader extends AnyRef
  3. sealed trait ClassPath extends AnyRef
  4. trait Extractor[T] extends AnyRef
  5. final class Field extends MemberInfo
  6. sealed abstract class Info extends AnyRef
  7. final class LinkingException extends Exception

    Exception that is thrown when a Scala Native linking fails.

  8. trait LinktimeValueResolver extends AnyRef
  9. sealed abstract class MemberInfo extends Info
  10. final class Method extends MemberInfo
  11. class Reach extends LinktimeValueResolver
  12. final class Result extends AnyRef
  13. sealed abstract class ScopeInfo extends Info
  14. final class Trait extends ScopeInfo
  15. final class Unavailable extends Info

Value Members

  1. object ArrayRef
  2. object BoxRef
  3. object Class
  4. object ClassLoader
  5. object ClassPath
  6. object ClassRef extends Extractor[Class]
  7. object ExactClassRef
  8. object FieldRef extends Extractor[(Info, Field)]
  9. object Link
  10. object MethodRef extends Extractor[(Info, Method)]
  11. object Reach
  12. object Ref extends Extractor[Info]
  13. object ScopeRef extends Extractor[ScopeInfo]
  14. object Sub

    Our subtyping can be described by a following diagram:

    Our subtyping can be described by a following diagram:

    value kind        ref kind         special kind
    |     \           |    \
    |     |           |      \
    prim  aggr        class  trait
    |     |           |      /
    |     |           |    /
    |     |           null
    |     |           /
    |     |       /
    |     |   /
    nothing

    Primitive and aggregate types don't participate in subtyping and they have to be explicitly boxed to become compatible with a reference type.

    Reference types form a simple lattice with java.lang.Object at the top and null type at the bottom. Subtyping between traits and classes is based on linearization of the all transitive parents, similarly to scalac.

    Nothing is the common bottom type between reference and value types. It represents computations that may never complete normally (either loops forever or throws an exception).

  15. object TraitRef extends Extractor[Trait]
  16. object UnitRef

Ungrouped