@rightcapital/phpdoc-parser
Version:
TypeScript version of PHPDoc parser with support for intersection types and generics
18 lines (17 loc) • 464 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PhpDocTextNode = void 0;
const php_doc_child_node_1 = require("./php-doc-child-node");
class PhpDocTextNode extends php_doc_child_node_1.PhpDocChildNode {
constructor(text) {
super();
this.text = text;
}
toString() {
return this.text;
}
getNodeType() {
return 'PhpDocTextNode';
}
}
exports.PhpDocTextNode = PhpDocTextNode;