Lines Matching refs:tokenName
443 Token tokenName; in readObject() local
448 while (readToken(tokenName)) { in readObject()
450 while (tokenName.type_ == tokenComment && initialTokenOk) in readObject()
451 initialTokenOk = readToken(tokenName); in readObject()
454 if (tokenName.type_ == tokenObjectEnd && name.empty()) // empty object in readObject()
457 if (tokenName.type_ == tokenString) { in readObject()
458 if (!decodeString(tokenName, name)) in readObject()
460 } else if (tokenName.type_ == tokenNumber && features_.allowNumericKeys_) { in readObject()
462 if (!decodeNumber(tokenName, numberName)) in readObject()
494 return addErrorAndRecover("Missing '}' or object member name", tokenName, in readObject()
1440 Token tokenName; in readObject() local
1445 while (readToken(tokenName)) { in readObject()
1447 while (tokenName.type_ == tokenComment && initialTokenOk) in readObject()
1448 initialTokenOk = readToken(tokenName); in readObject()
1451 if (tokenName.type_ == tokenObjectEnd && in readObject()
1456 if (tokenName.type_ == tokenString) { in readObject()
1457 if (!decodeString(tokenName, name)) in readObject()
1459 } else if (tokenName.type_ == tokenNumber && features_.allowNumericKeys_) { in readObject()
1461 if (!decodeNumber(tokenName, numberName)) in readObject()
1471 return addErrorAndRecover(msg, tokenName, tokenObjectEnd); in readObject()
1499 return addErrorAndRecover("Missing '}' or object member name", tokenName, in readObject()