scala.tools.nsc.transform

ExplicitOuter

abstract class ExplicitOuter extends SubComponent with InfoTransform with Patterns with ParallelMatching with TypingTransformers with TreeDSL

This class ...

Version

1.0

Linear Supertypes
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ExplicitOuter
  2. TypingTransformers
  3. ParallelMatching
  4. PatternBindings
  5. Matrix
  6. MatrixAdditions
  7. MatchSupport
  8. Patterns
  9. TreeDSL
  10. InfoTransform
  11. Transform
  12. SubComponent
  13. AnyRef
  14. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ExplicitOuter()

Type Members

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

    Definition Classes
    Patterns
  2. case class ApplyIdentPattern(tree: Global.Apply) extends transform.ExplicitOuter.Pattern with transform.ExplicitOuter.ApplyPattern with transform.ExplicitOuter.NamePattern with Product with Serializable

    Definition Classes
    Patterns
  3. sealed trait ApplyPattern extends transform.ExplicitOuter.Pattern

    Definition Classes
    Patterns
  4. case class ApplySelectPattern(tree: Global.Apply) extends transform.ExplicitOuter.Pattern with transform.ExplicitOuter.ApplyPattern with transform.ExplicitOuter.SelectPattern with Product with Serializable

    Definition Classes
    Patterns
  5. case class Binding(pvar: Global.Symbol, tvar: Global.Symbol) extends Product with Serializable

    Definition Classes
    PatternBindings
  6. class Bindings extends AnyRef

    Definition Classes
    PatternBindings
  7. case class ConstructorPattern(tree: Global.Apply) extends transform.ExplicitOuter.Pattern with transform.ExplicitOuter.ApplyPattern with transform.ExplicitOuter.NamePattern with Product with Serializable

    Definition Classes
    Patterns
  8. class ExplicitOuterTransformer extends OuterPathTransformer

    The phase performs the following transformations on terms:

  9. case class ExtractorPattern(tree: Global.UnApply) extends transform.ExplicitOuter.Pattern with transform.ExplicitOuter.UnapplyPattern with Product with Serializable

    Definition Classes
    Patterns
  10. case class ListExtractorPattern(tree: Global.UnApply, tpt: Global.Tree, elems: List[Global.Tree]) extends transform.ExplicitOuter.Pattern with transform.ExplicitOuter.UnapplyPattern with transform.ExplicitOuter.SequenceLikePattern with Product with Serializable

    Definition Classes
    Patterns
  11. case class LiteralPattern(tree: Global.Literal) extends transform.ExplicitOuter.Pattern with Product with Serializable

    Definition Classes
    Patterns
  12. abstract class MatchMatrix extends transform.ExplicitOuter.MatchMatrixOptimizer with transform.ExplicitOuter.MatrixExhaustiveness

    The umbrella matrix class.

  13. case class MatrixContext(cunit: Global.CompilationUnit, handleOuter: (Global.Tree) ⇒ Global.Tree, typer: (analyzer)#Typer, owner: Global.Symbol, matchResultType: Global.Type) extends (Matrix.this)#Squeezer with Product with Serializable

    Definition Classes
    Matrix
  14. sealed trait NamePattern extends transform.ExplicitOuter.Pattern

    Definition Classes
    Patterns
  15. case class ObjectPattern(tree: Global.Apply) extends transform.ExplicitOuter.Pattern with transform.ExplicitOuter.ApplyPattern with Product with Serializable

    Definition Classes
    Patterns
  16. abstract class OuterPathTransformer extends TypingTransformer

    A base class for transformers that maintain outerParam values for outer parameters of constructors.

  17. sealed abstract class Pattern extends transform.ExplicitOuter.PatternBindingLogic

    Definition Classes
    Patterns
  18. trait PatternBindingLogic extends AnyRef

    Definition Classes
    PatternBindings
  19. type PatternMatch = matching.ParallelMatching.MatchMatrix.PatternMatch

    Definition Classes
    Patterns
  20. class Phase extends ExplicitOuter.Phase

    The phase defined by this transform

  21. case class PseudoType(o: Global.Tree) extends Global.Type with Global.SimpleTypeProxy with Product with Serializable

    Definition Classes
    PatternBindings
  22. class RemoveBindingsTransformer extends Global.Transformer

  23. sealed trait SelectPattern extends transform.ExplicitOuter.Pattern with transform.ExplicitOuter.NamePattern

    Some intermediate pattern classes with shared structure *

  24. trait SequenceLikePattern extends transform.ExplicitOuter.Pattern

    Definition Classes
    Patterns
  25. case class SequencePattern(tree: Global.ArrayValue) extends transform.ExplicitOuter.Pattern with transform.ExplicitOuter.SequenceLikePattern with Product with Serializable

    Definition Classes
    Patterns
  26. case class SimpleIdPattern(tree: Global.Ident) extends transform.ExplicitOuter.Pattern with transform.ExplicitOuter.NamePattern with Product with Serializable

    Definition Classes
    Patterns
  27. case class StableIdPattern(tree: Global.Select) extends transform.ExplicitOuter.Pattern with transform.ExplicitOuter.SelectPattern with Product with Serializable

    Definition Classes
    Patterns
  28. case class StarPattern(tree: Global.Star) extends transform.ExplicitOuter.Pattern with Product with Serializable

    Definition Classes
    Patterns
  29. abstract class StdPhase extends GlobalPhase

    A standard phase template

  30. case class ThisPattern(tree: Global.This) extends transform.ExplicitOuter.Pattern with transform.ExplicitOuter.NamePattern with Product with Serializable

    Definition Classes
    Patterns
  31. case class TuplePattern(tree: Global.Apply) extends transform.ExplicitOuter.Pattern with transform.ExplicitOuter.ApplyPattern with Product with Serializable

    Definition Classes
    Patterns
  32. case class TypedPattern(tree: Global.Typed) extends transform.ExplicitOuter.Pattern with Product with Serializable

    Definition Classes
    Patterns
  33. abstract class TypingTransformer extends Global.Transformer

    Definition Classes
    TypingTransformers
  34. sealed trait UnapplyPattern extends transform.ExplicitOuter.Pattern

    Definition Classes
    Patterns
  35. case class VariablePattern(tree: Global.Ident) extends transform.ExplicitOuter.Pattern with transform.ExplicitOuter.NamePattern with Product with Serializable

    Definition Classes
    Patterns
  36. case class WildcardPattern() extends transform.ExplicitOuter.Pattern with Product with Serializable

    Definition Classes
    Patterns

Abstract Value Members

  1. abstract val global: Global

    Definition Classes
    TypingTransformers
  2. abstract val runsAfter: List[String]

    List of phase names, this phase should run after

    List of phase names, this phase should run after

    Definition Classes
    SubComponent
  3. abstract val runsRightAfter: Option[String]

    Phase name this phase will attach itself to, not allowing any phase to come between it and the phase name declared

    Phase name this phase will attach itself to, not allowing any phase to come between it and the phase name declared

    Definition Classes
    SubComponent

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. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from ExplicitOuter to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (ExplicitOuter, B)

    Implicit information
    This member is added by an implicit conversion from ExplicitOuter to ArrowAssoc[ExplicitOuter] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  8. object ApplyPattern

    Definition Classes
    Patterns
  9. object CODE

    Definition Classes
    TreeDSL
  10. object Debug

    Definition Classes
    MatchSupport
  11. def NilPattern: Pattern

    Definition Classes
    Patterns
  12. val NoBinding: Bindings

    Definition Classes
    PatternBindings
  13. def NoPattern: WildcardPattern

    Definition Classes
    Patterns
  14. def NullPattern: LiteralPattern

    Definition Classes
    Patterns
  15. object Pattern

    Definition Classes
    Patterns
  16. object Types

    Definition Classes
    MatchSupport
  17. object UnapplyParamType

    * Extractors **

  18. object UnapplyPattern

    Definition Classes
    Patterns
  19. final def afterOwnPhase[T](op: ⇒ T): T

    Definition Classes
    SubComponent
    Annotations
    @inline()
  20. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  21. final def beforeOwnPhase[T](op: ⇒ T): T

    Definition Classes
    SubComponent
    Annotations
    @inline()
  22. def changesBaseClasses: Boolean

    This class does not change linearization

    This class does not change linearization

    Definition Classes
    ExplicitOuterInfoTransform
  23. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def decodedEqualsType(tpe: Global.Type): Global.Type

    Definition Classes
    PatternBindings
  25. def dropIndex[T](xs: List[T], n: Int): collection.immutable.List[T]

    Drops the 'i'th element of a list.

    Drops the 'i'th element of a list.

    Definition Classes
    MatchSupport
  26. def emptyPatterns(i: Int): List[Pattern]

    Definition Classes
    Patterns
  27. def emptyTrees(i: Int): List[Global.Tree]

    Definition Classes
    Patterns
  28. def ensuring(cond: (ExplicitOuter) ⇒ Boolean, msg: ⇒ Any): ExplicitOuter

    Implicit information
    This member is added by an implicit conversion from ExplicitOuter to Ensuring[ExplicitOuter] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  29. def ensuring(cond: (ExplicitOuter) ⇒ Boolean): ExplicitOuter

    Implicit information
    This member is added by an implicit conversion from ExplicitOuter to Ensuring[ExplicitOuter] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  30. def ensuring(cond: Boolean, msg: ⇒ Any): ExplicitOuter

    Implicit information
    This member is added by an implicit conversion from ExplicitOuter to Ensuring[ExplicitOuter] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  31. def ensuring(cond: Boolean): ExplicitOuter

    Implicit information
    This member is added by an implicit conversion from ExplicitOuter to Ensuring[ExplicitOuter] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  32. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  34. def extractBindings(p: Pattern): List[Pattern]

    Definition Classes
    PatternBindings
  35. def extractIndex[T](xs: List[T], n: Int): (T, List[T])

    Extract the nth element of a list and return it and the remainder.

    Extract the nth element of a list and return it and the remainder.

    Definition Classes
    MatchSupport
  36. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  37. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from ExplicitOuter to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  38. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  39. def handlePattern(selector: Global.Tree, cases: List[Global.CaseDef], isChecked: Boolean, context: MatrixContext): Global.Tree

    Handles all translation of pattern matching.

    Handles all translation of pattern matching.

    Definition Classes
    Matrix
  40. def hasOuterField(clazz: Global.Symbol): Boolean

    Does given clazz define an outer field?

  41. def hashCode(): Int

    SubComponent are added to a HashSet and two phases are the same if they have the same name

    SubComponent are added to a HashSet and two phases are the same if they have the same name

    Definition Classes
    SubComponent → AnyRef → Any
  42. def impossible: Nothing

    Definition Classes
    MatchSupport
  43. val internal: Boolean

    Internal flag to tell external from internal phases

    Internal flag to tell external from internal phases

    Definition Classes
    SubComponent
  44. def isArraySeqTest(lhs: Global.Type, rhs: Global.Type): Boolean

    Issue a migration warning for instance checks which might be on an Array and for which the type parameter conforms to Seq, because these answers changed in 2.

    Issue a migration warning for instance checks which might be on an Array and for which the type parameter conforms to Seq, because these answers changed in 2.8.

  45. def isEquals(tpe: Global.Type): Boolean

    EqualsPattern *

    EqualsPattern *

    Definition Classes
    PatternBindings
  46. def isEquivalentTree(t1: Global.Tree, t2: Global.Tree): Boolean

    Definition Classes
    PatternBindings
  47. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  48. def keepsTypeParams: Boolean

    Attributes
    protected
    Definition Classes
    InfoTransform
  49. def matches(arg1: Global.Type, arg2: Global.Type): Boolean

    Definition Classes
    PatternBindings
  50. def mkEqualsRef(tpe: Global.Type): Global.Type

    Definition Classes
    PatternBindings
  51. def moveBindings(oldTree: Global.Tree, newTree: Global.Tree): Global.Tree

    Definition Classes
    PatternBindings
  52. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  53. def newOuterAccessor(clazz: Global.Symbol): Global.MethodSymbol

  54. def newOuterField(clazz: Global.Symbol): Global.TermSymbol

  55. def newPhase(prev: nsc.Phase): StdPhase

    Create a new phase which applies transformer

    Create a new phase which applies transformer

    Definition Classes
    ExplicitOuterInfoTransformTransformSubComponent
  56. def newTransformer(unit: Global.CompilationUnit): Global.Transformer

    The transformer factory

    The transformer factory

    Attributes
    protected
    Definition Classes
    ExplicitOuterTransform
  57. final def notify(): Unit

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

    Definition Classes
    AnyRef
  59. def outerAccessor(clazz: Global.Symbol): Global.Symbol

  60. def ownPhase: nsc.Phase

    The phase corresponding to this subcomponent in the current compiler run

    The phase corresponding to this subcomponent in the current compiler run

    Definition Classes
    SubComponent
  61. val phaseName: String

    the name of the phase:

    the name of the phase:

    Definition Classes
    ExplicitOuterSubComponent
  62. def phaseNewFlags: Long

    The following flags may be set by this phase:

    The following flags may be set by this phase:

    Definition Classes
    ExplicitOuterSubComponent
  63. def phaseNextFlags: Long

    New flags defined by the phase which are not valid until immediately after it

    New flags defined by the phase which are not valid until immediately after it

    Definition Classes
    SubComponent
  64. val runsBefore: List[String]

    List of phase names, this phase should run before

    List of phase names, this phase should run before

    Definition Classes
    SubComponent
  65. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  66. def toPats(xs: List[Global.Tree]): List[Pattern]

    Transition *

    Transition *

    Definition Classes
    ParallelMatching
  67. def toString(): String

    Definition Classes
    AnyRef → Any
  68. def transformInfo(sym: Global.Symbol, tp: Global.Type): Global.Type

    The type transformation method:

    The type transformation method:

    - Add an outer parameter to the formal parameters of a constructor in a inner non-trait class;

    - Add a protected $outer field to an inner class which is not a trait.

    -

    Add an outer accessor $outer$$C to every inner class with fully qualified name C that is not an interface. The outer accessor is abstract for traits, concrete for other classes.

    3a. Also add overriding accessor defs to every class that inherits mixin classes with outer accessor defs (unless the superclass already inherits the same mixin).

    - Make all super accessors and modules in traits non-private, mangling their names.

    - Remove protected flag from all members of traits.

    Note: this transformInfo need not be reflected as the JVM reflection already elides outer pointers.

    Definition Classes
    ExplicitOuterInfoTransform
  69. def treeCollect[T](tree: Global.Tree, pf: PartialFunction[Global.Tree, T]): List[T]

    Definition Classes
    MatchSupport
  70. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  73. def [B](y: B): (ExplicitOuter, B)

    Implicit information
    This member is added by an implicit conversion from ExplicitOuter to ArrowAssoc[ExplicitOuter] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from ExplicitOuter to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (explicitOuter: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from ExplicitOuter to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (explicitOuter: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: ExplicitOuter

    Implicit information
    This member is added by an implicit conversion from ExplicitOuter to ArrowAssoc[ExplicitOuter] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (explicitOuter: ArrowAssoc[ExplicitOuter]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: ExplicitOuter

    Implicit information
    This member is added by an implicit conversion from ExplicitOuter to Ensuring[ExplicitOuter] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (explicitOuter: Ensuring[ExplicitOuter]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from TypingTransformers

Inherited from ParallelMatching

Inherited from PatternBindings

Inherited from Matrix

Inherited from MatrixAdditions

Inherited from MatchSupport

Inherited from Patterns

Inherited from TreeDSL

Inherited from InfoTransform

Inherited from Transform

Inherited from SubComponent

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ExplicitOuter to StringAdd

Inherited by implicit conversion any2stringfmt from ExplicitOuter to StringFormat

Inherited by implicit conversion any2ArrowAssoc from ExplicitOuter to ArrowAssoc[ExplicitOuter]

Inherited by implicit conversion any2Ensuring from ExplicitOuter to Ensuring[ExplicitOuter]

Ungrouped