Packages

c

scala.reflect.api.Trees

AlternativeExtractor

abstract class AlternativeExtractor extends AnyRef

An extractor class to create and pattern match with syntax Alternative(trees). This AST node corresponds to the following Scala code:

pat1 | ... | patn

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

Instance Constructors

  1. new AlternativeExtractor()

Abstract Value Members

  1. abstract def apply(trees: List[Universe.Tree]): Universe.Alternative
  2. abstract def unapply(alternative: Universe.Alternative): Option[List[Universe.Tree]]