org.kiama.example.imperative.ImperativeTree

Num

case class Num(d: Double) extends Exp with Product with Serializable

Numeric expressions.

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

Instance Constructors

  1. new Num(d: Double)

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: (Num.this.type) ⇒ T): U

    Definition Classes
    Attributable
    Annotations
    @inline()
  5. final def ->[U](a: (Num.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 children: Iterator[Attributable]

    Definition Classes
    Attributable
  10. def clone(): Attributable

    Definition Classes
    Attributable → AnyRef
  11. val d: Double

  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
    NumExp
  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
    Exp
  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  18. def hasChildren: Boolean

    Definition Classes
    Attributable
  19. var index: Int

    Definition Classes
    Attributable
  20. def initTreeProperties(): Unit

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

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

    Definition Classes
    Any
  24. def isLast: Boolean

    Definition Classes
    Attributable
  25. def isRoot: Boolean

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

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

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

    Definition Classes
    Attributable
  29. var next: Attributable

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

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

    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. var prev: Attributable

    Definition Classes
    Attributable
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def value: Double

    The numeric value of the expression.

    The numeric value of the expression.

    Definition Classes
    NumExp
  38. def vars: Set[Idn]

    The set of all variable references in the expression.

    The set of all variable references in the expression.

    Definition Classes
    Exp
  39. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Exp

Inherited from ImperativeTree

Inherited from TreeNode

Inherited from Attributable

Inherited from Cloneable

Inherited from Cloneable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped