Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codes in Immediately-Invoked Function Expression, tags can't be generated #52

Open
zhifengle opened this issue Jul 7, 2017 · 0 comments

Comments

@zhifengle
Copy link

var foo = 1;
(function() {
let worker = {
  someMethod() {
    return 1;
  },

  slow(x) {
    console.log("Called with " + x);
    return x * this.someMethod(); // (*)
  }
};
}());

jsctags only can generate variable foo's tags.I make Immediately-Invoked Function Expression as commentary, jsctags would work fine.
My Nodejs version is 6.11.0, and jsctags version is 5.2.0.

Is it possible to take "iife" as an anonymous namespace ?

@zhifengle zhifengle changed the title Codes in Immediately-Invoked Function Expression, tags cann't be generated Codes in Immediately-Invoked Function Expression, tags can't be generated Jul 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant