| /trunk/main/idlc/source/ |
| H A D | parser.y | 514 AstScope* pScope = idlc()->scopes()->topNonNull(); variable 518 if ( pScope ) 520 pModule = new AstModule(*$3, pScope); 521 if( (pExists = pScope->lookupForAdd(pModule)) ) 538 pScope->addDeclaration(pModule); 585 AstScope* pScope = idlc()->scopes()->topNonNull(); variable 592 if ( pScope && $1 ) 594 pForward = new AstInterface(*$1, NULL, pScope); 596 if ( pDecl = pScope->lookupByName(pForward->getScopedName()) ) 604 idlc()->error()->error2(EIDL_REDEF_SCOPE, scopeAsDecl(pScope), pDecl); [all …]
|
| H A D | astscope.cxx | 125 AstScope* pScope = NULL; in lookupByName() local 136 pScope = pDecl->getScope(); in lookupByName() 138 if ( !pScope ) in lookupByName() 147 pDecl = pScope->lookupByName(scopedName); in lookupByName() 165 pScope = pDecl->getScope(); in lookupByName() 166 if ( pScope ) in lookupByName() 167 pDecl = pScope->lookupByName(scopedName); in lookupByName() 187 pScope = declAsScope(pDecl); in lookupByName() 188 if( pScope ) in lookupByName() 190 pDecl = pScope->lookupByNameLocal(scopedName.getToken(nOffset, ':', i )); in lookupByName() [all …]
|
| H A D | idlc.cxx | 48 AstDeclaration* SAL_CALL scopeAsDecl(AstScope* pScope) in scopeAsDecl() argument 50 if (pScope == NULL) return NULL; in scopeAsDecl() 52 switch( pScope->getScopeNodeType() ) in scopeAsDecl() 56 return (AstService*)(pScope); in scopeAsDecl() 59 return (AstModule*)(pScope); in scopeAsDecl() 61 return (AstConstants*)(pScope); in scopeAsDecl() 63 return (AstInterface*)(pScope); in scopeAsDecl() 65 return (AstOperation*)(pScope); in scopeAsDecl() 67 return (AstException*)(pScope); in scopeAsDecl() 69 return (AstUnion*)(pScope); in scopeAsDecl() [all …]
|
| H A D | astdeclaration.cxx | 50 AstDeclaration::AstDeclaration(NodeType type, const OString& name, AstScope* pScope) in AstDeclaration() argument 52 , m_pScope(pScope) in AstDeclaration() 170 AstScope* pScope = declAsScope(this); in dump() local 173 if ( pScope ) in dump() 175 DeclList::const_iterator iter = pScope->getIteratorBegin(); in dump() 176 DeclList::const_iterator end = pScope->getIteratorEnd(); in dump()
|
| H A D | fehelper.cxx | 81 AstScope* pScope = idlc()->scopes()->bottom(); in compose() local 82 if ( pScope ) in compose() 84 AstDeclaration* pDecl2 = pScope->addDeclaration(pArray); in compose() 114 AstScope* pScope = idlc()->scopes()->topNonNull(); in initializeInherits() local 115 AstDeclaration* pDecl = pScope->lookupByName(*pInherits); in initializeInherits()
|
| H A D | astarray.cxx | 30 AstArray::AstArray(const OString& name, AstType* pType, const ExprList& rDimExpr, AstScope* pScope) in AstArray() argument 31 : AstType(NT_array, name, pScope) in AstArray() 40 AstArray::AstArray(AstType* pType, const ExprList& rDimExpr, AstScope* pScope) in AstArray() argument 41 : AstType(NT_array, OString("array_"), pScope) in AstArray()
|
| H A D | aststack.cxx | 93 AstStack* AstStack::push(AstScope* pScope) in push() argument 115 m_stack[m_top++] = pScope; in push() 122 AstScope *pScope; in pop() local 126 pScope = m_stack[--m_top]; in pop()
|
| H A D | astconstant.cxx | 37 AstScope* pScope) in AstConstant() argument 38 : AstDeclaration(nodeType, name, pScope) in AstConstant() 47 AstScope* pScope) in AstConstant() argument 48 : AstDeclaration(NT_const, name, pScope) in AstConstant()
|
| H A D | aststruct.cxx | 38 AstStruct* pBaseType, AstScope* pScope) in AstStruct() argument 39 : AstType(NT_struct, name, pScope) in AstStruct() 54 AstScope* pScope) in AstStruct() argument 55 : AstType(type, name, pScope) in AstStruct()
|
| H A D | astunion.cxx | 35 AstUnion::AstUnion(const ::rtl::OString& name, AstType* pDiscType, AstScope* pScope) in AstUnion() argument 36 : AstStruct(NT_union, name, NULL, pScope) in AstUnion() 372 …nBranch(AstUnionLabel* pLabel, AstType const * pType, const ::rtl::OString& name, AstScope* pScope) in AstUnionBranch() argument 373 : AstMember(NT_union_branch, pType, name, pScope) in AstUnionBranch()
|
| /trunk/main/autodoc/source/parser/cpp/ |
| H A D | icprivow.cxx | 39 : pScope(0) in Owner_Namespace() 46 pScope = &io_rScope; in SetAnotherNamespace() 52 return pScope->Search_LocalClass(i_sLocalName).IsValid(); in HasClass() 59 csv_assert(pScope != 0); in do_Add_Class() 60 pScope->Add_LocalClass(i_sLocalName, i_nId); in do_Add_Class() 67 csv_assert(pScope != 0); in do_Add_Enum() 68 pScope->Add_LocalEnum(i_sLocalName, i_nId); in do_Add_Enum() 75 csv_assert(pScope != 0); in do_Add_Typedef() 76 pScope->Add_LocalTypedef(i_sLocalName, i_nId); in do_Add_Typedef() 84 csv_assert(pScope != 0); in do_Add_Operation() [all …]
|
| /trunk/main/idlc/inc/idlc/ |
| H A D | astmodule.hxx | 33 AstModule(const ::rtl::OString& name, AstScope* pScope) in AstModule() argument 34 : AstDeclaration(NT_module, name, pScope) in AstModule() 37 AstModule(NodeType type, const ::rtl::OString& name, AstScope* pScope) in AstModule() argument 38 : AstDeclaration(type, name, pScope) in AstModule()
|
| H A D | astservice.hxx | 33 AstService(const ::rtl::OString& name, AstScope* pScope) in AstService() argument 34 : AstDeclaration(NT_service, name, pScope) in AstService() 38 AstService(const NodeType type, const ::rtl::OString& name, AstScope* pScope) in AstService() argument 39 : AstDeclaration(type, name, pScope) in AstService()
|
| H A D | astmember.hxx | 36 AstType const * pType, rtl::OString const & name, AstScope * pScope): in AstMember() argument 37 AstDeclaration(NT_member, name, pScope), m_pType(pType) {} in AstMember() 46 AstScope * pScope): in AstMember() argument 47 AstDeclaration(type, name, pScope), m_pType(pType) {} in AstMember()
|
| H A D | astconstants.hxx | 31 AstConstants(const ::rtl::OString& name, AstScope* pScope) in AstConstants() argument 32 : AstModule(NT_constants, name, pScope) in AstConstants()
|
| H A D | astexception.hxx | 31 AstException(const ::rtl::OString& name, AstException* pBaseType, AstScope* pScope) in AstException() argument 32 : AstStruct(NT_exception, name, pBaseType, pScope) in AstException()
|
| H A D | asttype.hxx | 31 AstType(const NodeType type, const ::rtl::OString& name, AstScope* pScope) in AstType() argument 32 : AstDeclaration(type, name, pScope) in AstType()
|
| H A D | astobserves.hxx | 31 AstObserves(AstInterface* pRealInterface, const ::rtl::OString& name, AstScope* pScope) in AstObserves() argument 32 : AstDeclaration(NT_observes, name, pScope) in AstObserves()
|
| H A D | astneeds.hxx | 31 AstNeeds(AstService* pRealService, const ::rtl::OString& name, AstScope* pScope) in AstNeeds() argument 32 : AstDeclaration(NT_needs, name, pScope) in AstNeeds()
|
| H A D | astbasetype.hxx | 33 AstBaseType(const ExprType type, const ::rtl::OString& name, AstScope* pScope) in AstBaseType() argument 34 : AstType(NT_predefined, name, pScope) in AstBaseType()
|
| H A D | astservicemember.hxx | 32 const ::rtl::OString& name, AstScope* pScope) in AstServiceMember() argument 33 : AstDeclaration(NT_service_member, name, pScope) in AstServiceMember()
|
| H A D | astinterfacemember.hxx | 32 const ::rtl::OString& name, AstScope* pScope) in AstInterfaceMember() argument 33 : AstDeclaration(NT_interface_member, name, pScope) in AstInterfaceMember()
|
| H A D | astsequence.hxx | 31 AstSequence(AstType* pMemberType, AstScope* pScope) in AstSequence() argument 32 : AstType(NT_sequence, ::rtl::OString("[]")+pMemberType->getScopedName(), pScope) in AstSequence()
|
| H A D | astarray.hxx | 32 … AstArray(const ::rtl::OString& name, AstType* pType, const ExprList& rDimExpr, AstScope* pScope); 33 AstArray(AstType* pType, const ExprList& rDimExpr, AstScope* pScope);
|
| H A D | astconstant.hxx | 35 AstExpression* pExpr, const ::rtl::OString& name, AstScope* pScope); 37 const ::rtl::OString& name, AstScope* pScope);
|