Hi, I have a question about updating my project from Rhino 1.6R6 to 1.7R7. I found that in Rhino 1.7R1, if I just call the Parser.parse and get the return value which is ScriptOrFnNode type. And then I can't get the variable, constant and function's parameter names from the variable of 'variableNames' and 'isConst'. I read the code and find that the 'variableNames' and 'isConst' haven't been initialed during parsing in Rhino 1.7R1. But it will be initialed in Rhino 1.6R6.
I find in the new version, the method of 'flattenSymbolTable' will fill 'variableNames' and this method don't be called during paring. This method has a default/package access. So I can't call this method directly. I want to ask if I want to get information from 'variableNames' and 'isConst' like Variables, Constants or Function parameters. How can I do it? Is there any classes fill this? Thanks for your reading. Shu _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
