Home
last modified time | relevance | path

Searched refs:ONEWAY (Results 1 - 13 of 13) sorted by relevance

/foundation/ability/idl_tool/parser/
H A Dtoken.h38 ONEWAY, member in OHOS::Idl::Token
H A Dlexer.cpp51 keywords_[String("oneway")] = Token::ONEWAY; in InitializeKeywords()
322 case Token::ONEWAY: in DumpTokenSecond()
H A Dparser.cpp110 if (token != Token::ONEWAY) { in ParseInterface()
242 if (token != Token::ONEWAY && token != Token::CACHEABLE) { in ParseMethodProperties()
248 if (token == Token::ONEWAY && isParseOneway == false) { in ParseMethodProperties()
/foundation/ability/idl_tool/idl_tool_2/parser/
H A Dintf_type_check.cpp82 if ((attr != ASTAttr::NONE) && (attr != ASTAttr::ONEWAY)) { in CheckIntfSaAst()
125 bool onewayInterface = (interfaceType->GetAttribute()->GetValue() == ASTAttr::ONEWAY); in CheckIntfSaAstMethods()
129 if (((method->GetAttribute()->GetValue()) & (~(ASTAttr::ONEWAY | ASTAttr::CACHEABLE))) != 0) { in CheckIntfSaAstMethods()
135 !method->GetAttribute()->HasValue(ASTAttr::ONEWAY)) { in CheckIntfSaAstMethods()
145 if ((onewayInterface || method->GetAttribute()->GetValue() == ASTAttr::ONEWAY) && in CheckIntfSaAstMethods()
H A Dparser.cpp477 case TokenType::ONEWAY: { in ParseAttrUnit()
585 case TokenType::ONEWAY: in ParseInfAttrInfo()
586 infAttr->SetValue(ASTAttr::ONEWAY); in ParseInfAttrInfo()
759 case TokenType::ONEWAY: in ParseMethodAttr()
760 methodAttr->SetValue(ASTAttr::ONEWAY); in ParseMethodAttr()
817 method->GetAttribute()->SetValue(ASTAttr::ONEWAY); in CheckMethodAttr()
/foundation/ability/idl_tool/idl_tool_2/ast/
H A Dast_attribute.h30 static constexpr Attribute ONEWAY = 0x1U << 3; member in OHOS::Idl::ASTAttr
H A Dast_attribute.cpp36 if (value_ & ASTAttr::ONEWAY) { in ToString()
H A Dast_interface_type.h79 return attr_->HasValue(ASTAttr::ONEWAY); in IsOneWay()
H A Dast_method.h65 return attr_->HasValue(ASTAttr::ONEWAY); in IsOneWay()
/foundation/ability/idl_tool/idl_tool_2/lexer/
H A Dtoken.h58 ONEWAY, // "oneway" member in OHOS::Idl::TokenType
H A Dlexer.cpp53 {"oneway", TokenType::ONEWAY },
/foundation/ability/idl_tool/idl_tool_2/metadata/
H A Dmetadata_reader.cpp115 infAttr->SetValue(ASTAttr::ONEWAY); in ReadMetaInterface()
137 methodAttr->SetValue(ASTAttr::ONEWAY); in ReadMetaMethod()
H A Dmetadata_builder.cpp337 mi->properties_ = interface->GetAttribute()->GetValue() == ASTAttr::ONEWAY ? INTERFACE_PROPERTY_ONEWAY : 0; in WriteMetaInterface()
362 mm->properties_ = method->GetAttribute()->GetValue() == ASTAttr::ONEWAY ? METHOD_PROPERTY_ONEWAY : 0; in WriteMetaMethod()

Completed in 10 milliseconds