treehugger.TreehuggerDSLs

treehuggerDSL

object treehuggerDSL extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. treehuggerDSL
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Type Members

  1. class AnnotationInfoStart extends AnyRef

  2. class AnonFuncStart extends TreeDefStart[AnonFunc] with TptStart with VparamssStart

  3. case class CaseStart(pat: Tree, guard: Tree) extends Product with Serializable

  4. class ClassDefStart extends TreeDefStart[ClassDef] with TparamsStart with ParentsStart

  5. case class ContextBoundsStart(typcon: Type) extends TypeBoundsStart with Product with Serializable

  6. trait DefCreator extends AnyRef

  7. trait DefStart[ResultTreeType <: Tree] extends AnyRef

  8. class DefSymStart extends SymVODDStart[DefDef] with DefCreator with TparamsStart with VparamssStart

  9. class DefTreeStart extends TreeVODDStart[DefDef] with DefCreator with TparamsStart with VparamssStart

  10. case class ForStart(enums: List[Enumerator]) extends Product with Serializable

  11. class ForValFromStart extends TreeVODDStart[ForValFrom]

  12. case class IfStart(cond: Tree, thenp: Tree) extends Product with Serializable

  13. class ImportSelectorStart extends AnyRef

  14. case class InfixStart(target: Tree, name: Name) extends Product with Serializable

  15. case class InfixSymStart(target: Tree, sym: Symbol) extends Product with Serializable

  16. case class LowerTypeBoundsStart(lo: Type) extends TypeBoundsStart with Product with Serializable

  17. class ModuleDefStart extends TreeDefStart[ModuleDef] with ParentsStart

  18. case class PRIVATEWITHIN(name: Name) extends Product with Serializable

  19. trait PackageCreator extends TreeDefStart[PackageDef]

  20. class PackageDefStart extends PackageCreator

  21. class PackageSymStart extends PackageCreator

  22. trait ParentsStart extends AnyRef

  23. case class SelectStart(tree: Select) extends Product with Serializable

  24. case class SuperStart(tree: Super) extends Product with Serializable

  25. trait SymVODDStart[ResultTreeType <: Tree] extends VODDStart[ResultTreeType]

  26. class SymbolMethods extends AnyRef

  27. trait TparamsStart extends AnyRef

  28. trait TptStart extends AnyRef

  29. class TraitDefStart extends ClassDefStart

  30. trait TreeDefStart[ResultTreeType <: Tree] extends DefStart[ResultTreeType]

  31. class TreeMethods extends AnyRef

  32. trait TreeVODDStart[ResultTreeType <: Tree] extends VODDStart[ResultTreeType] with TreeDefStart[ResultTreeType]

  33. case class TryStart(body: Tree, catches: List[CaseDef], fin: Tree) extends Product with Serializable

  34. sealed trait TypeBoundsStart extends AnyRef

  35. trait TypeDefStart extends TreeDefStart[TypeDef] with TparamsStart

  36. class TypeDefSymStart extends TypeDefStart

  37. class TypeDefTreeStart extends TypeDefStart

  38. class TypeMethods extends AnyRef

  39. case class UpperTypeBoundsStart(hi: Type) extends TypeBoundsStart with Product with Serializable

  40. trait VODDStart[ResultTreeType <: Tree] extends DefStart[ResultTreeType] with TptStart

    VODD, if it is not obvious, means ValOrDefDef.

  41. trait ValCreator extends AnyRef

  42. class ValNameStart extends TreeVODDStart[ValDef] with ValCreator

  43. class ValSymStart extends SymVODDStart[ValDef] with ValCreator

  44. class ValTreeStart extends TreeVODDStart[ValDef] with ValCreator

  45. case class ViewBoundsStart(target: Type) extends TypeBoundsStart with Product with Serializable

  46. trait VparamssStart extends AnyRef

  47. case class WhileStart(cond: Tree) extends 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. def AND(guards: Iterable[Tree]): Tree

  7. def AND(guards: Tree*): Tree

  8. def ANNOT(typ: Type, args: Iterable[Tree]): AnnotationInfo

  9. def ANNOT(typ: Type, args: Tree*): AnnotationInfo

  10. def ANONDEF(trees: Tree*): ClassDefStart

  11. def ANONDEF(parents: Iterable[Type]): ClassDefStart

  12. def ANONDEF(parent0: Type, parents: Type*): ClassDefStart

  13. def ARRAY(xs: Iterable[Tree]): Tree

  14. def ARRAY(xs: Tree*): Tree

  15. def BACKQUOTED(name: Name): BackQuotedIdent

  16. def BACKQUOTED(sym: Symbol): BackQuotedIdent

  17. def BLOCK(xs: Tree*): Block

  18. def BLOCK(xs: Iterable[Tree]): Block

  19. def CASE(pat: Tree, ifs: IfStart): CaseStart

  20. def CASE(pat: Tree): CaseStart

  21. def CASECLASSDEF(sym: Symbol): ClassDefStart

  22. def CASECLASSDEF(name: Name): ClassDefStart

  23. def CASEOBJECTDEF(sym: Symbol): ModuleDefStart

  24. def CASEOBJECTDEF(name: Name): ModuleDefStart

  25. def CLASSDEF(sym: Symbol): ClassDefStart

  26. def CLASSDEF(name: Name): ClassDefStart

  27. def CONTRAVARIANT(symbol: Symbol): Symbol

  28. def CONTRAVARIANT(name: Name): Name

  29. def COVARIANT(symbol: Symbol): Symbol

  30. def COVARIANT(name: Name): Name

  31. def DEF(sym: Symbol): DefSymStart

  32. def DEF(sym: Symbol, tp: Type): DefSymStart

  33. def DEF(name: Name): DefTreeStart

  34. def DEF(name: Name, tp: Type): DefTreeStart

  35. def DEFAULT: CaseStart

  36. def DEFTHIS: DefTreeStart

  37. val FALSE: Literal

  38. def FOR(xs: Iterable[Enumerator]): ForStart

  39. def FOR(xs: Enumerator*): ForStart

  40. def ID(name: Name): Ident

  41. def ID(sym: Symbol): Tree

  42. def IF(tree: Tree): IfStart

  43. def IMPORT(expr: Tree, selectors: Iterable[ImportSelector]): Import

  44. def IMPORT(expr: Tree, selectors: ImportSelector*): Import

  45. def IMPORT(sym: Symbol, selectors: Iterable[ImportSelector]): Import

  46. def IMPORT(sym: Symbol, selectors: ImportSelector*): Import

  47. def IMPORT(pck: Name, selectors: Iterable[ImportSelector]): Import

  48. def IMPORT(pck: Name, selectors: ImportSelector*): Import

  49. def INFIX_CHAIN(sym: Symbol, trees: Iterable[Tree]): Tree

  50. def INFIX_CHAIN(sym: Symbol, tree: Tree, trees: Tree*): Tree

  51. def INFIX_CHAIN(name: Name, trees: Iterable[Tree]): Tree

  52. def INFIX_CHAIN(name: Name, tree: Tree, trees: Tree*): Tree

  53. def LAMBDA(param: Iterable[ValDef]): AnonFuncStart

  54. def LAMBDA(param: ValDef*): AnonFuncStart

  55. def LAZYVAL(sym: Symbol): ValSymStart

  56. def LAZYVAL(sym: Symbol, tp: Type): ValSymStart

  57. def LAZYVAL(name: Name): ValNameStart

  58. def LAZYVAL(name: Name, tp: Type): ValNameStart

  59. def LEFT(tree: Tree): Tree

  60. def LIST(xs: Iterable[Tree]): Tree

  61. def LIST(xs: Tree*): Tree

  62. object LIT extends (Any) ⇒ Literal

  63. def MAKE_MAP(xs: Iterable[Tree]): Tree

  64. def MAKE_MAP(xs: Tree*): Tree

  65. def MATCHERROR(arg: Tree): Throw

    Top level accessible.

  66. def MINUS(tree: Tree): Select

  67. def NEW(tpt: Tree, args: Tree*): Tree

  68. def NEW(tp: Type, args: Tree*): Tree

  69. val NIL: Tree

  70. val NONE: Tree

  71. def NOT(tree: Tree): Select

  72. def NULL: Literal

  73. def OBJECTDEF(sym: Symbol): ModuleDefStart

  74. def OBJECTDEF(name: Name): ModuleDefStart

  75. def OR(guards: Iterable[Tree]): Tree

  76. def OR(guards: Tree*): Tree

  77. def PACKAGE(sym: Symbol): PackageSymStart

  78. def PACKAGE(name: Name): PackageDefStart

  79. def PACKAGEHEADER(sym: Symbol): PackageSymStart

  80. def PACKAGEHEADER(name: Name): PackageDefStart

  81. def PACKAGEOBJECTDEF(sym: Symbol): ModuleDefStart

  82. def PACKAGEOBJECTDEF(name: Name): ModuleDefStart

  83. def PARAM(tree: Tree): ValTreeStart

  84. def PARAM(sym: Symbol): ValSymStart

  85. def PARAM(sym: Symbol, tp: Type): ValSymStart

  86. def PARAM(name: Name): ValNameStart

  87. def PARAM(name: Name, tp: Type): ValNameStart

  88. def PAREN(trees: Iterable[Tree]): Tree

  89. def PAREN(trees: Tree*): Tree

  90. val PARTIALLY: Ident

  91. def PLUS(tree: Tree): Select

  92. def REF(name: Name): Ident

  93. def REF(pre: Type, sym: Symbol): Tree

  94. def REF(sym: Symbol): Tree

  95. def RENAME(name: TermName): ImportSelectorStart

  96. def RETURN(tree: Tree): Return

  97. def RIGHT(tree: Tree): Tree

  98. def SEQ(xs: Iterable[Tree]): Tree

  99. def SEQ(xs: Tree*): Tree

  100. def SEQARG(tree: Tree): Typed

  101. val SEQ_WILDCARD: Ident

  102. def SOME(xs: Iterable[Tree]): Tree

  103. def SOME(xs: Tree*): Tree

  104. def SUPER(name: Name): SuperStart

  105. def SUPER(sym: Symbol): SuperStart

  106. val SUPER: SuperStart

  107. def THIS: This

  108. def THIS(name: Name): This

  109. def THIS(sym: Symbol): Tree

    Typed trees from symbols.

  110. def THROW(typ: Type, msg: Tree): Throw

  111. def THROW(typ: Type, msg: String): Throw

  112. def THROW(typ: Type): Throw

    !!! should generalize null guard from match error here.

  113. def TILDE(tree: Tree): Select

  114. def TRAITDEF(sym: Symbol): ClassDefStart

  115. def TRAITDEF(name: Name): ClassDefStart

  116. val TRUE: Literal

  117. def TRY(xs: Iterable[Tree]): TryStart

  118. def TRY(xs: Tree*): TryStart

  119. def TUPLE(trees: Iterable[Tree], flattenUnary: Boolean = false): Tree

  120. def TUPLE(trees: Tree*): Tree

  121. def TYPEVAR(sym: Symbol): TypeDefSymStart

  122. def TYPEVAR(name: Name): TypeDefTreeStart

  123. def TYPE_*(typ: Type): Type

  124. def TYPE_<%<(arg1: Type, arg2: Type): Type

  125. def TYPE_<:<(arg1: Type, arg2: Type): Type

  126. def TYPE_=:=(arg1: Type, arg2: Type): Type

  127. def TYPE_ARRAY(typ: Type): Type

  128. def TYPE_BYNAME(typ: Type): Type

  129. def TYPE_EITHER(arg1: Type, arg2: Type): Type

  130. def TYPE_FUNCTION(typs: Iterable[Type]): Type

  131. def TYPE_FUNCTION(typs: Type*): Type

  132. def TYPE_FUNCTION(args: Iterable[Type], result: Type): Type

  133. def TYPE_ITERATOR(typ: Type): Type

  134. def TYPE_LEFT(arg1: Type, arg2: Type): Type

  135. def TYPE_LIST(typ: Type): Type

  136. def TYPE_MAP(k: Type, v: Type): Type

  137. def TYPE_OPTION(typ: Type): Type

  138. def TYPE_ORDERED(typ: Type): Type

  139. def TYPE_REF(tree: Tree): Type

  140. def TYPE_REF(name: Name): Type

  141. def TYPE_REF(sym: Symbol): Type

  142. def TYPE_RIGHT(arg1: Type, arg2: Type): Type

  143. def TYPE_SEQ(typ: Type): Type

  144. def TYPE_SET(typ: Type): Type

  145. def TYPE_SINGLETON(tree: Tree): Type

  146. def TYPE_SOME(typ: Type): Type

  147. def TYPE_STRUCT(tree: Iterable[Tree]): Type

  148. def TYPE_STRUCT(tree: Tree*): Type

  149. def TYPE_TUPLE(typs: Iterable[Type]): Type

  150. def TYPE_TUPLE(typs: Type*): Type

  151. def TYPE_VECTOR(typ: Type): Type

  152. def UNIT: Literal

  153. def VAL(tree: Tree): ValTreeStart

  154. def VAL(sym: Symbol): ValSymStart

  155. def VAL(sym: Symbol, tp: Type): ValSymStart

  156. def VAL(name: Name): ValNameStart

  157. def VAL(name: Name, tp: Type): ValNameStart

  158. def VALFROM(name: Name): ForValFromStart

  159. def VALFROM(name: Name, tp: Type): ForValFromStart

  160. def VAR(tree: Tree): ValTreeStart

  161. def VAR(sym: Symbol): ValSymStart

  162. def VAR(sym: Symbol, tp: Type): ValSymStart

  163. def VAR(name: Name): ValNameStart

  164. def VAR(name: Name, tp: Type): ValNameStart

  165. def VECTOR(xs: Iterable[Tree]): Tree

  166. def VECTOR(xs: Tree*): Tree

  167. def WHILE(tree: Tree): WhileStart

  168. object WILD extends AnyRef

  169. val WILDCARD: Ident

  170. val ZERO: Literal

  171. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  172. def clone(): AnyRef

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

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

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  176. def fn(lhs: Tree, op: Symbol, args: Tree*): Tree with Serializable

  177. def fn(lhs: Tree, op: Name, args: Tree*): Tree with Serializable

  178. final def getClass(): java.lang.Class[_]

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

    Definition Classes
    AnyRef → Any
  180. def infix(lhs: Tree, op: Symbol, args: Tree*): Infix

  181. def infix(lhs: Tree, op: Name, args: Tree*): Infix

  182. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  183. def makePathType(tree: Tree): Type

  184. def makeRefinedType(args: List[Type]): Type

  185. def makeStructuralType(trees: List[Tree]): Type

  186. def makeTupleType(trees: List[Tree], flattenUnary: Boolean = false): Tree

  187. implicit def mkDocElementFromString(str: String): DocElement

  188. implicit def mkEnumeratorFromIfStart(ifs: IfStart): Enumerator

  189. implicit def mkEnumeratorFromValDef(tree: ValDef): Enumerator

  190. implicit def mkImportSelectorFromString(name: String): ImportSelector

  191. def mkInfixAnd(lhs: Tree, rhs: Tree): Infix

  192. def mkInfixOr(lhs: Tree, rhs: Tree): Infix

  193. implicit def mkSeqImportSelectorFromCandidates[A, M[A] <: Iterable[A]](in: M[A])(implicit arg0: (A) ⇒ ImportSelector): Seq[ImportSelector]

  194. implicit def mkSeqTreeFromCandidates[A, M[A] <: Iterable[A]](in: M[A])(implicit arg0: (A) ⇒ Tree): Seq[Tree]

  195. implicit def mkSeqTreeFromDefStarts[A <: Tree, M[A] <: Iterable[A]](in: M[DefStart[A]]): Seq[A]

  196. implicit def mkSeqTreeFromSelectStarts[M[A] <: Iterable[A]](in: M[SelectStart]): Seq[Select]

  197. implicit def mkSeqTreeFromSuperStarts[M[A] <: Iterable[A]](in: M[SuperStart]): Seq[Super]

  198. implicit def mkSeqTypeDefFromCandidates[A <: TypeDefStart, M[A] <: Iterable[A]](in: M[A]): Seq[TypeDef]

  199. implicit def mkSeqTypeFromCandidates[A, M[A] <: Iterable[A]](in: M[A])(implicit arg0: (A) ⇒ Type): Seq[Type]

  200. implicit def mkSeqTypeTreeFromCandidates[M[A] <: Iterable[A]](in: M[Type]): Seq[TypeTree]

  201. implicit def mkSymbolMethodsFromSymbol(target: Symbol): SymbolMethods

  202. implicit def mkTreeFromDefStart[A <: Tree](start: DefStart[A]): A

  203. implicit def mkTreeFromSelectStart(ss: SelectStart): Select

    (foo DOT bar) might be simply a Select, but more likely it is to be immediately followed by an Apply.

    (foo DOT bar) might be simply a Select, but more likely it is to be immediately followed by an Apply. We don't want to add an actual apply method to arbitrary trees, so SelectStart is created with an apply - and if apply is not the next thing called, the implicit from SelectStart -> Tree will provide the tree.

  204. implicit def mkTreeFromSuperStart(ss: SuperStart): Super

    (SUPER) might be simply a Super.

  205. implicit def mkTreeFromType(typ: Type): TypeTree

  206. implicit def mkTreeFromTypeDefStart(tds: TypeDefStart): TypeDef

  207. implicit def mkTreeMethods(target: Tree): TreeMethods

  208. implicit def mkTreeMethodsFromSelectStart(ss: SelectStart): TreeMethods

  209. implicit def mkTreeMethodsFromSuperStart(target: SuperStart): TreeMethods

  210. implicit def mkTreeMethodsFromSymbol(target: Symbol): TreeMethods

  211. implicit def mkTreeMethodsFromType(target: Type): TreeMethods

  212. implicit def mkTypeFromString(str: String): Type

  213. implicit def mkTypeFromSymbol(sym: Symbol): Type

  214. implicit def mkTypeMethods(target: Type): TypeMethods

    Implicits - some of these should probably disappear *

  215. implicit def mkTypeMethodsFromSymbol(sym: Symbol): TypeMethods

  216. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  219. def nullSafe[T](f: (Tree) ⇒ Tree, ifNull: Tree): (Tree) ⇒ Tree

  220. implicit def stringToTermName(s: String): TermName

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

    Definition Classes
    AnyRef
  222. def toString(): String

    Definition Classes
    AnyRef → Any
  223. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any