UNPKG

woltlab-compiler

Version:

A compiler for WoltLab-Package Archives and WoltLab-Package Components

31 lines 799 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const BidirectionalCollection_1 = require("../Collections/BidirectionalCollection"); /** * Represents a collection of items. */ class NodeCollection extends BidirectionalCollection_1.BidirectionalCollection { /** * Initializes a new instance of the `NodeCollection<T>` class. * * @param owner * The owner of the collection. */ constructor(owner) { super(owner); } /** * @inheritdoc */ GetParent(child) { return child.Parent; } /** * @inheritdoc */ SetParent(child, parent) { child.Parent = parent; } } exports.NodeCollection = NodeCollection; //# sourceMappingURL=NodeCollection.js.map