We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
While documenting the .[] method for an array-like, I wanted to do the following:
.[]
@overload vector[index] @param index [Integer] The index to retrieve @overload vector[start..end] @param range [Range] Range of indexes to retrieve
[index] and [start..end] are stripped out in rendering. The documentation doesn't appear to preclude this.
[index]
[start..end]
I tried various methods of escaping (e.g. \[) but couldn't find one that works.
\[
Is there a way to do this?
The text was updated successfully, but these errors were encountered:
There isn't a way currently but I wouldn't be opposed to adjusting the overload syntax to support it.
The current syntax is:
# @overload [](index)
You don't usually list the object name as part of the method signature, just the method name and its arguments.
Sorry, something went wrong.
Closing out old issues.
I'm marking this as closed since there are no plans to implement this on my end, but if someone put together a PR I would take a look!
No branches or pull requests
While documenting the
.[]
method for an array-like, I wanted to do the following:[index]
and[start..end]
are stripped out in rendering. The documentation doesn't appear to preclude this.I tried various methods of escaping (e.g.
\[
) but couldn't find one that works.Is there a way to do this?
The text was updated successfully, but these errors were encountered: