OurVarInfo.ArrayAccessDetected (METH)

METHOD ArrayAccessDetected

If implemented, this method is called to notify about a valid array access that was parsed. By valid we understand that it is syntactically correct as well as within the allowed array range.*)

InOut:

Scope

Name

Type

Comment

Input

pstr

POINTER TO STRING

The pointer to the beginning of the array access, ie. the opening parenthese ‘[’

length

INT

The length of the array access within the string as it might not be 0 terminated after the closing parenthese. As an example, the value will be 3 for ‘[1]’ or 5 for ‘[3,4]’*)