UNPKG

@rightcapital/phpdoc-parser

Version:

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

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