createErased

Creates one detached modifier node through the typed creation hook.

The creation hook must return a fresh node that has never belonged to a runtime. The runtime claims the node immediately after this function returns. Node construction initializes ordinary data only; lifecycle attachment owns external resources.

Return

a fresh detached node of the declared node class.

Parameters

element

the description to create.

Throws

when the token or returned node type is wrong.

when node creation fails.