parse method
Parse source and return its render model. Invalid host text, a
fail-closed extraction deviation, or a contained native fault surfaces as
a FlarkParseException. A disposed backend throws a StateError.
Implementation
@override
RenderModel parse(String source) {
if (_disposed) throw StateError('WasmParseBackend used after dispose');
validateFlarkSourceText(source);
// A call that never returned left the instance mid-call.
if (_entered) _instantiate();
_entered = true;
try {
return _parse(source);
} finally {
_entered = false;
}
}