@wpkernel/php-json-ast v0.12.6-beta.3
@wpkernel/php-json-ast / buildDocComment
Function: buildDocComment()
ts
function buildDocComment(lines, location): PhpDocComment;Builds a PHP DocBlock comment node.
Parameters
lines
readonly string[]
An array of strings, where each string is a line of the docblock content.
location
PhpCommentLocation = {}
Optional location information for the comment.
Returns
A PhpDocComment node.
