org.scalajs.core.tools.javascript

Trees

object Trees

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

Type Members

  1. case class Apply(fun: Tree, args: List[Tree])(implicit pos: Position) extends Tree with Product with Serializable

    Syntactic apply.

  2. case class ArrayConstr(items: List[Tree])(implicit pos: Position) extends Tree with Product with Serializable

  3. case class Assign(lhs: Tree, rhs: Tree)(implicit pos: Position) extends Tree with Product with Serializable

  4. case class BinaryOp(op: Code, lhs: Tree, rhs: Tree)(implicit pos: Position) extends Tree with Product with Serializable

    Binary operation (always preserves pureness).

  5. class Block extends Tree

  6. case class BooleanLiteral(value: Boolean)(implicit pos: Position) extends Tree with Literal with Product with Serializable

  7. case class BracketSelect(qualifier: Tree, item: Tree)(implicit pos: Position) extends Tree with Product with Serializable

  8. case class Break(label: Option[Ident] = scala.None)(implicit pos: Position) extends Tree with Product with Serializable

  9. case class ClassDef(className: Option[Ident], parentClass: Option[Tree], members: List[Tree])(implicit pos: Position) extends Tree with Product with Serializable

  10. case class ComputedName(tree: Tree) extends PropertyName with Product with Serializable

  11. case class Continue(label: Option[Ident] = scala.None)(implicit pos: Position) extends Tree with Product with Serializable

  12. case class Debugger()(implicit pos: Position) extends Tree with Product with Serializable

  13. case class Delete(prop: Tree)(implicit pos: Position) extends Tree with Product with Serializable

  14. case class DoWhile(body: Tree, cond: Tree, label: Option[Ident] = scala.None)(implicit pos: Position) extends Tree with Product with Serializable

  15. case class DocComment(text: String)(implicit pos: Position) extends Tree with Product with Serializable

  16. case class DotSelect(qualifier: Tree, item: Ident)(implicit pos: Position) extends Tree with Product with Serializable

  17. case class DoubleLiteral(value: Double)(implicit pos: Position) extends Tree with Literal with Product with Serializable

  18. case class Function(args: List[ParamDef], body: Tree)(implicit pos: Position) extends Tree with Product with Serializable

  19. case class FunctionDef(name: Ident, args: List[ParamDef], body: Tree)(implicit pos: Position) extends Tree with Product with Serializable

  20. case class GetterDef(static: Boolean, name: PropertyName, body: Tree)(implicit pos: Position) extends Tree with Product with Serializable

  21. case class Ident(name: String, originalName: Option[String])(implicit pos: Position) extends PropertyName with Product with Serializable

  22. case class If(cond: Tree, thenp: Tree, elsep: Tree)(implicit pos: Position) extends Tree with Product with Serializable

  23. case class IntLiteral(value: Int)(implicit pos: Position) extends Tree with Literal with Product with Serializable

  24. case class Labeled(label: Ident, body: Tree)(implicit pos: Position) extends Tree with Product with Serializable

  25. case class Let(name: Ident, mutable: Boolean, rhs: Option[Tree])(implicit pos: Position) extends Tree with LocalDef with Product with Serializable

    ES6 let or const (depending on the mutable flag).

  26. sealed trait Literal extends Tree

    Marker for literals.

  27. sealed trait LocalDef extends Tree

  28. case class MethodDef(static: Boolean, name: PropertyName, args: List[ParamDef], body: Tree)(implicit pos: Position) extends Tree with Product with Serializable

  29. case class New(ctor: Tree, args: List[Tree])(implicit pos: Position) extends Tree with Product with Serializable

  30. case class Null()(implicit pos: Position) extends Tree with Literal with Product with Serializable

  31. case class ObjectConstr(fields: List[(PropertyName, Tree)])(implicit pos: Position) extends Tree with Product with Serializable

  32. case class ParamDef(name: Ident, rest: Boolean)(implicit pos: Position) extends Tree with LocalDef with Product with Serializable

  33. sealed trait PropertyName extends AnyRef

  34. case class Return(expr: Tree)(implicit pos: Position) extends Tree with Product with Serializable

  35. case class SetterDef(static: Boolean, name: PropertyName, param: ParamDef, body: Tree)(implicit pos: Position) extends Tree with Product with Serializable

  36. case class Skip()(implicit pos: Position) extends Tree with Product with Serializable

  37. case class Spread(items: Tree)(implicit pos: Position) extends Tree with Product with Serializable

    ...items, the "spread" operator of ECMAScript 6.

  38. case class StringLiteral(value: String)(implicit pos: Position) extends Tree with Literal with PropertyName with Product with Serializable

  39. case class Super()(implicit pos: Position) extends Tree with Product with Serializable

  40. case class Switch(selector: Tree, cases: List[(Tree, Tree)], default: Tree)(implicit pos: Position) extends Tree with Product with Serializable

  41. case class This()(implicit pos: Position) extends Tree with Product with Serializable

  42. case class Throw(expr: Tree)(implicit pos: Position) extends Tree with Product with Serializable

  43. sealed abstract class Tree extends AnyRef

    AST node of JavaScript.

  44. case class TryCatch(block: Tree, errVar: Ident, handler: Tree)(implicit pos: Position) extends Tree with Product with Serializable

  45. case class TryFinally(block: Tree, finalizer: Tree)(implicit pos: Position) extends Tree with Product with Serializable

  46. case class UnaryOp(op: Code, lhs: Tree)(implicit pos: Position) extends Tree with Product with Serializable

    Unary operation (always preserves pureness).

  47. case class Undefined()(implicit pos: Position) extends Tree with Literal with Product with Serializable

  48. case class VarDef(name: Ident, rhs: Option[Tree])(implicit pos: Position) extends Tree with LocalDef with Product with Serializable

  49. case class VarRef(ident: Ident)(implicit pos: Position) extends Tree with Product with Serializable

  50. case class While(cond: Tree, body: Tree, label: Option[Ident] = scala.None)(implicit pos: Position) extends Tree 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 BinaryOp extends Serializable

  7. object Block

  8. object Ident extends Serializable

  9. object UnaryOp extends Serializable

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped