Parses the shader code string and populates the found shader variables in it into shaderVariables list.