예제 #1
0
 protected void trackContext(SimpleNode node) throws Exception {
   AbstractNodeAdapter<? extends SimpleNode> context = before(node);
   pushParent(context);
   traverse(node);
   parents.pop();
   after();
 }
예제 #2
0
 @Override
 public Object visitFunctionDef(FunctionDef node) throws Exception {
   AbstractNodeAdapter<? extends SimpleNode> context = before(node);
   pushParent(context);
   traverse(node);
   parents.pop();
   after();
   return null;
 }
예제 #3
0
 protected void updateASTContext(SimpleNode node) throws Exception {
   before(node);
   traverse(node);
   after();
 }