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

Function isSelectorlessNameChar

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

Source from the content-addressed store, hash-verified

1537}
1538
1539function isSelectorlessNameChar(code: number): boolean {
1540 return chars.isAsciiLetter(code) || chars.isDigit(code) || code === chars.$_;
1541}
1542
1543function isAttributeTerminator(code: number): boolean {
1544 return code === chars.$SLASH || code === chars.$GT || code === chars.$LT || code === chars.$EOF;

Callers 2

_consumeComponentNameMethod · 0.85
_consumeDirectiveMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected