org.kiama.example.imperative.AST

Sub

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

Subtraction expressions.

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

Instance Constructors

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

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 ->[T, U](a: (T) ⇒ U)(implicit b: (Sub.this.type) ⇒ T): U

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

    Definition Classes
    Attributable
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def canEqual(arg0: Any): Boolean

    Definition Classes
    Sub → Equals
  10. def children: Iterator[Attributable]

    Definition Classes
    Attributable
  11. def clone(): Attributable

    Definition Classes
    Attributable → AnyRef
  12. 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
  13. 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
  14. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    Sub → Equals → AnyRef → Any
  16. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. var finish: Position

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

    Definition Classes
    Attributable
  19. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  20. def hasChildren: Boolean

    Definition Classes
    Attributable
  21. def hashCode(): Int

    Definition Classes
    Sub → AnyRef → Any
  22. var index: Int

    Definition Classes
    Attributable
  23. def initTreeProperties(): Unit

    Definition Classes
    Attributable
  24. 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
  25. def isFirst: Boolean

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

    Definition Classes
    Any
  27. def isLast: Boolean

    Definition Classes
    Attributable
  28. def isRoot: Boolean

    Definition Classes
    Attributable
  29. val l: Exp

  30. def lastChild[T]: T

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

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

    Definition Classes
    Attributable
  33. var next: Attributable

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

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

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

    Definition Classes
    Attributable
  37. var parent: Attributable

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

    Definition Classes
    Attributable
  39. var prev: Attributable

    Definition Classes
    Attributable
  40. def productArity: Int

    Definition Classes
    Sub → Product
  41. def productElement(arg0: Int): Any

    Definition Classes
    Sub → Product
  42. def productIterator: Iterator[Any]

    Definition Classes
    Product
  43. def productPrefix: String

    Definition Classes
    Sub → Product
  44. val r: Exp

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

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

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

    Definition Classes
    Positioned
  48. var start: Position

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

    Definition Classes
    AnyRef
  50. def toString(): String

    Definition Classes
    Sub → AnyRef → Any
  51. def value: Double

    The numeric value of the expression.

    The numeric value of the expression.

    Definition Classes
    SubExp
  52. 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
  53. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def productElements: Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use productIterator instead

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 Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any