replaceChildrenOfRegularElement function
RegularElement
replaceChildrenOfRegularElement(
- RegularElement el,
- Map<
String?, RegularElement> definedOverrides, - void onError()?,
- bool replaceWithDefault,
- bool anyTemplatesRemain,
Implementation
RegularElement replaceChildrenOfRegularElement(
RegularElement el,
Map<String?, RegularElement> definedOverrides,
void Function(JaelError e)? onError,
bool replaceWithDefault,
bool anyTemplatesRemain) {
var children = allChildrenOfRegularElement(
el, definedOverrides, onError, replaceWithDefault, anyTemplatesRemain);
return RegularElement(el.lt, el.tagName, el.attributes, el.gt, children,
el.lt2, el.slash, el.tagName2, el.gt2);
}