Gozala / Gozala/episcope

Understanding concise methods

Open
#1 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
11
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Given the following code:

``` js
var references = require('episcope/references');
var ast = require('recast').parse('class Foo { bar() { baz(); } }');

console.log(references(ast.program));
```

I'm getting the following result from episcope:

``` json
[
{
"type": "Identifier",
"name": "Foo"
},
{
"type": "Identifier",
"name": "bar"
}
]
```

:see_no_evil:

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.