scala.tools.nsc.matching

Patterns

trait Patterns extends TreeDSL

Patterns are wrappers for Trees with enhanced semantics.

Self Type
ExplicitOuter
Source
Patterns.scala
Linear Supertypes
TreeDSL, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Patterns
  2. TreeDSL
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Type Members

  1. case class AlternativePattern(tree: Alternative) extends Pattern with Product with Serializable

  2. case class ApplyIdentPattern(tree: Apply) extends Pattern with ApplyPattern with NamePattern with Product with Serializable

  3. sealed trait ApplyPattern extends Pattern

  4. case class ApplySelectPattern(tree: Apply) extends Pattern with ApplyPattern with SelectPattern with Product with Serializable

  5. case class ConstructorPattern(tree: Apply) extends Pattern with ApplyPattern with NamePattern with Product with Serializable

  6. case class ExtractorPattern(tree: UnApply) extends Pattern with UnapplyPattern with Product with Serializable

  7. case class ListExtractorPattern(tree: UnApply, tpt: Tree, elems: List[Tree]) extends Pattern with UnapplyPattern with SequenceLikePattern with Product with Serializable

  8. case class LiteralPattern(tree: Literal) extends Pattern with Product with Serializable

  9. sealed trait NamePattern extends Pattern

  10. case class ObjectPattern(tree: Apply) extends Pattern with ApplyPattern with Product with Serializable

  11. sealed abstract class Pattern extends PatternBindingLogic

  12. type PatternMatch = PatternMatch

  13. sealed trait SelectPattern extends Pattern with NamePattern

    Some intermediate pattern classes with shared structure *

  14. trait SequenceLikePattern extends Pattern

  15. case class SequencePattern(tree: ArrayValue) extends Pattern with SequenceLikePattern with Product with Serializable

  16. case class SimpleIdPattern(tree: Ident) extends Pattern with NamePattern with Product with Serializable

  17. case class StableIdPattern(tree: Select) extends Pattern with SelectPattern with Product with Serializable

  18. case class StarPattern(tree: Star) extends Pattern with Product with Serializable

  19. case class ThisPattern(tree: This) extends Pattern with NamePattern with Product with Serializable

  20. case class TuplePattern(tree: Apply) extends Pattern with ApplyPattern with Product with Serializable

  21. case class TypedPattern(tree: Typed) extends Pattern with Product with Serializable

  22. sealed trait UnapplyPattern extends Pattern

  23. case class VariablePattern(tree: Ident) extends Pattern with NamePattern with Product with Serializable

  24. case class WildcardPattern() extends Pattern with Product with Serializable

Abstract Value Members

  1. abstract val global: Global

    Definition Classes
    TreeDSL

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object ApplyPattern extends AnyRef

  7. object CODE extends AnyRef

  8. def NilPattern: Pattern

  9. def NoPattern: WildcardPattern

  10. def NullPattern: LiteralPattern

  11. object Pattern extends AnyRef

  12. object UnapplyParamType extends AnyRef

    * Extractors **

  13. object UnapplyPattern extends AnyRef

  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. def emptyPatterns(i: Int): List[Pattern]

  17. def emptyTrees(i: Int): List[Tree]

  18. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  21. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  30. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  31. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from TreeDSL

Inherited from AnyRef

Inherited from Any