visitBoundText method

  1. @override
void visitBoundText(
  1. BoundTextAst ast,
  2. CompileElement parent
)
override

Implementation

@override
void visitBoundText(BoundTextAst ast, CompileElement parent) {
  if (_maybeSkipNode(parent, ast.ngContentIndex)) {
    _deadCodeWarning('Bound text node (${ast.value})', ast, parent);
    return;
  }
  _visitText(
    convertToBinding(ast, compileDirectiveMetadata: _view.component),
    parent,
    ast.ngContentIndex,
  );
}