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

Function isSelectorlessNameChar

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

Source from the content-addressed store, hash-verified

1552}
1553
1554function isSelectorlessNameChar(code: number): boolean {
1555 return chars.isAsciiLetter(code) || chars.isDigit(code) || code === chars.$_;
1556}
1557
1558function isAttributeTerminator(code: number): boolean {
1559 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