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

Idea: add support for selecting all the arguments from function call #24

Open
mpourmpoulis opened this issue May 6, 2020 · 0 comments
Assignees
Labels
Milestone

Comments

@mpourmpoulis
Copy link
Owner

as of release 0.1.2 the bids you can extract from a function call are

"(argument <argument_index>|keyword <keyword_index>|keyword value <keyword_value_index>|entire keyword <entire_keyword_index>|<caller> [<sub_index>]|entire call)"

which provides for a lot of options ( including going to empty function calls ) but one thing that is currently missing is the ability to select all of the arguments in function call.

Now my first idea was to utilize a name like argument list which would also make it similar to parameter list. However I believe something like arguments all might better off,i feel it might sound better with a small expansion have in mind

In particular there have been times where I have been interested in selecting only the positional arguments or the one passed by keyword, so having something like positional all and keywords all would also make sense! However, there are a couple of issues involved keyword is traditionally used for picking up only the keyword name, which might be a source of confusion, especially if you take into account that the natural expansion would be to support picking up all the keyword names or keyword values. in order to support the latter, small modifications would have to be made to the backend similar to the ones in the dedicated sub indexing queries to allow for multiple results per input because keyword names are going to be separated from one another

@mpourmpoulis mpourmpoulis self-assigned this May 6, 2020
@mpourmpoulis mpourmpoulis added this to the v0.2.0 milestone May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant