@rightcapital/phpdoc-parser
Version:
TypeScript version of PHPDoc parser with support for intersection types and generics
19 lines (18 loc) • 585 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.UsesTagValueNode = void 0;
const php_doc_tag_value_node_1 = require("./php-doc-tag-value-node");
class UsesTagValueNode 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 'UsesTagValueNode';
}
}
exports.UsesTagValueNode = UsesTagValueNode;