gogrep icon indicating copy to clipboard operation
gogrep copied to clipboard

Search for Go code using syntax trees

Results 15 gogrep issues
Sort by recently updated
recently updated
newest added

It seems impossible right now to match "a function declaration that has a parameter of type T". This attempts to do that doesn't work: ```bash $ gogrep -x 'func $_($*_,...

e.g. gogrep 5 should match `2+3` and also the first part of `5+7`.

Right now, if one uses `"ab"` in an expression to look for, `"a"+"b"` won't be matched. We could use `go/const` for this. Is there a reason why a user would...

Right now it doesn't. `A.B` does match the beginning of `A.B.C`. This is because of the nature of how these trees of selectors are built - `(A.B).C`. It should be...

Sometimes it's useful to be able to search an arbitrary portion of a Go program (for example to see where any identifiers named "a" are within a given function). It...