org.kiama.example.imperative.AST

Binary

class Binary extends Exp

Binary expressions.

Attributes
abstract
Linear Supertypes
Exp, ImperativeNode, Attributable, Cloneable, Product, Equals, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Binary
  2. Exp
  3. ImperativeNode
  4. Attributable
  5. Cloneable
  6. Product
  7. Equals
  8. AnyRef
  9. Any
Visibility
  1. Public
  2. All

Instance Constructors

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

Abstract Value Members

  1. def canEqual (that: Any): Boolean

    Attributes
    abstract
    Definition Classes
    Equals
  2. def productArity : Int

    Attributes
    abstract
    Definition Classes
    Product
  3. def productElement (n: Int): Any

    Attributes
    abstract
    Definition Classes
    Product
  4. def value : Double

    The numeric value of the expression.

    The numeric value of the expression.

    Attributes
    abstract
    Definition Classes
    Exp

Concrete Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

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

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  9. def children : Iterator[Attributable]

    Definition Classes
    Attributable
  10. def clone (): Attributable

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

    Attributes
    final
    Definition Classes
    AnyRef
  14. def equals (arg0: Any): Boolean

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. def firstChild [T] : T

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  18. def hasChildren : Boolean

    Definition Classes
    Attributable
  19. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  20. var index : Int

    Definition Classes
    Attributable
  21. def initTreeProperties (): Unit

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

    Definition Classes
    Attributable
  24. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  25. def isLast : Boolean

    Definition Classes
    Attributable
  26. def isRoot : Boolean

    Definition Classes
    Attributable
  27. def lastChild [T] : T

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

    Attributes
    final
    Definition Classes
    AnyRef
  29. def next [T] : T

    Definition Classes
    Attributable
  30. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  31. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  32. def parent [T] : T

    Definition Classes
    Attributable
  33. var parent : Attributable

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

    Definition Classes
    Attributable
  35. def productIterator : Iterator[Any]

    Definition Classes
    Product
  36. def productPrefix : String

    Definition Classes
    Product
  37. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  38. def toString (): String

    Definition Classes
    AnyRef → Any
  39. 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
  40. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def productElements : Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    use productIterator instead

Inherited from Exp

Inherited from ImperativeNode

Inherited from Attributable

Inherited from Cloneable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any