ImportSelector

case
class ImportSelector(imported: Ident, renamed: Tree, bound: TypeTree)(span: Span) extends Tree
trait Serializable
trait Product
trait Equals
class Tree
class Object
trait Matchable
class Any

Value members

Concrete methods

final override
Definition Classes

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
protected
def subtrees: List[Tree]
Inherited from
Tree
final
def tpe(using Context): Type

The term type of this tree.

The term type of this tree.

If this tree is not a term (e.g., it is a definition), its tpe is NoType.

Inherited from
Tree
protected
def typeTrees: List[TypeTree]
Inherited from
Tree
def walkTree(op: Tree => Unit): Unit
Inherited from
Tree
def walkTree[R](op: Tree => R)(reduce: (R, R) => R, default: => R): R
Inherited from
Tree
def walkTypeTrees(op: TypeTree => Unit): Unit
Inherited from
Tree
def walkTypeTrees[R](op: TypeTree => R)(reduce: (R, R) => R, default: => R): R
Inherited from
Tree

Concrete fields

val isGiven: Boolean

It's a given selector

It's a given selector

val isWildcard: Boolean

It's a given or _ selector

It's a given or _ selector

The imported name, EmptyTermName if it's a given selector

The imported name, EmptyTermName if it's a given selector

The renamed part (which might be _), if present, or name, if missing

The renamed part (which might be _), if present, or name, if missing