ArrayAccessTraversal

final class ArrayAccessTraversal(val traversal: Traversal[ArrayAccess]) extends AnyVal
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

@Doc(info = "The expression representing the array")
def array: Traversal[Expression]
@Doc(info = "Offset at which the array is referenced (an expression)")
def offset: Traversal[Expression]
@Doc(info = "If `array` is a lone identifier, return its name")
def simpleName: Traversal[String]
@Doc(info = "All identifiers that are part of the offset")
def subscript: Traversal[Identifier]
@Doc(info = "Determine whether array access has constant offset", longInfo = "\n Determine if array access is at constant numeric offset, e.g.,\n `buf[10]` but not `buf[i + 10]`, and for simplicity, not even `buf[1+2]`,\n `buf[PROBABLY_A_CONSTANT]` or `buf[PROBABLY_A_CONSTANT + 1]`,\n or even `buf[PROBABLY_A_CONSTANT]`.\n ")

Concrete fields

val traversal: Traversal[ArrayAccess]