org.kiama.example.imperative.AST

Sub

case class Sub(l: Exp, r: Exp) extends Binary with Product with Serializable

Subtraction expressions.

Source
AST.scala
Linear Supertypes
Serializable, Serializable, Binary, Exp, ImperativeNode, Positioned, Attributable, Cloneable, Cloneable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Sub
  2. Serializable
  3. Serializable
  4. Binary
  5. Exp
  6. ImperativeNode
  7. Positioned
  8. Attributable
  9. Cloneable
  10. Cloneable
  11. Product
  12. Equals
  13. AnyRef
  14. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Sub(l: Exp, r: Exp)

Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. final def ->[T, U](a: (T) ⇒ U)(implicit b: (Sub.this.type) ⇒ T): U

    Definition Classes
    Attributable
    Annotations
    @inline()
  4. final def ->[U](a: (Sub.this.type) ⇒ U): U

    Definition Classes
    Attributable
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def children: Iterator[Attributable]

    Definition Classes
    Attributable
  8. def clone(): Attributable

    Definition Classes
    Attributable → AnyRef
  9. def depth: Int

    The depth of the expression, i.

    The depth of the expression, i.e., the number of levels from the root to the leaf values.

    Definition Classes
    BinaryExp
  10. def divsbyzero: Int

    The number of divisions by the constant zero in the expression.

    The number of divisions by the constant zero in the expression.

    Definition Classes
    BinaryExp
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. var finish: Position

    Definition Classes
    Positioned
  14. def firstChild[T]: T

    Definition Classes
    Attributable
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def hasChildren: Boolean

    Definition Classes
    Attributable
  17. var index: Int

    Definition Classes
    Attributable
  18. def initTreeProperties(): Unit

    Definition Classes
    Attributable
  19. def intadds: Int

    The number of additions of integer constants in the expression.

    The number of additions of integer constants in the expression.

    Definition Classes
    BinaryExp
  20. def isFirst: Boolean

    Definition Classes
    Attributable
  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. def isLast: Boolean

    Definition Classes
    Attributable
  23. def isRoot: Boolean

    Definition Classes
    Attributable
  24. val l: Exp

  25. def lastChild[T]: T

    Definition Classes
    Attributable
  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. def next[T]: T

    Definition Classes
    Attributable
  28. var next: Attributable

    Definition Classes
    Attributable
  29. final def notify(): Unit

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

    Definition Classes
    AnyRef
  31. def parent[T]: T

    Definition Classes
    Attributable
  32. var parent: Attributable

    Definition Classes
    Attributable
  33. def prev[T]: T

    Definition Classes
    Attributable
  34. var prev: Attributable

    Definition Classes
    Attributable
  35. val r: Exp

  36. def setFinish(p: Position): Sub.this.type

    Definition Classes
    Positioned
  37. def setPos(p: Positioned): Sub.this.type

    Definition Classes
    Positioned
  38. def setStart(p: Position): Sub.this.type

    Definition Classes
    Positioned
  39. var start: Position

    Definition Classes
    Positioned
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  41. def value: Double

    The numeric value of the expression.

    The numeric value of the expression.

    Definition Classes
    SubExp
  42. def vars: Set[Idn]

    The set of all variable references in the expression.

    The set of all variable references in the expression.

    Definition Classes
    BinaryExp
  43. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Binary

Inherited from Exp

Inherited from ImperativeNode

Inherited from Positioned

Inherited from Attributable

Inherited from Cloneable

Inherited from Cloneable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped