Home
last modified time | relevance | path

Searched refs:unionType (Results 1 - 3 of 3) sorted by relevance

/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/
H A Dhdi_code_emitter.cpp292 AutoPtr<ASTUnionType> unionType = (static_cast<ASTUnionType*>(astType.Get())); in NewUnionTypeEmitter() local
293 for (size_t i = 0; i < unionType->GetMemberNumber(); i++) { in NewUnionTypeEmitter()
294 unionTypeEmitter->AddMember(unionType->GetMemberName(i), GetTypeEmitter(unionType->GetMemberType(i))); in NewUnionTypeEmitter()
/foundation/ability/idl_tool/idl_tool_2/parser/
H A Dparser.h170 void ParseUnionMember(const AutoPtr<ASTUnionType> &unionType);
173 const AutoPtr<ASTUnionType> &unionType, const AutoPtr<ASTType> &type, const std::string &name) const;
H A Dparser.cpp1458 AutoPtr<ASTUnionType> unionType = new ASTUnionType; in ParseUnionDeclaration() local
1459 unionType->SetAttribute(ParseUserDefTypeAttr(attrs)); in ParseUnionDeclaration()
1466 unionType->SetName(token.value); in ParseUnionDeclaration()
1477 ParseUnionMember(unionType); in ParseUnionDeclaration()
1493 unionType->SetNamespace(ast_->ParseNamespace(ast_->GetFullName())); in ParseUnionDeclaration()
1494 ast_->AddTypeDefinition(unionType.Get()); in ParseUnionDeclaration()
1497 void Parser::ParseUnionMember(const AutoPtr<ASTUnionType> &unionType) in ParseUnionMember() argument
1518 if (!AddUnionMember(unionType, memberType, memberName)) { in ParseUnionMember()
1537 const AutoPtr<ASTUnionType> &unionType, const AutoPtr<ASTType> &type, const std::string &name) const in AddUnionMember()
1539 for (size_t i = 0; i < unionType in AddUnionMember()
1536 AddUnionMember( const AutoPtr<ASTUnionType> &unionType, const AutoPtr<ASTType> &type, const std::string &name) const AddUnionMember() argument
[all...]

Completed in 4 milliseconds