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

es6 decorator support in description #1

Merged
merged 18 commits into from
Apr 11, 2018
Merged

Conversation

imcuttle
Copy link

@imcuttle imcuttle commented Feb 20, 2018

eslint#208

/**
 * something
 * @example
 * \@abc
 * class A {
 *   \@bind
 *   say() {}
 * }
 */

I consider that we can use decorator in description as above.

medanat and others added 17 commits May 31, 2017 13:55
This adds a `range` option to the `parse` API. When enabled, each node has a [start, end] range property indicating its location in the comment.

When computing the range with the `unwrap: true` option, the returned range needs to track indices in the original comment, not the unwrapped version. To implement that behavior, this commit updates the unwrapping logic to use a regular expression rather than a state machine. When converting an index, the parser and re-matches the original comment line-by-line, keeping track of the number of discarded "wrapping" characters.
@imcuttle
Copy link
Author

The above commits is from eslint/doctrine ahead of documentationjs/doctrine

@tmcw tmcw merged commit f28e2e6 into documentationjs:master Apr 11, 2018
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

Successfully merging this pull request may close these issues.

10 participants