toolc.ast

Trees

object Trees

Linear Supertypes
AnyRef, Any
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 And(lhs: ExprTree, rhs: ExprTree) extends ExprTree with Product with Serializable

  2. case class ArrayAssign(id: Identifier, index: ExprTree, expr: ExprTree) extends StatTree with Product with Serializable

  3. case class ArrayLength(arr: ExprTree) extends ExprTree with Product with Serializable

  4. case class ArrayRead(arr: ExprTree, index: ExprTree) extends ExprTree with Product with Serializable

  5. case class Assign(id: Identifier, expr: ExprTree) extends StatTree with Product with Serializable

  6. case class Block(stats: List[StatTree]) extends StatTree with Product with Serializable

  7. case class BooleanType() extends TypeTree with Product with Serializable

  8. case class ClassDecl(id: Identifier, parent: Option[Identifier], vars: List[VarDecl], methods: List[MethodDecl]) extends Tree with Product with Serializable

  9. case class Div(lhs: ExprTree, rhs: ExprTree) extends ExprTree with Product with Serializable

  10. case class Equals(lhs: ExprTree, rhs: ExprTree) extends ExprTree with Product with Serializable

  11. sealed trait ExprTree extends Tree

  12. case class False() extends ExprTree with Product with Serializable

  13. sealed case class Formal(tpe: TypeTree, id: Identifier) extends Tree with Product with Serializable

  14. case class Identifier(value: String) extends TypeTree with ExprTree with Product with Serializable

  15. case class If(expr: ExprTree, thn: StatTree, els: Option[StatTree]) extends StatTree with Product with Serializable

  16. case class IntArrayType() extends TypeTree with Product with Serializable

  17. case class IntLit(value: Int) extends ExprTree with Product with Serializable

  18. case class IntType() extends TypeTree with Product with Serializable

  19. case class LessThan(lhs: ExprTree, rhs: ExprTree) extends ExprTree with Product with Serializable

  20. case class MainObject(id: Identifier, stats: List[StatTree]) extends Tree with Product with Serializable

  21. case class MethodCall(obj: ExprTree, meth: Identifier, args: List[ExprTree]) extends ExprTree with Product with Serializable

  22. case class MethodDecl(retType: TypeTree, id: Identifier, args: List[Formal], vars: List[VarDecl], stats: List[StatTree], retExpr: ExprTree) extends Tree with Product with Serializable

  23. case class Minus(lhs: ExprTree, rhs: ExprTree) extends ExprTree with Product with Serializable

  24. case class New(tpe: Identifier) extends ExprTree with Product with Serializable

  25. case class NewIntArray(size: ExprTree) extends ExprTree with Product with Serializable

  26. case class Not(expr: ExprTree) extends ExprTree with Product with Serializable

  27. case class Or(lhs: ExprTree, rhs: ExprTree) extends ExprTree with Product with Serializable

  28. case class Plus(lhs: ExprTree, rhs: ExprTree) extends ExprTree with Product with Serializable

  29. case class Println(expr: ExprTree) extends StatTree with Product with Serializable

  30. case class Program(main: MainObject, classes: List[ClassDecl]) extends Tree with Product with Serializable

  31. sealed trait StatTree extends Tree

  32. case class StringLit(value: String) extends ExprTree with Product with Serializable

  33. case class StringType() extends TypeTree with Product with Serializable

  34. case class This() extends ExprTree with Product with Serializable

  35. case class Times(lhs: ExprTree, rhs: ExprTree) extends ExprTree with Product with Serializable

  36. sealed trait Tree extends Positioned

  37. case class True() extends ExprTree with Product with Serializable

  38. sealed trait TypeTree extends Tree

  39. case class VarDecl(tpe: TypeTree, id: Identifier) extends Tree with Product with Serializable

  40. case class While(expr: ExprTree, stat: StatTree) extends StatTree with Product with Serializable

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 clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  16. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped