ImportSelector

tastyquery.Trees$.ImportSelector
final case class ImportSelector(imported: ImportIdent, renamed: Option[ImportIdent], bound: Option[TypeTree])(pos: SourcePosition) extends Tree

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Tree
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

final override def withPos(pos: SourcePosition): ImportSelector

Attributes

Definition Classes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Deprecated and Inherited methods

def walkTree(op: Tree => Unit): Unit

Attributes

Deprecated
[Since version 0.10.0]
Inherited from:
Tree
def walkTree[R](op: Tree => R)(reduce: (R, R) => R, default: => R): R

Attributes

Deprecated
[Since version 0.10.0]
Inherited from:
Tree

Concrete fields

val isGiven: Boolean

It's a given selector

It's a given selector

Attributes

val isWildcard: Boolean

It's a given or _ selector

It's a given or _ selector

Attributes

val name: TermName

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

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

Attributes

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

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

Attributes