/aoo42x/main/idlc/source/ |
H A D | astscope.cxx | 84 return pDecl; in addDeclaration() 94 return pDecl; in addDeclaration() 102 return pDecl; in addDeclaration() 133 if ( !pDecl ) in lookupByName() 148 return pDecl; in lookupByName() 157 if ( !pDecl ) in lookupByName() 163 if ( pDecl ) in lookupByName() 201 if ( pDecl && (pDecl->getLocalName() != "") ) in lookupByName() 214 return pDecl; in lookupByName() 273 if ( !pDecl ) in lookupPrimitiveType() [all …]
|
H A D | astunion.cxx | 136 AstDeclaration *pDecl = NULL; in lookupDefault() local 140 pDecl = *iter; in lookupDefault() 183 AstDeclaration* pDecl = NULL; in lookupLabel() local 187 pDecl = *iter; in lookupLabel() 190 pB = (AstUnionBranch*)pDecl; in lookupLabel() 234 if ( pDecl == NULL || pDecl->getScope() != pEnum) in lookupEnum() 244 pDecl = NULL; in lookupEnum() 248 pDecl = *iter; in lookupEnum() 251 pB = (AstUnionBranch*)pDecl; in lookupEnum() 297 AstDeclaration* pDecl = NULL; in dump() local [all …]
|
H A D | parser.y | 1670 if ( !pDecl ) 1688 delete pDecl; 1736 if ( pDecl && (pDecl->getNodeType() == NT_interface) ) 1781 if ( pDecl && (pDecl->getNodeType() == NT_service) ) 1828 if ( pDecl && (pDecl->getNodeType() == NT_interface) ) 1870 if ( pDecl && (pDecl->getNodeType() == NT_service) ) 2151 if ( !pDecl ) 2169 delete pDecl; 2783 if ( !pDecl ) 2806 delete pDecl; [all …]
|
H A D | fehelper.cxx | 57 AstType const * FeDeclarator::compose(AstDeclaration const * pDecl) in compose() argument 62 if ( pDecl == 0 ) in compose() 66 if ( !pDecl->isType() ) in compose() 68 idlc()->error()->noTypeError(pDecl); in compose() 71 pType = (AstType*)pDecl; in compose() 115 AstDeclaration* pDecl = pScope->lookupByName(*pInherits); in initializeInherits() local 116 if ( pDecl ) in initializeInherits() 118 AstDeclaration const * resolved = resolveTypedefs(pDecl); in initializeInherits() 124 if ( idlc()->error()->checkPublished( pDecl ) ) in initializeInherits() 126 m_pInherits = pDecl; in initializeInherits() [all …]
|
H A D | astdeclaration.cxx | 61 AstDeclaration* pDecl = scopeAsDecl(m_pScope); in AstDeclaration() local 62 if (pDecl) in AstDeclaration() 64 m_scopedName = pDecl->getScopedName(); in AstDeclaration() 159 sal_Bool AstDeclaration::hasAncestor(AstDeclaration* pDecl) in hasAncestor() argument 161 if (this == pDecl) in hasAncestor() 165 return scopeAsDecl(m_pScope)->hasAncestor(pDecl); in hasAncestor() 177 AstDeclaration* pDecl = NULL; in dump() local 180 pDecl = *iter; in dump() 181 if ( pDecl->isInMainfile() ) in dump() 183 switch ( pDecl->getNodeType() ) in dump() [all …]
|
H A D | astoperation.cxx | 77 AstDeclaration* pDecl = NULL; in dumpBlob() local 82 pDecl = *iter; in dumpBlob() 83 if ( pDecl->getNodeType() == NT_parameter ) in dumpBlob() 85 AstParameter* pParam = (AstParameter*)pDecl; in dumpBlob() 109 pDecl->getLocalName(), RTL_TEXTENCODING_UTF8), in dumpBlob() 136 AstDeclaration* AstOperation::addDeclaration(AstDeclaration* pDecl) in addDeclaration() argument 138 if ( pDecl->getNodeType() == NT_parameter ) in addDeclaration() 140 AstParameter* pParam = (AstParameter*)pDecl; in addDeclaration() 144 idlc()->error()->error2(EIDL_ONEWAY_CONFLICT, pDecl, this); in addDeclaration() 148 return AstScope::addDeclaration(pDecl); in addDeclaration()
|
H A D | idlc.cxx | 81 if (pDecl == NULL) return NULL; in declAsScope() 83 switch(pDecl->getNodeType()) in declAsScope() 86 return (AstInterface*)(pDecl); in declAsScope() 89 return (AstService*)(pDecl); in declAsScope() 92 return (AstModule*)(pDecl); in declAsScope() 94 return (AstConstants*)(pDecl); in declAsScope() 96 return (AstException*)(pDecl); in declAsScope() 98 return (AstUnion*)(pDecl); in declAsScope() 100 return (AstStruct*)(pDecl); in declAsScope() 102 return (AstEnum*)(pDecl); in declAsScope() [all …]
|
H A D | astenum.cxx | 49 AstDeclaration* pDecl = NULL; in checkValue() local 53 pDecl = *iter; in checkValue() 54 pConst = (AstConstant*)pDecl; in checkValue() 91 AstDeclaration* pDecl = NULL; in dump() local 95 pDecl = *iter; in dump() 96 if ( pDecl->getNodeType() == NT_enum_val ) in dump() 97 ((AstConstant*)pDecl)->dumpBlob(aBlob, index++, false); in dump() 118 AstDeclaration* AstEnum::addDeclaration(AstDeclaration* pDecl) in addDeclaration() argument 120 return AstScope::addDeclaration(pDecl); in addDeclaration()
|
H A D | errorhandler.cxx | 598 void ErrorHandler::noTypeError(AstDeclaration const * pDecl) in noTypeError() argument 601 fprintf(stderr, "'%s'\n", pDecl->getScopedName().getStr()); in noTypeError() 625 void ErrorHandler::inheritanceError(NodeType nodeType, const OString* name, AstDeclaration* pDecl) in inheritanceError() argument 628 (pDecl->getNodeType() == NT_interface) && in inheritanceError() 629 !((AstInterface*)pDecl)->isDefined() ) in inheritanceError() 633 name->getStr(), pDecl->getScopedName().getStr()); in inheritanceError() 639 pDecl->getScopedName().getStr()); in inheritanceError() 653 void ErrorHandler::constantExpected(AstDeclaration* pDecl, in constantExpected() argument 657 fprintf(stderr, "'%s' is bound to '%s'\n", name.getStr(), pDecl->getScopedName().getStr()); in constantExpected()
|
H A D | astdump.cxx | 80 AstDeclaration* pDecl = NULL; in dump() local 84 pDecl = *iter; in dump() 85 if ( pDecl->getNodeType() == NT_const && in dump() 86 pDecl->isInMainfile() ) in dump() 88 ((AstConstant*)pDecl)->dumpBlob( in dump() 90 getNodeType() == NT_module && pDecl->isPublished()); in dump()
|
H A D | aststruct.cxx | 134 AstDeclaration* pDecl = NULL; in dump() local 140 pDecl = *iter; in dump() 141 if ( pDecl->getNodeType() == NT_member ) in dump() 143 pMember = (AstMember*)pDecl; in dump()
|
H A D | astexpression.cxx | 1070 AstDeclaration *pDecl; in eval_symbol() local 1094 pDecl = pScope->lookupByName(*m_pSymbolicName); in eval_symbol() 1095 if (pDecl == NULL) in eval_symbol() 1103 if (pDecl->getNodeType() != NT_const && in eval_symbol() 1104 pDecl->getNodeType() != NT_enum_val) in eval_symbol() 1106 idlc()->error()->constantExpected(pDecl, *m_pSymbolicName); in eval_symbol() 1109 if (!idlc()->error()->checkPublished(pDecl)) in eval_symbol() 1116 pConst = static_cast< AstConstant* >(pDecl); in eval_symbol()
|
/aoo42x/main/idlc/inc/idlc/ |
H A D | errorhandler.hxx | 128 void noTypeError(AstDeclaration const * pDecl); 130 void inheritanceError(NodeType nodeType, const ::rtl::OString* name, AstDeclaration* pDecl); 136 void constantExpected(AstDeclaration* pDecl, const ::rtl::OString& name);
|
H A D | astscope.hxx | 41 virtual AstDeclaration* addDeclaration(AstDeclaration* pDecl); 62 AstDeclaration* lookupForAdd(AstDeclaration* pDecl);
|
H A D | astenum.hxx | 47 virtual AstDeclaration* addDeclaration(AstDeclaration* pDecl);
|
H A D | astunion.hxx | 42 virtual AstDeclaration* addDeclaration(AstDeclaration* pDecl);
|
H A D | astoperation.hxx | 64 virtual AstDeclaration* addDeclaration(AstDeclaration* pDecl);
|
H A D | fehelper.hxx | 52 AstType const * compose(AstDeclaration const * pDecl);
|
H A D | astdeclaration.hxx | 117 sal_Bool hasAncestor(AstDeclaration* pDecl);
|
H A D | idlctypes.hxx | 78 AstScope* SAL_CALL declAsScope(AstDeclaration* pDecl);
|