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

Function isNameEnd

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

Source from the content-addressed store, hash-verified

1320}
1321
1322function isNameEnd(code: number): boolean {
1323 return (
1324 chars.isWhitespace(code) ||
1325 code === chars.$GT ||
1326 code === chars.$LT ||
1327 code === chars.$SLASH ||
1328 code === chars.$SQ ||
1329 code === chars.$DQ ||
1330 code === chars.$EQ ||
1331 code === chars.$EOF
1332 );
1333}
1334
1335function isPrefixEnd(code: number): boolean {
1336 return (

Callers 2

_consumeAttributeNameMethod · 0.85
endPredicateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected