@wpkernel/php-json-ast v0.12.6-beta.3
@wpkernel/php-json-ast / buildScalarString
Function: buildScalarString()
ts
function buildScalarString(value, attributes?): PhpScalarString;Builds a PHP string scalar node.
Parameters
value
string
The string value.
attributes?
Readonly<Record<string, unknown>>
Optional attributes for the node.
Returns
A PhpScalarString node.
