Take an array of GLSL tokens and determine which tokens are either assignments or variable declarations.
Takes an array of GLSL tokens from
glsl-tokenizer and sets the
following boolean values for each
ident token, i.e. any variable names:
If the value of the variable is being changed here.
If a new variable is being defined here for this scope.
If this token is specifying a new struct member, e.g.:
tokens array will be modified in-place.
MIT. See LICENSE.md for details.