Debian Codegraph @

externs/w3c_elementtraversal.js

raw symbols SCIP
1 /*
2 * Copyright 2009 Closure Compiler Authors
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 /**
18 * @fileoverview Definitions for DOM Element Traversal interface.
19 * This file depends on w3c_dom1.js.
20 * The whole file has been fully type annotated.
21 * Created from:
22 * http://www.w3.org/TR/ElementTraversal/#ecmascript-bindings
23 *
24 * @externs
25 * @author [email protected] (Erik Arvidsson)
26 */
27
28 /**
29 * @type {Element}
30 * @see https://developer.mozilla.org/En/DOM/Element.firstElementChild
31 */
32 Element.prototype.firstElementChild;
33
34 /**
35 * @type {Element}
36 * @see https://developer.mozilla.org/En/DOM/Element.lastElementChild
37 */
38 Element.prototype.lastElementChild;
39
40 /**
41 * @type {Element}
42 * @see https://developer.mozilla.org/En/DOM/Element.previousElementSibling
43 */
44 Element.prototype.previousElementSibling;
45
46 /**
47 * @type {Element}
48 * @see https://developer.mozilla.org/En/DOM/Element.nextElementSibling
49 */
50 Element.prototype.nextElementSibling;
51
52 /**
53 * @type {number}
54 * @see https://developer.mozilla.org/En/DOM/Element.childElementCount
55 */
56 Element.prototype.childElementCount;