index property

int index
getter/setter pair

The (unique) index of this variable in the sql query. For instance, the query SELECT * FROM tbl WHERE a = ? AND b = :xyz OR c = :xyz contains three Variables in its AST, but only two FoundVariables, where the ? will have index 1 and (both) :xyz variables will have index 2. We only report one FoundVariable per index.

Implementation

int index;