visitEmbeddedContent method
Visits all embedded content ASTs.
Implementation
@override
String visitEmbeddedContent(
EmbeddedContentAst astNode, [
StringBuffer? context,
]) {
context ??= StringBuffer();
if (astNode.selector != null) {
context.write('<ng-content select="${astNode.selector}">');
} else {
context.write('<ng-content>');
}
context.write('</ng-content>');
return context.toString();
}