expressionDepth

gapt.expr.util.expressionDepth

Attributes

Source
utils.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(t: Expr): Int

Computes the depth of an expression.

Computes the depth of an expression.

Value parameters

t

The expression whose depth is to be computed.

Attributes

Returns

The depth of the given expression, that is, the maximum depth of branches in the expression's tree representation.

Source
utils.scala