Lines Matching refs:attr
514 LogError(__func__, __LINE__, token, StringHelper::Format("Duplicate declared attr freezecontrol"));
520 LogError(__func__, __LINE__, token, StringHelper::Format("freezecontrol attr cannot be empty"));
571 for (const auto &attr : attrs) {
572 switch (attr.kind) {
589 LogError(__func__, __LINE__, attr, std::string("illegal attribute of interface"));
748 for (const auto &attr : attrs) {
749 switch (attr.kind) {
764 methodAttr->SetCacheableTimeString(attr.value);
770 LogError(__func__, __LINE__, attr, std::string("illegal attribute of interface"));
896 AutoPtr<ASTParamAttr> attr = new ASTParamAttr(ASTParamAttr::PARAM_NONE);
899 return attr;
905 SetParamAttrVal(token, attr);
923 return attr;
926 if (attr->value_ == ASTParamAttr::PARAM_NONE) {
927 attr->value_ |= ASTParamAttr::PARAM_IN;
931 return attr;
950 void Parser::SetParamAttrVal(Token token, AutoPtr<ASTParamAttr> attr)
954 attr->value_ |= ASTParamAttr::PARAM_IN;
957 attr->value_ |= ASTParamAttr::PARAM_OUT;
960 attr->value_ |= ASTParamAttr::PARAM_INOUT;
1556 AutoPtr<ASTAttr> attr = new ASTAttr();
1560 attr->SetValue(ASTAttr::FULL);
1563 attr->SetValue(ASTAttr::LITE);
1566 attr->SetValue(ASTAttr::MINI);
1575 if (attr->IsNone()) {
1576 attr->SetValue(ASTAttr::FULL | ASTAttr::LITE | ASTAttr::MINI);
1579 return attr;