MCPcopy Create free account
hub / github.com/angular/angular / checkBinding

Function checkBinding

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

Source from the content-addressed store, hash-verified

1813}
1814
1815function checkBinding(exp: string, expected?: string) {
1816 const ast = parseBinding(exp);
1817 if (expected == null) expected = exp;
1818 expect(unparse(ast)).toEqual(expected);
1819 validate(ast);
1820}
1821
1822function checkAction(exp: string, expected?: string) {
1823 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