Lines Matching refs:node
339 public Void scan(Tree node, Void p) {
340 if (node == null) {
344 long start = trees.getSourcePositions().getStartPosition(cut, node);
349 assertTrue(node.toString() + ":" + start + "/" + parentStart,
356 long end = trees.getSourcePositions().getEndPosition(cut, node);
358 assertTrue(node.toString() + ":" + end + "/" + parentEnd,
365 super.scan(node, p);
462 public Void scan(Tree node, Void p) {
463 if (node == null) {
466 long start = trees.getSourcePositions().getStartPosition(cut, node);
471 long end = trees.getSourcePositions().getEndPosition(cut, node);
475 return super.scan(node, p);
608 public Void visitVariable(VariableTree node, Void p) {
609 if ("in".contentEquals(node.getName())) {
610 JCTree.JCVariableDecl var = (JCTree.JCVariableDecl) node;
611 System.out.println(node.getName() + "," + var.pos);
615 return super.visitVariable(node, p);
632 public Void visitVariable(VariableTree node, Void p) {
633 if ("in".contentEquals(node.getName())) {
634 JCTree.JCVariableDecl var = (JCTree.JCVariableDecl) node;
638 return super.visitVariable(node, p);