visit<T extends TemplateAst> method
T?
visit<T extends TemplateAst>(
- T? astNode, [
- C? context
Visits a single TemplateAst node, capturing the type.
Implementation
T? visit<T extends TemplateAst>(T? astNode, [C? context]) =>
astNode?.accept(this, context) as T?;