scala.tools.nsc.Global

explicitOuter

object explicitOuter extends ExplicitOuter

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

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

    Definition Classes
    ExplicitOuter
  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

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

    Definition Classes
    Patterns
  7. object CODE

    Definition Classes
    TreeDSL
  8. object Debug

    Definition Classes
    MatchSupport
  9. def NilPattern: Pattern

    Definition Classes
    Patterns
  10. val NoBinding: Bindings

    Definition Classes
    PatternBindings
  11. def NoPattern: WildcardPattern

    Definition Classes
    Patterns
  12. def NullPattern: LiteralPattern

    Definition Classes
    Patterns
  13. object Pattern

    Definition Classes
    Patterns
  14. object Types

    Definition Classes
    MatchSupport
  15. object UnapplyParamType

    * Extractors **

  16. object UnapplyPattern

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

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

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

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

    This class does not change linearization

    This class does not change linearization

    Definition Classes
    ExplicitOuterInfoTransform
  21. def clone(): AnyRef

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

    Definition Classes
    PatternBindings
  23. 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
  24. def emptyPatterns(i: Int): List[Pattern]

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

    Definition Classes
    Patterns
  26. final def eq(arg0: AnyRef): Boolean

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

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

    Definition Classes
    PatternBindings
  29. 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
  30. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  32. val global: Global.this.type

    The global environment; overridden by instantiation in Global.

    The global environment; overridden by instantiation in Global.

    Definition Classes
    explicitOuterTypingTransformersTreeDSLSubComponent
  33. 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
  34. def hasOuterField(clazz: Global.Symbol): Boolean

    Does given clazz define an outer field?

    Does given clazz define an outer field?

    Definition Classes
    ExplicitOuter
  35. 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
  36. def impossible: Nothing

    Definition Classes
    MatchSupport
  37. val internal: Boolean

    Internal flag to tell external from internal phases

    Internal flag to tell external from internal phases

    Definition Classes
    SubComponent
  38. 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.

    Definition Classes
    ExplicitOuter
  39. def isEquals(tpe: Global.Type): Boolean

    EqualsPattern *

    EqualsPattern *

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

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

    Definition Classes
    Any
  42. def keepsTypeParams: Boolean

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

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

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

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

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

    Definition Classes
    ExplicitOuter
  48. def newOuterField(clazz: Global.Symbol): Global.TermSymbol

    Definition Classes
    ExplicitOuter
  49. def newPhase(prev: nsc.Phase): StdPhase

    Create a new phase which applies transformer

    Create a new phase which applies transformer

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

    The transformer factory

    The transformer factory

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

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

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

    Definition Classes
    ExplicitOuter
  54. 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
  55. val phaseName: String

    the name of the phase:

    the name of the phase:

    Definition Classes
    ExplicitOuterSubComponent
  56. def phaseNewFlags: Long

    The following flags may be set by this phase:

    The following flags may be set by this phase:

    Definition Classes
    ExplicitOuterSubComponent
  57. 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
  58. val runsAfter: collection.immutable.List[String]

    List of phase names, this phase should run after

    List of phase names, this phase should run after

    Definition Classes
    explicitOuterSubComponent
  59. 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
  60. val runsRightAfter: None.type

    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
    explicitOuterSubComponent
  61. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Transition *

    Transition *

    Definition Classes
    ParallelMatching
  63. def toString(): String

    Definition Classes
    AnyRef → Any
  64. 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
  65. def treeCollect[T](tree: Global.Tree, pf: PartialFunction[Global.Tree, T]): List[T]

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ExplicitOuter

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

Ungrouped