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