UNPKG

php-parser

Version:

Parse PHP code from JS and returns its AST

23 lines (20 loc) 511 B
/** * Copyright (C) 2018 Glayzzle (BSD3 License) * @authors https://github.com/glayzzle/php-parser/graphs/contributors * @url http://glayzzle.com */ "use strict"; const Comment = require("./comment"); const KIND = "commentblock"; /** * A comment block (multiline) * @constructor CommentBlock * @memberOf module:php-parser * @extends {Comment} */ module.exports = Comment.extends( KIND, function CommentBlock(value, docs, location) { Comment.apply(this, [KIND, value, docs, location]); } );