Home
last modified time | relevance | path

Searched refs:pDecl (Results 1 – 20 of 20) sorted by relevance

/aoo42x/main/idlc/source/
H A Dastscope.cxx84 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 Dastunion.cxx136 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 Dparser.y1670 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 Dfehelper.cxx57 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 Dastdeclaration.cxx61 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 Dastoperation.cxx77 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 Didlc.cxx81 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 Dastenum.cxx49 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 Derrorhandler.cxx598 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 Dastdump.cxx80 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 Daststruct.cxx134 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 Dastexpression.cxx1070 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 Derrorhandler.hxx128 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 Dastscope.hxx41 virtual AstDeclaration* addDeclaration(AstDeclaration* pDecl);
62 AstDeclaration* lookupForAdd(AstDeclaration* pDecl);
H A Dastenum.hxx47 virtual AstDeclaration* addDeclaration(AstDeclaration* pDecl);
H A Dastunion.hxx42 virtual AstDeclaration* addDeclaration(AstDeclaration* pDecl);
H A Dastoperation.hxx64 virtual AstDeclaration* addDeclaration(AstDeclaration* pDecl);
H A Dfehelper.hxx52 AstType const * compose(AstDeclaration const * pDecl);
H A Dastdeclaration.hxx117 sal_Bool hasAncestor(AstDeclaration* pDecl);
H A Didlctypes.hxx78 AstScope* SAL_CALL declAsScope(AstDeclaration* pDecl);

Completed in 61 milliseconds