Lines Matching defs:value
140 return token.value;
163 std::string packageName = token.value;
225 token.value.c_str()));
229 std::string interfaceToken = token.value;
235 token.value.c_str()));
261 token.value.c_str()));
265 std::string supportDelegator = token.value;
271 token.value.c_str()));
310 LogError(__func__, __LINE__, token, StringHelper::Format("expected ';' before '%s'.", token.value.c_str()));
321 std::string importName = token.value;
354 std::string seqName = token.value;
399 LogError(__func__, __LINE__, token, StringHelper::Format("'%s' is not expected", token.value.c_str()));
425 LogError(__func__, __LINE__, token, StringHelper::Format("'%s' is not expected", token.value.c_str()));
480 token.value.c_str()));
505 token.value.c_str()));
519 if (token.value == "]") {
522 freezecontrolAttr_ = token.value;
539 size_t index = token.value.rfind('.');
541 interfaceType->SetName(StringHelper::SubStr(token.value, index + 1));
542 interfaceType->SetNamespace(ast_->ParseNamespace(token.value));
544 interfaceType->SetName(token.value);
690 method->SetName(token.value);
728 if (token.kind == TokenType::ID && ast_->FindType(token.value) == nullptr) {
764 methodAttr->SetCacheableTimeString(attr.value);
795 // if the attribute of method is empty, the default value is attribute of interface
880 paramName = token.value;
991 token.value.c_str()));
1041 type = ast_->FindType(token.value);
1052 std::string namePrefix = lexer_.GetToken().value;
1059 type = ast_->FindType(namePrefix + " " + token.value);
1064 StringHelper::Format("'unsigned %s' was not declared in the idl file", token.value.c_str()));
1142 LogError(__func__, __LINE__, token, StringHelper::Format("key type '%s' is illegal", token.value.c_str()));
1156 LogError(__func__, __LINE__, token, StringHelper::Format("value type '%s' is illegal", token.value.c_str()));
1228 return ast_->FindType(token.value);
1237 AutoPtr<ASTType> type = ast_->FindType(token.value);
1254 enumType->SetName(token.value);
1327 AutoPtr<ASTEnumValue> enumValue = new ASTEnumValue(token.value);
1362 structType->SetName(token.value);
1440 std::string memberName = token.value;
1466 unionType->SetName(token.value);
1517 std::string memberName = token.value;
1520 "union not support this type or name of member duplicate '%s'", token.value.c_str()));
1570 token.value.c_str()));
1585 AutoPtr<ASTExpr> value = ParseAndExpr();
1587 return value;
1760 if (!CheckNumber(token.value)) {
1761 LogError(__func__, __LINE__, token, StringHelper::Format("unknown integer number: '%s'", token.value.c_str()));
1766 expr->value_ = token.value;
1773 if (!g_currentEnum->HasMember(token.value)) {
1774 LogError(__func__, __LINE__, token, StringHelper::Format("unknown enum member: '%s'", token.value.c_str()));
1779 expr->value_ = token.value;
1943 std::string extendsInterfaceName = token.value;