equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
234 public R visitErroneous(ErroneousTree node, P p) { |
234 public R visitErroneous(ErroneousTree node, P p) { |
235 return null; |
235 return null; |
236 } |
236 } |
237 |
237 |
238 /** |
238 /** |
|
239 * {@inheritDoc} This implementation scans the children in left to right order. |
|
240 * |
|
241 * @param node {@inheritDoc} |
|
242 * @param p {@inheritDoc} |
|
243 * @return the result of scanning |
|
244 */ |
|
245 @Override |
|
246 public R visitHidden(HiddenTree node, P p) { |
|
247 return scan(node.getBody(), p); |
|
248 } |
|
249 |
|
250 /** |
239 * {@inheritDoc} This implementation returns {@code null}. |
251 * {@inheritDoc} This implementation returns {@code null}. |
240 * |
252 * |
241 * @param node {@inheritDoc} |
253 * @param node {@inheritDoc} |
242 * @param p {@inheritDoc} |
254 * @param p {@inheritDoc} |
243 * @return the result of scanning |
255 * @return the result of scanning |