UNPKG

@rightcapital/phpdoc-parser

Version:

TypeScript version of PHPDoc parser with support for intersection types and generics

19 lines (18 loc) 600 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SelfOutTagValueNode = void 0; const php_doc_tag_value_node_1 = require("./php-doc-tag-value-node"); class SelfOutTagValueNode extends php_doc_tag_value_node_1.PhpDocTagValueNode { constructor(type, description) { super(); this.type = type; this.description = description; } toString() { return `${this.type.toString()} ${this.description}`.trim(); } getNodeType() { return 'SelfOutTagValueNode'; } } exports.SelfOutTagValueNode = SelfOutTagValueNode;