|
kiama 0.9.0 API
|
|
kiama/example/imperative/AST.scala]
abstract
class
Exp
extends PrettyPrintable with scala.Product| Method Summary | |
def
|
depth
: Int
The depth of the expression, i.e., the number of levels from the
root to the leaf values.
|
def
|
divsbyzero
: Int
The number of divisions by the constant zero in the expression.
|
def
|
intadds
: Int
The number of additions of integer constants in the expression.
|
abstract def
|
value
: Double
The numeric value of the expression.
|
def
|
vars
: scala.collection.immutable.Set[java.lang.String]
The set of all variable references in the expression.
|
| Methods inherited from scala.Product | |
| scala.Product.productElement (abstract), scala.Product.productArity (abstract), scala.Product.productPrefix |
| Methods inherited from AnyRef | |
| getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
| Methods inherited from Any | |
| ==, !=, isInstanceOf, asInstanceOf |
| Methods inherited from PrettyPrintable | |
| pretty (abstract) |
| Method Details |
abstract
def
value : Double
def
vars : scala.collection.immutable.Set[java.lang.String]
def
divsbyzero : Int
def
depth : Int
def
intadds : Int
|
kiama 0.9.0 API
|
|