Scope tree documentation
Is the scope tree that is output based on a standard or is it custom to this project?
I'm trying to identify the variables that are exported, by parsed code, to the global object.
On a trivial example reading the variables array of the global scope object works.
However, when I parse a file that passes in the context I see an empty variables array in the global object, and I'm not sure how to determine what would be available in the global scope if that code was executed.
i.e.
(function(){
...
}).call(this);
Any thoughts?
Thanks! Sorry, currently I'm attending on AOSD, so I'll reply later.
@Constellation Ping. Are there any docs on tree structure and APIs except as for generated ones? They don't feel clear enough as it's hard to find "entry point" and some really basic simple example from which you can start and understand how it works (but maybe I'm just too stupid lazy to dig into it) :/
+1 @RReverser did you find anything useful?
@Constellation it would also be really helpful to get a short description of the properties the scope tree has. E.g.
{
__declaredVariables
__left
block
...
set //what does this mean?
taints //what does this mean?
...
}