scanName method
Implementation
Token scanName(int x) {
while (true) {
if (x == char.BACKSLASH) return scanComplexName(x);
if (!isNamePart(x)) {
Token tok = emitValueToken(Token.NAME);
tok.value = tok.text;
return tok..binaryPrecedence = Precedence.RELATIONAL;
}
x = next();
}
}