* Walks to the next or previous node and returns that node or null if it wasn't found. * * @method walk * @param {Boolean} prev Optional previous node state defaults to false. * @return {tinymce.html.Node} Node that is next to or previous of the current node.
(prev?: boolean)
| 560 | * @return {tinymce.html.Node} Node that is next to or previous of the current node. |
| 561 | */ |
| 562 | public walk(prev?: boolean): AstNode | null | undefined { |
| 563 | return walk(this, null, prev); |
| 564 | } |
| 565 | } |
| 566 | |
| 567 | export default AstNode; |
no test coverage detected