andersca | c86bc24 | 2006-08-15 00:59:42 +0000 | [diff] [blame] | 1 | /* |
darin@apple.com | e4f9a66 | 2008-02-08 10:35:20 +0000 | [diff] [blame] | 2 | * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. |
weinig | cd7c0b3 | 2006-09-07 22:06:21 +0000 | [diff] [blame] | 3 | * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
andersca | c86bc24 | 2006-08-15 00:59:42 +0000 | [diff] [blame] | 4 | * |
| 5 | * This library is free software; you can redistribute it and/or |
| 6 | * modify it under the terms of the GNU Library General Public |
| 7 | * License as published by the Free Software Foundation; either |
| 8 | * version 2 of the License, or (at your option) any later version. |
| 9 | * |
| 10 | * This library is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 | * Library General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU Library General Public License |
| 16 | * along with this library; see the file COPYING.LIB. If not, write to |
ddkilzer | c8eccec | 2007-09-26 02:29:57 +0000 | [diff] [blame] | 17 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 18 | * Boston, MA 02110-1301, USA. |
andersca | c86bc24 | 2006-08-15 00:59:42 +0000 | [diff] [blame] | 19 | */ |
| 20 | |
| 21 | module traversal { |
| 22 | |
weinig | cd7c0b3 | 2006-09-07 22:06:21 +0000 | [diff] [blame] | 23 | // Introduced in DOM Level 2: |
eric@webkit.org | eb5cef4 | 2008-10-24 23:46:30 +0000 | [diff] [blame] | 24 | interface [ |
haraken@chromium.org | 72b14d6 | 2012-02-04 10:12:47 +0000 | [diff] [blame] | 25 | JSCustomMarkFunction |
eric@webkit.org | eb5cef4 | 2008-10-24 23:46:30 +0000 | [diff] [blame] | 26 | ] NodeIterator { |
andersca | c86bc24 | 2006-08-15 00:59:42 +0000 | [diff] [blame] | 27 | readonly attribute Node root; |
| 28 | readonly attribute unsigned long whatToShow; |
timothy@apple.com | 754474e | 2008-10-07 21:49:55 +0000 | [diff] [blame] | 29 | readonly attribute NodeFilter filter; |
andersca | c86bc24 | 2006-08-15 00:59:42 +0000 | [diff] [blame] | 30 | readonly attribute boolean expandEntityReferences; |
| 31 | readonly attribute Node referenceNode; |
| 32 | readonly attribute boolean pointerBeforeReferenceNode; |
weinig | ac93628 | 2006-09-29 20:29:16 +0000 | [diff] [blame] | 33 | |
abarth@webkit.org | e640c84 | 2010-04-27 20:55:11 +0000 | [diff] [blame] | 34 | [CallWith=ScriptState] Node nextNode() |
andersca | c86bc24 | 2006-08-15 00:59:42 +0000 | [diff] [blame] | 35 | raises (DOMException); |
abarth@webkit.org | e640c84 | 2010-04-27 20:55:11 +0000 | [diff] [blame] | 36 | [CallWith=ScriptState] Node previousNode() |
andersca | c86bc24 | 2006-08-15 00:59:42 +0000 | [diff] [blame] | 37 | raises (DOMException); |
| 38 | void detach(); |
| 39 | }; |
andersca | c86bc24 | 2006-08-15 00:59:42 +0000 | [diff] [blame] | 40 | |
weinig | ac93628 | 2006-09-29 20:29:16 +0000 | [diff] [blame] | 41 | } |