Class

org.emmalanguage.ast.Transversers

Transform

Related Doc: package Transversers

Permalink

abstract class Transform[A <: HList, I <: HList, S <: HList] extends scala.reflect.api.Universe.Transformer with AST.ManagedAttr[A, I, S]

An abstract transformation (default is top-down break).

Linear Supertypes
AST.ManagedAttr[A, I, S], (scala.reflect.api.Universe.Tree) ⇒ AST.Attr[A, I, S], scala.reflect.api.Universe.Transformer, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Transform
  2. ManagedAttr
  3. Function1
  4. Transformer
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Transform(grammar: AST.AttrGrammar[A, I, S], template: AST.=?>[AST.Attr[A, I, S], scala.reflect.api.Universe.Tree])

    Permalink

Type Members

  1. type Acc = A

    Permalink
    Definition Classes
    ManagedAttr
  2. type Inh = I

    Permalink
    Definition Classes
    ManagedAttr
  3. type Syn = S

    Permalink
    Definition Classes
    ManagedAttr

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. implicit def MAcc: Monoid[A]

    Permalink
    Definition Classes
    ManagedAttr
  5. implicit def MInh: Monoid[I]

    Permalink
    Definition Classes
    ManagedAttr
  6. implicit def MSyn: Monoid[S]

    Permalink
    Definition Classes
    ManagedAttr
  7. final def _acc: (scala.reflect.api.Universe.Tree) ⇒ A

    Permalink
    Definition Classes
    ManagedAttr
  8. final def _inh: (scala.reflect.api.Universe.Tree) ⇒ I

    Permalink
    Definition Classes
    ManagedAttr
  9. final def _syn: (scala.reflect.api.Universe.Tree) ⇒ S

    Permalink
    Definition Classes
    ManagedAttr
  10. final def _tree: (scala.reflect.api.Universe.Tree) ⇒ scala.reflect.api.Universe.Tree

    Permalink
    Definition Classes
    ManagedAttr
  11. final def accTransform(tree: scala.reflect.api.Universe.Tree): scala.reflect.api.Universe.Tree

    Permalink
    Attributes
    protected
  12. final def accumulate(tree: scala.reflect.api.Universe.Tree): Unit

    Permalink

    Accumulate attributes for tree.

    Accumulate attributes for tree.

    Attributes
    protected
    Definition Classes
    ManagedAttr
  13. final lazy val accumulation: (scala.reflect.api.Universe.Tree) ⇒ A

    Permalink
    Attributes
    protected
    Definition Classes
    ManagedAttr
  14. def andThen[A](g: (AST.Attr[A, I, S]) ⇒ A): (scala.reflect.api.Universe.Tree) ⇒ A

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  15. final def ann(tree: scala.reflect.api.Universe.Tree): AST.Attr[A, I, S]

    Permalink

    Annotates tree with all attributes.

    Annotates tree with all attributes.

    Attributes
    protected
    Definition Classes
    ManagedAttr
  16. def apply(tree: scala.reflect.api.Universe.Tree): AST.Attr[A, I, S]

    Permalink
    Definition Classes
    Transform → Function1
  17. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  18. final def at[X](tree: scala.reflect.api.Universe.Tree)(f: ⇒ X): X

    Permalink

    Inherit attributes for tree.

    Inherit attributes for tree.

    Attributes
    protected
    Definition Classes
    ManagedAttr
  19. def atOwner[A](owner: scala.reflect.api.Universe.Symbol)(trans: ⇒ A): A

    Permalink
    Definition Classes
    Transformer
  20. val callback: AST.=?>[AST.Attr[A, I, S], Unit]

    Permalink
    Definition Classes
    ManagedAttr
  21. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. def compose[A](g: (A) ⇒ scala.reflect.api.Universe.Tree): (A) ⇒ AST.Attr[A, I, S]

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  23. def currentClass: scala.reflect.api.Universe.Symbol

    Permalink
    Attributes
    protected
    Definition Classes
    Transformer
  24. def currentMethod: scala.reflect.api.Universe.Symbol

    Permalink
    Attributes
    protected
    Definition Classes
    Transformer
  25. var currentOwner: scala.reflect.api.Universe.Symbol

    Permalink
    Attributes
    protected[scala]
    Definition Classes
    Transformer
  26. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  29. final def fixTransform(tree: scala.reflect.api.Universe.Tree): scala.reflect.api.Universe.Tree

    Permalink
    Attributes
    protected
    Annotations
    @tailrec()
  30. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  31. val grammar: AST.AttrGrammar[A, I, S]

    Permalink
    Attributes
    protected
    Definition Classes
    TransformManagedAttr
  32. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  33. final lazy val inheritance: (scala.reflect.api.Universe.Tree) ⇒ I

    Permalink
    Attributes
    protected
    Definition Classes
    ManagedAttr
  34. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  36. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  37. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  38. def prepend[L <: HList]: Prepend[::[Int, HNil], L] { type Out = shapeless.::[Int,L] }

    Permalink
    Definition Classes
    ManagedAttr
  39. def reset(): Unit

    Permalink

    Resets the state so that another tree can be traversed.

    Resets the state so that another tree can be traversed.

    Attributes
    protected
    Definition Classes
    ManagedAttr
  40. final lazy val syn: (scala.reflect.api.Universe.Tree) ⇒ S

    Permalink

    A function from tree to synthesized attributes.

    A function from tree to synthesized attributes.

    Definition Classes
    ManagedAttr
  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  42. val template: AST.=?>[AST.Attr[A, I, S], scala.reflect.api.Universe.Tree]

    Permalink
    Definition Classes
    TransformManagedAttr
  43. def toString(): String

    Permalink
    Definition Classes
    Function1 → AnyRef → Any
  44. def transform(tree: scala.reflect.api.Universe.Tree): scala.reflect.api.Universe.Tree

    Permalink
    Definition Classes
    Transform → Transformer
  45. def transformCaseDefs(trees: List[scala.reflect.api.Universe.CaseDef]): List[scala.reflect.api.Universe.CaseDef]

    Permalink
    Definition Classes
    Transformer
  46. def transformIdents(trees: List[scala.reflect.api.Universe.Ident]): List[scala.reflect.api.Universe.Ident]

    Permalink
    Definition Classes
    Transformer
  47. def transformMemberDefs(trees: List[scala.reflect.api.Universe.MemberDef]): List[scala.reflect.api.Universe.MemberDef]

    Permalink
    Definition Classes
    Transformer
  48. def transformModifiers(mods: scala.reflect.api.Universe.Modifiers): scala.reflect.api.Universe.Modifiers

    Permalink
    Definition Classes
    Transformer
  49. def transformStats(stats: List[scala.reflect.api.Universe.Tree], owner: scala.reflect.api.Universe.Symbol): List[scala.reflect.api.Universe.Tree]

    Permalink
    Definition Classes
    Transform → Transformer
  50. def transformTemplate(tree: scala.reflect.api.Universe.Template): scala.reflect.api.Universe.Template

    Permalink
    Definition Classes
    Transformer
  51. def transformTrees(trees: List[scala.reflect.api.Universe.Tree]): List[scala.reflect.api.Universe.Tree]

    Permalink
    Definition Classes
    Transformer
  52. def transformTypeDefs(trees: List[scala.reflect.api.Universe.TypeDef]): List[scala.reflect.api.Universe.TypeDef]

    Permalink
    Definition Classes
    Transformer
  53. def transformValDef(tree: scala.reflect.api.Universe.ValDef): scala.reflect.api.Universe.ValDef

    Permalink
    Definition Classes
    Transformer
  54. def transformValDefs(trees: List[scala.reflect.api.Universe.ValDef]): List[scala.reflect.api.Universe.ValDef]

    Permalink
    Definition Classes
    Transformer
  55. def transformValDefss(treess: List[List[scala.reflect.api.Universe.ValDef]]): List[List[scala.reflect.api.Universe.ValDef]]

    Permalink
    Definition Classes
    Transformer
  56. final lazy val transformation: AST.=?>[scala.reflect.api.Universe.Tree, scala.reflect.api.Universe.Tree]

    Permalink
    Attributes
    protected
    Definition Classes
    ManagedAttr
  57. final lazy val traversal: AST.=?>[scala.reflect.api.Universe.Tree, Unit]

    Permalink
    Attributes
    protected
    Definition Classes
    ManagedAttr
  58. val treeCopy: scala.reflect.api.Universe.TreeCopier

    Permalink
    Definition Classes
    Transformer
  59. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AST.ManagedAttr[A, I, S]

Inherited from (scala.reflect.api.Universe.Tree) ⇒ AST.Attr[A, I, S]

Inherited from scala.reflect.api.Universe.Transformer

Inherited from AnyRef

Inherited from Any

Ungrouped