scala.tools.nsc.Global

explicitOuter

object explicitOuter extends ExplicitOuter

Source
Global.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  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
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 Binding(pvar: Symbol, tvar: Symbol) extends Product with Serializable

  6. class Bindings extends AnyRef

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

  8. class ExplicitOuterTransformer extends OuterPathTransformer

    The phase performs the following transformations on terms:

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

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

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

  12. abstract class MatchMatrix extends MatchMatrixOptimizer with MatrixExhaustiveness

    The umbrella matrix class.

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

  14. sealed trait NamePattern extends Pattern

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

  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 PatternBindingLogic

  18. trait PatternBindingLogic extends AnyRef

  19. type PatternMatch = PatternMatch

    Definition Classes
    Patterns
  20. class Phase extends Phase

    The phase defined by this transform

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

  22. class RemoveBindingsTransformer extends Transformer

  23. sealed trait SelectPattern extends Pattern with NamePattern

    Some intermediate pattern classes with shared structure *

  24. trait SequenceLikePattern extends Pattern

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

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

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

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

  29. abstract class StdPhase extends GlobalPhase

    A standard phase template

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

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

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

  33. abstract class TypingTransformer extends Transformer

  34. sealed trait UnapplyPattern extends Pattern

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

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

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. object Debug extends AnyRef

  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 extends AnyRef

  14. object Types extends AnyRef

  15. object UnapplyParamType extends AnyRef

    * Extractors **

  16. object UnapplyPattern extends AnyRef

  17. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  18. def changesBaseClasses: Boolean

    This class does not change linearization

    This class does not change linearization

    Definition Classes
    ExplicitOuterInfoTransform
  19. def clone(): AnyRef

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

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

    Drops the 'i'th element of a list.

    Drops the 'i'th element of a list.

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

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

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

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

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

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

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

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

    The global environment; overridden by instantiation in Global.

    The global environment; overridden by instantiation in Global.

    Definition Classes
    explicitOuterTypingTransformersTreeDSLSubComponent
  31. def handlePattern(selector: Tree, cases: List[CaseDef], isChecked: Boolean, context: MatrixContext): Tree

    Handles all translation of pattern matching.

    Handles all translation of pattern matching.

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

    Does given clazz define an outer field?

    Does given clazz define an outer field?

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

    Definition Classes
    MatchSupport
  35. val internal: Boolean

    Internal flag to tell external from internal phases

    Internal flag to tell external from internal phases

    Definition Classes
    SubComponent
  36. def isArraySeqTest(lhs: Type, rhs: 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
  37. def isEquals(tpe: Type): Boolean

    EqualsPattern *

    EqualsPattern *

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

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

    Definition Classes
    Any
  40. def keepsTypeParams: Boolean

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

    Definition Classes
    PatternBindings
  42. def mkEqualsRef(tpe: Type): Type

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

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

    Definition Classes
    AnyRef
  45. def newPhase(prev: Phase): StdPhase

    Create a new phase which applies transformer

    Create a new phase which applies transformer

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

    The transformer factory

    The transformer factory

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

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

    Definition Classes
    AnyRef
  49. def outerAccessor(clazz: Symbol): Symbol

    Definition Classes
    ExplicitOuter
  50. def ownPhase: 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
  51. val phaseName: String

    the name of the phase:

    the name of the phase:

    Definition Classes
    ExplicitOuterSubComponent
  52. def phaseNewFlags: Long

    The following flags may be set by this phase:

    The following flags may be set by this phase:

    Definition Classes
    ExplicitOuterSubComponent
  53. 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
  54. val runsAfter: List[String]

    List of phase names, this phase should run after

    List of phase names, this phase should run after

    Definition Classes
    explicitOuterSubComponent
  55. 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
  56. 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
  57. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Transition *

    Transition *

    Definition Classes
    ParallelMatching
  59. def toString(): String

    Definition Classes
    AnyRef → Any
  60. def transformInfo(sym: Symbol, tp: Type): 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.

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  64. 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