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

Function isNameEnd

packages/compiler/src/ml_parser/lexer.ts:1481–1492  ·  view source on GitHub ↗
(code: number)

Source from the content-addressed store, hash-verified

1479}
1480
1481function isNameEnd(code: number): boolean {
1482 return (
1483 chars.isWhitespace(code) ||
1484 code === chars.$GT ||
1485 code === chars.$LT ||
1486 code === chars.$SLASH ||
1487 code === chars.$SQ ||
1488 code === chars.$DQ ||
1489 code === chars.$EQ ||
1490 code === chars.$EOF
1491 );
1492}
1493
1494function isPrefixEnd(code: number): boolean {
1495 return (

Callers 2

_consumeAttributeNameMethod · 0.85
endPredicateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected