Class

org.emmalanguage.ast.Transversers

Traversal

Related Doc: package Transversers

Permalink

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

An abstract traversal (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.Traverser, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Traversal
  2. ManagedAttr
  3. Function1
  4. Traverser
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Traversal(grammar: AST.AttrGrammar[A, I, S], callback: AST.=?>[AST.Attr[A, I, S], Unit])

    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 accTraverse(tree: scala.reflect.api.Universe.Tree): Unit

    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
    Traversal → Function1
  17. def apply[T <: scala.reflect.api.Universe.Tree](tree: T): T

    Permalink
    Definition Classes
    Traverser
  18. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  19. 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
  20. def atOwner(owner: scala.reflect.api.Universe.Symbol)(traverse: ⇒ Unit): Unit

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

    Permalink
    Definition Classes
    TraversalManagedAttr
  22. def clone(): AnyRef

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

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  24. var currentOwner: scala.reflect.api.Universe.Symbol

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

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

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

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

    Permalink
    Attributes
    protected
  29. final def getClass(): Class[_]

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

    Permalink
    Attributes
    protected
    Definition Classes
    TraversalManagedAttr
  31. def hashCode(): Int

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

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

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

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

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

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

    Permalink
    Definition Classes
    ManagedAttr
  38. 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
  39. 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
  40. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    ManagedAttr
  42. def toString(): String

    Permalink
    Definition Classes
    Function1 → AnyRef → Any
  43. final lazy val transformation: AST.=?>[scala.reflect.api.Universe.Tree, scala.reflect.api.Universe.Tree]

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

    Permalink
    Attributes
    protected
    Definition Classes
    ManagedAttr
  45. def traverse(tree: scala.reflect.api.Universe.Tree): Unit

    Permalink
    Definition Classes
    Traversal → Traverser
  46. def traverseAnnotations(annots: List[scala.reflect.api.Universe.Tree]): Unit

    Permalink
    Definition Classes
    Traverser
  47. def traverseCases(cases: List[scala.reflect.api.Universe.CaseDef]): Unit

    Permalink
    Definition Classes
    Traverser
  48. def traverseConstant(c: scala.reflect.api.Universe.Constant): Unit

    Permalink
    Definition Classes
    Traverser
  49. def traverseGuard(guard: scala.reflect.api.Universe.Tree): Unit

    Permalink
    Definition Classes
    Traverser
  50. def traverseImportSelector(sel: scala.reflect.api.Universe.ImportSelector): Unit

    Permalink
    Definition Classes
    Traverser
  51. def traverseModifiers(mods: scala.reflect.api.Universe.Modifiers): Unit

    Permalink
    Definition Classes
    Traverser
  52. def traverseName(name: scala.reflect.api.Universe.Name): Unit

    Permalink
    Definition Classes
    Traverser
  53. def traverseParams(params: List[scala.reflect.api.Universe.Tree]): Unit

    Permalink
    Definition Classes
    Traverser
  54. def traverseParamss(vparamss: List[List[scala.reflect.api.Universe.Tree]]): Unit

    Permalink
    Definition Classes
    Traverser
  55. def traverseParents(parents: List[scala.reflect.api.Universe.Tree]): Unit

    Permalink
    Definition Classes
    Traverser
  56. def traversePattern(pat: scala.reflect.api.Universe.Tree): Unit

    Permalink
    Definition Classes
    Traverser
  57. def traverseSelfType(self: scala.reflect.api.Universe.ValDef): Unit

    Permalink
    Definition Classes
    Traverser
  58. def traverseStats(stats: List[scala.reflect.api.Universe.Tree], exprOwner: scala.reflect.api.Universe.Symbol): Unit

    Permalink
    Definition Classes
    Traverser
  59. def traverseTrees(trees: List[scala.reflect.api.Universe.Tree]): Unit

    Permalink
    Definition Classes
    Traverser
  60. def traverseTreess(treess: List[List[scala.reflect.api.Universe.Tree]]): Unit

    Permalink
    Definition Classes
    Traverser
  61. def traverseTypeArgs(args: List[scala.reflect.api.Universe.Tree]): Unit

    Permalink
    Definition Classes
    Traverser
  62. def traverseTypeAscription(tpt: scala.reflect.api.Universe.Tree): Unit

    Permalink
    Definition Classes
    Traverser
  63. final def wait(): Unit

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped