Class

scala.reflect.api.Trees

SelectFromTypeTreeExtractor

Related Doc: package Trees

Permalink

abstract class SelectFromTypeTreeExtractor extends AnyRef

An extractor class to create and pattern match with syntax SelectFromTypeTree(qualifier, name). This AST node corresponds to the following Scala code:

qualifier # selector

Note: a path-dependent type p.T is expressed as p.type # T

Should only be used with qualifier nodes which are types, i.e. which have isType returning true. Otherwise Select should be used instead.

Foo#Bar // represented as SelectFromTypeTree(Ident(<Foo>), <Bar>) foo.Bar // represented as Select(Ident(<foo>), <Bar>)

Source
Trees.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SelectFromTypeTreeExtractor
  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

Instance Constructors

  1. new SelectFromTypeTreeExtractor()

    Permalink

Abstract Value Members

  1. abstract def apply(qualifier: Universe.Tree, name: Universe.TypeName): Universe.SelectFromTypeTree

    Permalink
  2. abstract def unapply(selectFromTypeTree: Universe.SelectFromTypeTree): Option[(Universe.Tree, Universe.TypeName)]

    Permalink