Take an array of GLSL tokens and determine which tokens are either assignments or variable declarations.