visitContainer method

  1. @override
  2. @mustCallSuper
TemplateAst visitContainer(
  1. ContainerAst astNode, [
  2. C? context
])
override

Visits all container ASTs.

Implementation

@override
@mustCallSuper
TemplateAst visitContainer(ContainerAst astNode, [C? context]) {
  return ContainerAst.from(
    astNode,
    annotations: visitAll(astNode.annotations, context) ?? [],
    childNodes: visitAll(astNode.childNodes, context) ?? [],
    stars: visitAll(astNode.stars, context) ?? [],
  );
}