dotty.tools.dotc.transform.PatternMatcher.Translator.TreeMakers

PreserveSubPatBinders

Related Doc: package TreeMakers

sealed trait PreserveSubPatBinders extends TreeMaker

Tree maker that captures sub pattern values during pattern match.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PreserveSubPatBinders
  2. TreeMaker
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def chainBefore(next: ast.tpd.Tree)(casegen: TreeMakers.Casegen): ast.tpd.Tree

    Definition Classes
    TreeMaker
  2. abstract def extraStoredBinders: Set[Symbol]

  3. abstract val ignoredSubPatBinders: Set[Symbol]

  4. abstract def pos: Position

    Definition Classes
    TreeMaker
  5. abstract val subPatBinders: List[Symbol]

  6. abstract val subPatRefs: List[ast.tpd.Tree]

Concrete Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def bindSubPats(in: ast.tpd.Tree): ast.tpd.Tree

  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def emitVars: Boolean

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  13. lazy val introducedRebindings: Rebindings

    Attributes
    protected
    Definition Classes
    PreserveSubPatBindersTreeMaker
  14. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  18. def rebindings: Rebindings

    captures the scope and the value of the bindings in patterns important *when* the substitution happens (can't accumulate and do at once after the full matcher has been constructed)

    captures the scope and the value of the bindings in patterns important *when* the substitution happens (can't accumulate and do at once after the full matcher has been constructed)

    Definition Classes
    TreeMaker
  19. def stored: Traversable[(Symbol, ast.tpd.Tree)]

  20. lazy val storedBinders: Set[Symbol]

  21. lazy val storedSubsted: (Traversable[(Symbol, ast.tpd.Tree)], Traversable[(Symbol, ast.tpd.Tree)])

  22. def subPatternsAsRebindings: Rebindings

    The substitution that specifies the trees that compute the values of the subpattern binders.

    The substitution that specifies the trees that compute the values of the subpattern binders.

    We pretend to replace the subpattern binders by subpattern refs (Even though we don't do so anymore -- see SI-5158, SI-5739 and SI-6070.)

    Definition Classes
    PreserveSubPatBindersTreeMaker
  23. def substed: Traversable[(Symbol, ast.tpd.Tree)]

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from TreeMaker

Inherited from AnyRef

Inherited from Any

Ungrouped