@rightcapital/phpdoc-parser
Version:
TypeScript version of PHPDoc parser with support for intersection types and generics
20 lines (19 loc) • 686 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ParamOutTagValueNode = void 0;
const php_doc_tag_value_node_1 = require("./php-doc-tag-value-node");
class ParamOutTagValueNode extends php_doc_tag_value_node_1.PhpDocTagValueNode {
constructor(type, parameterName, description) {
super();
this.type = type;
this.parameterName = parameterName;
this.description = description;
}
toString() {
return `${this.type.toString()} ${this.parameterName} ${this.description}`.trim();
}
getNodeType() {
return 'ParamOutTagValueNode';
}
}
exports.ParamOutTagValueNode = ParamOutTagValueNode;