gkz / grasp

JavaScript structural search, replace, and refactor
http://graspjs.com
MIT License
1.28k stars 33 forks source link

Sample query to find string literals but exclude property names #32

Closed ainthek closed 9 years ago

ainthek commented 10 years ago

thanx a lot.

gkz commented 10 years ago

Try

grasp ':not(prop, member) > str'