![JAR search and dependency download from the Maven repository](/logo.png)
package.cjs.yaml.nodes.YamlMapping.cjs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apidom-ast Show documentation
Show all versions of apidom-ast Show documentation
Tools necessary for parsing stage of ApiDOM, specifically for syntactic analysis.
The newest version!
"use strict";
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault").default;
exports.__esModule = true;
exports.default = void 0;
var _YamlCollection = _interopRequireDefault(require("./YamlCollection.cjs"));
var _predicates = require("./predicates.cjs");
class YamlMapping extends _YamlCollection.default {
static type = 'mapping';
}
Object.defineProperty(YamlMapping.prototype, 'content', {
get() {
return Array.isArray(this.children) ? this.children.filter(_predicates.isKeyValuePair) : [];
},
enumerable: true
});
var _default = exports.default = YamlMapping;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy