TargetTraversal

final
class TargetTraversal(val traversal: Traversal[Expression]) extends AnyVal
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def arrayAccess: Traversal[ArrayAccess]

arrayAccess traverses to all array accesses below in the AST. For example, when called on the assignment `x = buf[idxs[i]];`` then it will return two array accesses.

arrayAccess traverses to all array accesses below in the AST. For example, when called on the assignment `x = buf[idxs[i]];`` then it will return two array accesses.

Deprecated methods

@deprecated("isArrayAccess is deprecated in favor if arrayAccess, due to counterintuitive naming")
def isArrayAccess: Traversal[ArrayAccess]
Deprecated

Concrete fields

val traversal: Traversal[Expression]