Permalink
Browse files

Getter/setter support

Untested, but I read Narcissus so I suspect it's accurate.
  • Loading branch information...
1 parent d9e950f commit fbc46f637c3113cb46a9de322826679a271390bf Ryan Patterson committed Feb 1, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/jsgrep.js
View
@@ -1015,6 +1015,8 @@ var forEachNode = exports.forEachNode = function(node, callback) {
break;
case tokens.FUNCTION:
+ case tokens.GETTER:
+ case tokens.SETTER:
forEachNode(node.body, callback);
break;

0 comments on commit fbc46f6

Please sign in to comment.