parseBinding method

ASTWithSource parseBinding(
  1. String input,
  2. String location,
  3. List<CompileIdentifierMetadata> exports
)

Parses an input, property, or attribute binding.

// <div [title]="renderTitle">
parseBinding('renderTitle', ...)

Implementation

ASTWithSource parseBinding(
  String input,
  String location,
  List<CompileIdentifierMetadata> exports,
) {
  _checkNoInterpolation(input, location);
  return ASTWithSource(
    parseBindingImpl(input, location, exports),
    input,
    location,
  );
}