MCPcopy
hub / github.com/angular/angular / checkBinding

Function checkBinding

packages/compiler/test/expression_parser/parser_spec.ts:1812–1817  ·  view source on GitHub ↗
(exp: string, expected?: string)

Source from the content-addressed store, hash-verified

1810}
1811
1812function checkBinding(exp: string, expected?: string) {
1813 const ast = parseBinding(exp);
1814 if (expected == null) expected = exp;
1815 expect(unparse(ast)).toEqual(expected);
1816 validate(ast);
1817}
1818
1819function checkAction(exp: string, expected?: string) {
1820 const ast = parseAction(exp);

Callers 1

parser_spec.tsFile · 0.85

Calls 3

unparseFunction · 0.90
validateFunction · 0.90
parseBindingFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…