dotty.tools.dotc.transform.CapturedVars

Transform

Related Doc: package CapturedVars

class Transform extends TreeTransform

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Transform
  2. TreeTransform
  3. DotClass
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Transform(captured: Set[Symbol])

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 atGroupEnd[T](action: (Context) ⇒ T)(implicit ctx: Context, info: TransformerInfo): T

    Definition Classes
    TreeTransform
  6. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  16. def phase: CapturedVars

    Definition Classes
    TransformTreeTransform
  17. def prepareForAlternative(tree: ast.tpd.Alternative)(implicit ctx: Context): TreeTransform

    Definition Classes
    TreeTransform
  18. def prepareForApply(tree: ast.tpd.Apply)(implicit ctx: Context): TreeTransform

    Definition Classes
    TreeTransform
  19. def prepareForAssign(tree: ast.tpd.Assign)(implicit ctx: Context): TreeTransform

    Definition Classes
    TreeTransform
  20. def prepareForBind(tree: ast.tpd.Bind)(implicit ctx: Context): TreeTransform

    Definition Classes
    TreeTransform
  21. def prepareForBlock(tree: ast.tpd.Block)(implicit ctx: Context): TreeTransform

    Definition Classes
    TreeTransform
  22. def prepareForCaseDef(tree: ast.tpd.CaseDef)(implicit ctx: Context): TreeTransform

    Definition Classes
    TreeTransform
  23. def prepareForClosure(tree: ast.tpd.Closure)(implicit ctx: Context): TreeTransform

    Definition Classes
    TreeTransform
  24. def prepareForDefDef(tree: ast.tpd.DefDef)(implicit ctx: Context): TreeTransform

    Definition Classes
    TreeTransform
  25. def prepareForIdent(tree: ast.tpd.Ident)(implicit ctx: Context): TreeTransform

    Definition Classes
    TreeTransform
  26. def prepareForIf(tree: ast.tpd.If)(implicit ctx: Context): TreeTransform

    Definition Classes
    TreeTransform
  27. def prepareForInlined(tree: ast.tpd.Inlined)(implicit ctx: Context): TreeTransform

    Definition Classes
    TreeTransform
  28. def prepareForLiteral(tree: ast.tpd.Literal)(implicit ctx: Context): TreeTransform

    Definition Classes
    TreeTransform
  29. def prepareForMatch(tree: ast.tpd.Match)(implicit ctx: Context): TreeTransform

    Definition Classes
    TreeTransform
  30. def prepareForNew(tree: ast.tpd.New)(implicit ctx: Context): TreeTransform

    Definition Classes
    TreeTransform
  31. def prepareForPackageDef(tree: ast.tpd.PackageDef)(implicit ctx: Context): TreeTransform

    Definition Classes
    TreeTransform
  32. def prepareForReturn(tree: ast.tpd.Return)(implicit ctx: Context): TreeTransform

    Definition Classes
    TreeTransform
  33. def prepareForSelect(tree: ast.tpd.Select)(implicit ctx: Context): TreeTransform

    Definition Classes
    TreeTransform
  34. def prepareForSeqLiteral(tree: ast.tpd.SeqLiteral)(implicit ctx: Context): TreeTransform

    Definition Classes
    TreeTransform
  35. def prepareForStats(trees: List[ast.tpd.Tree])(implicit ctx: Context): TreeTransform

    Definition Classes
    TreeTransform
  36. def prepareForSuper(tree: ast.tpd.Super)(implicit ctx: Context): TreeTransform

    Definition Classes
    TreeTransform
  37. def prepareForTemplate(tree: ast.tpd.Template)(implicit ctx: Context): TreeTransform

    Definition Classes
    TreeTransform
  38. def prepareForThis(tree: ast.tpd.This)(implicit ctx: Context): TreeTransform

    Definition Classes
    TreeTransform
  39. def prepareForTry(tree: ast.tpd.Try)(implicit ctx: Context): TreeTransform

    Definition Classes
    TreeTransform
  40. def prepareForTypeApply(tree: ast.tpd.TypeApply)(implicit ctx: Context): TreeTransform

    Definition Classes
    TreeTransform
  41. def prepareForTypeDef(tree: ast.tpd.TypeDef)(implicit ctx: Context): TreeTransform

    Definition Classes
    TreeTransform
  42. def prepareForTypeTree(tree: ast.tpd.TypeTree)(implicit ctx: Context): TreeTransform

    Definition Classes
    TreeTransform
  43. def prepareForTyped(tree: ast.tpd.Typed)(implicit ctx: Context): TreeTransform

    Definition Classes
    TreeTransform
  44. def prepareForUnApply(tree: ast.tpd.UnApply)(implicit ctx: Context): TreeTransform

    Definition Classes
    TreeTransform
  45. def prepareForUnit(tree: ast.tpd.Tree)(implicit ctx: Context): Transform

    Definition Classes
    TransformTreeTransform
  46. def prepareForValDef(vdef: ast.tpd.ValDef)(implicit ctx: Context): Transform

    Definition Classes
    TransformTreeTransform
  47. def refClass(cls: Symbol, isVolatile: Boolean)(implicit ctx: Context): Symbol

    The {Volatile|}{Int|Double|...|Object}Ref class corresponding to the class cls, depending on whether the reference should be @volatile

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

    Definition Classes
    AnyRef
  49. def toString(): String

    Definition Classes
    AnyRef → Any
  50. def transform(tree: ast.tpd.Tree)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Transform tree using all transforms of current group (including this one)

    Transform tree using all transforms of current group (including this one)

    Definition Classes
    TreeTransform
  51. def transformAlternative(tree: ast.tpd.Alternative)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Definition Classes
    TreeTransform
  52. def transformApply(tree: ast.tpd.Apply)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Definition Classes
    TreeTransform
  53. def transformAssign(tree: ast.tpd.Assign)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    If assignment is to a boxed ref type, e.g.

    If assignment is to a boxed ref type, e.g.

    intRef.elem = expr

    rewrite using a temporary var to

    val ev$n = expr intRef.elem = ev$n

    That way, we avoid the problem that expr might contain a try that would run on a non-empty stack (which is illegal under JVM rules). Note that LiftTry has already run before, so such trys would not be eliminated.

    Also: If the ref type lhs is followed by a cast (can be an artifact of nested translation), drop the cast.

    Definition Classes
    TransformTreeTransform
  54. def transformBind(tree: ast.tpd.Bind)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Definition Classes
    TreeTransform
  55. def transformBlock(tree: ast.tpd.Block)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Definition Classes
    TreeTransform
  56. def transformCaseDef(tree: ast.tpd.CaseDef)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Definition Classes
    TreeTransform
  57. def transformClosure(tree: ast.tpd.Closure)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Definition Classes
    TreeTransform
  58. def transformDefDef(tree: ast.tpd.DefDef)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Definition Classes
    TreeTransform
  59. def transformFollowing(tree: ast.tpd.Tree)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Transform single node using all transforms following the current one in this group

    Transform single node using all transforms following the current one in this group

    Definition Classes
    TreeTransform
  60. def transformFollowingDeep(tree: ast.tpd.Tree)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Transform subtree using all transforms following the current one in this group

    Transform subtree using all transforms following the current one in this group

    Definition Classes
    TreeTransform
  61. def transformIdent(id: ast.tpd.Ident)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Definition Classes
    TransformTreeTransform
  62. def transformIf(tree: ast.tpd.If)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Definition Classes
    TreeTransform
  63. def transformInlined(tree: ast.tpd.Inlined)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Definition Classes
    TreeTransform
  64. def transformLiteral(tree: ast.tpd.Literal)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Definition Classes
    TreeTransform
  65. def transformMatch(tree: ast.tpd.Match)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Definition Classes
    TreeTransform
  66. def transformNew(tree: ast.tpd.New)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Definition Classes
    TreeTransform
  67. def transformOther(tree: ast.tpd.Tree)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Definition Classes
    TreeTransform
  68. def transformPackageDef(tree: ast.tpd.PackageDef)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Definition Classes
    TreeTransform
  69. def transformReturn(tree: ast.tpd.Return)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Definition Classes
    TreeTransform
  70. def transformSelect(tree: ast.tpd.Select)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Definition Classes
    TreeTransform
  71. def transformSeqLiteral(tree: ast.tpd.SeqLiteral)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Definition Classes
    TreeTransform
  72. def transformStats(trees: List[ast.tpd.Tree])(implicit ctx: Context, info: TransformerInfo): List[ast.tpd.Tree]

    Definition Classes
    TreeTransform
  73. def transformSuper(tree: ast.tpd.Super)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Definition Classes
    TreeTransform
  74. def transformTemplate(tree: ast.tpd.Template)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Definition Classes
    TreeTransform
  75. def transformThis(tree: ast.tpd.This)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Definition Classes
    TreeTransform
  76. def transformTry(tree: ast.tpd.Try)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Definition Classes
    TreeTransform
  77. def transformTypeApply(tree: ast.tpd.TypeApply)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Definition Classes
    TreeTransform
  78. def transformTypeDef(tree: ast.tpd.TypeDef)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Definition Classes
    TreeTransform
  79. def transformTypeTree(tree: ast.tpd.TypeTree)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Definition Classes
    TreeTransform
  80. def transformTyped(tree: ast.tpd.Typed)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Definition Classes
    TreeTransform
  81. def transformUnApply(tree: ast.tpd.UnApply)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Definition Classes
    TreeTransform
  82. def transformUnit(tree: ast.tpd.Tree)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Definition Classes
    TreeTransform
  83. def transformValDef(vdef: ast.tpd.ValDef)(implicit ctx: Context, info: TransformerInfo): ast.tpd.Tree

    Definition Classes
    TransformTreeTransform
  84. def treeTransformPhase: Phase

    Definition Classes
    TreeTransform
  85. def unsupported(methodName: String): Nothing

    Throws an UnsupportedOperationException with the given method name.

    Throws an UnsupportedOperationException with the given method name.

    Definition Classes
    DotClass
  86. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from TreeTransform

Inherited from DotClass

Inherited from AnyRef

Inherited from Any

Ungrouped