Skip to content

Scope tree documentation #11

Open
Open
@alex-seville

Description

@alex-seville

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions