242 }
243
244 @Override
245 public void visitBinary(JCBinary tree) {
246 JCBinary that = (JCBinary) parameter;
247 result =
248 scan(tree.lhs, that.lhs)
249 && scan(tree.rhs, that.rhs)
250 && tree.operator == that.operator;
251 }
252
253 @Override
254 public void visitBlock(JCBlock tree) {
255 JCBlock that = (JCBlock) parameter;
256 result = tree.flags == that.flags && scan(tree.stats, that.stats);
257 }
258
259 @Override
260 public void visitBreak(JCBreak tree) {
261 JCBreak that = (JCBreak) parameter;
262 result = tree.label == that.label;
263 }
264
265 @Override
266 public void visitCase(JCCase tree) {
267 JCCase that = (JCCase) parameter;
268 result = scan(tree.pat, that.pat) && scan(tree.stats, that.stats);
269 }
270
271 @Override
272 public void visitCatch(JCCatch tree) {
273 JCCatch that = (JCCatch) parameter;
274 result = scan(tree.param, that.param) && scan(tree.body, that.body);
275 }
276
277 @Override
278 public void visitClassDef(JCClassDecl tree) {
279 JCClassDecl that = (JCClassDecl) parameter;
280 result =
281 scan(tree.mods, that.mods)
282 && tree.name == that.name
283 && scan(tree.typarams, that.typarams)
284 && scan(tree.extending, that.extending)
285 && scan(tree.implementing, that.implementing)
286 && scan(tree.defs, that.defs);
287 }
288
|
242 }
243
244 @Override
245 public void visitBinary(JCBinary tree) {
246 JCBinary that = (JCBinary) parameter;
247 result =
248 scan(tree.lhs, that.lhs)
249 && scan(tree.rhs, that.rhs)
250 && tree.operator == that.operator;
251 }
252
253 @Override
254 public void visitBlock(JCBlock tree) {
255 JCBlock that = (JCBlock) parameter;
256 result = tree.flags == that.flags && scan(tree.stats, that.stats);
257 }
258
259 @Override
260 public void visitBreak(JCBreak tree) {
261 JCBreak that = (JCBreak) parameter;
262 result = scan(tree.value, that.value);
263 }
264
265 @Override
266 public void visitCase(JCCase tree) {
267 JCCase that = (JCCase) parameter;
268 result = scan(tree.pats, that.pats) && scan(tree.stats, that.stats);
269 }
270
271 @Override
272 public void visitCatch(JCCatch tree) {
273 JCCatch that = (JCCatch) parameter;
274 result = scan(tree.param, that.param) && scan(tree.body, that.body);
275 }
276
277 @Override
278 public void visitClassDef(JCClassDecl tree) {
279 JCClassDecl that = (JCClassDecl) parameter;
280 result =
281 scan(tree.mods, that.mods)
282 && tree.name == that.name
283 && scan(tree.typarams, that.typarams)
284 && scan(tree.extending, that.extending)
285 && scan(tree.implementing, that.implementing)
286 && scan(tree.defs, that.defs);
287 }
288
|