-
Notifications
You must be signed in to change notification settings - Fork 16
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
javascript not match function definition #427
Comments
Hi, ast-grep is a structural search tool based on AST.
For your use case, you may want to try some semi structural search tool like Comby. |
My question is whether this search plugin can support simple options to find function definitions and function calls. In everyday development, matching definitions and implementations is a very common requirement. For example, if I enter "add" in the search box, by checking or selecting function definition and function call, the underlying call would be the following two corresponding rules. |
No, the feature should covered by #167 |
get it, thanks |
add($$$A)
can not matchexport function add(c, d)
can provide an option to search only for definitions and/or only for calls?
Environment
ast-grep 0.33.0
The text was updated successfully, but these errors were encountered: