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
class Tree
trait Product
trait Equals
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
final def showBasic: String

Attributes

Inherited from:
Tree
final def showMultiline: String

Attributes

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

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