Debian Codegraph @

extensions/VisualEditor/lib/ve/src/ve.LeafNode.js

raw symbols SCIP
1 /*!
2 * VisualEditor LeafNode mixin.
3 *
4 * @copyright See AUTHORS.txt
5 */
6
7 /**
8 * Leaf node mixin.
9 *
10 * @class
11 * @abstract
12 * @constructor
13 */
14 ve.LeafNode = function VeLeafNode() {
15 //
16 };
17
18 /* Methods */
19
20 /**
21 * Check if the node has children.
22 *
23 * @return {boolean} Whether the node has children
24 */
25 ve.LeafNode.prototype.hasChildren = function () {
26 return false;
27 };