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

Function checkBinding

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

Source from the content-addressed store, hash-verified

2062}
2063
2064function checkBinding(exp: string, expected?: string) {
2065 const ast = parseBinding(exp);
2066 if (expected == null) expected = exp;
2067 expect(unparse(ast)).toEqual(expected);
2068 validate(ast);
2069}
2070
2071function checkAction(exp: string, expected?: string) {
2072 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