| Summary: | [content assist] Private methods aren't marked as being private, or hidden from external classes | ||
|---|---|---|---|
| Product: | [WebTools] JSDT | Reporter: | Dominic Chambers <dominic.chambers> |
| Component: | General | Assignee: | Project Inbox <jsdt.javascript-inbox> |
| Status: | NEW --- | QA Contact: | Chris Jaun <cmjaun> |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | mario.ploner |
| Version: | unspecified | ||
| Target Milestone: | Future | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | @private tag | ||
|
Description
Dominic Chambers
JavaScript doesn't have a built-in notion of 'private', nor do we currently have a way to emulate that. What about the JSDoc tag @private? Couldn't that be used to mark private members? It's a design limitation at the moment. The modifiers are currently stored on the AST object, which limits the ability to represent a JS object with two properties pointing to the same function expression but with different modifiers. |