Home
last modified time | relevance | path

Searched refs:CACHEABLE (Results 1 - 10 of 10) sorted by relevance

/foundation/ability/idl_tool/idl_tool_2/ast/
H A Dast_method.h118 if (attr->HasValue(ASTAttr::CACHEABLE)) { in SetCacheable()
119 attr_->SetValue(ASTAttr::CACHEABLE); in SetCacheable()
136 return attr_->HasValue(ASTAttr::CACHEABLE); in GetCacheable()
H A Dast_attribute.h32 static constexpr Attribute CACHEABLE = 0x1U << 5; member in OHOS::Idl::ASTAttr
H A Dast_attribute.cpp105 if (!HasValue(ASTAttr::CACHEABLE)) { in CacheableStrToInt()
/foundation/ability/idl_tool/parser/
H A Dtoken.h42 CACHEABLE, member in OHOS::Idl::Token
H A Dparser.cpp242 if (token != Token::ONEWAY && token != Token::CACHEABLE) { in ParseMethodProperties()
251 } else if (token == Token::CACHEABLE && cacheable == false) { in ParseMethodProperties()
253 LogError(Token::CACHEABLE, "cacheable time format is incorrect."); in ParseMethodProperties()
H A Dlexer.cpp56 keywords_[String("cacheable")] = Token::CACHEABLE; in InitializeKeywords()
/foundation/ability/idl_tool/idl_tool_2/lexer/
H A Dtoken.h64 CACHEABLE, // "cacheable" member in OHOS::Idl::TokenType
H A Dlexer.cpp59 {"cacheable", TokenType::CACHEABLE },
/foundation/ability/idl_tool/idl_tool_2/parser/
H A Dintf_type_check.cpp129 if (((method->GetAttribute()->GetValue()) & (~(ASTAttr::ONEWAY | ASTAttr::CACHEABLE))) != 0) { in CheckIntfSaAstMethods()
134 if (method->GetAttribute()->HasValue(ASTAttr::CACHEABLE) && in CheckIntfSaAstMethods()
H A Dparser.cpp487 case TokenType::CACHEABLE: { in ParseAttrUnit()
762 case TokenType::CACHEABLE: in ParseMethodAttr()
763 methodAttr->SetValue(ASTAttr::CACHEABLE); in ParseMethodAttr()

Completed in 7 milliseconds