Packages

t

scala.reflect.api.Trees

ImportSelectorApi

trait ImportSelectorApi extends AnyRef

The API that all import selectors support

Self Type
Universe.ImportSelector
Source
Trees.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
ImportSelector
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ImportSelectorApi
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def isMask: Boolean

    Does the selector mask or hide a name? import x.{y => _}

  2. abstract def isRename: Boolean

    Does the selector introduce a specific name by rename? x.{y => z}

  3. abstract def isSpecific: Boolean

    Does the selector introduce a specific name? import a.b, x.{y => z}

  4. abstract def isWildcard: Boolean

    Is the selector a wildcard import that introduces all available names? import x._

  5. abstract def name: Universe.Name

    The imported name.

  6. abstract def namePos: Int

    Offset of the position of the importing part of the selector in the source file.

    Offset of the position of the importing part of the selector in the source file. Is equal to -1 is the position is unknown.

  7. abstract def rename: Universe.Name

    The name the import is renamed to.

    The name the import is renamed to. Is equal to name if it's not a renaming import.

  8. abstract def renamePos: Int

    Offset of the position of the renaming part of the selector in the source file.

    Offset of the position of the renaming part of the selector in the source file. Is equal to -1 is the position is unknown.