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. trait ApplyPattern extends Pattern

    Attributes
    sealed
  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. trait NamePattern extends Pattern

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

  11. class Pattern extends PatternBindingLogic

    Attributes
    sealed abstract
  12. type PatternMatch = PatternMatch

  13. 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. trait UnapplyPattern extends Pattern

    Attributes
    sealed
  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. val global : Global

    Attributes
    abstract
    Definition Classes
    TreeDSL

Concrete Value Members

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

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

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

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

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

    Attributes
    final
    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. def asInstanceOf [T0] : T0

    Attributes
    final
    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. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    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. def getClass (): java.lang.Class[_]

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

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

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

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  28. def toString (): String

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from TreeDSL

Inherited from AnyRef

Inherited from Any