Home
last modified time | relevance | path

Searched refs:AstDeclaration (Results 1 – 25 of 37) sorted by relevance

12

/trunk/main/idlc/source/
H A Dastscope.cxx56 AstDeclaration* AstScope::addDeclaration(AstDeclaration* pDecl) in addDeclaration()
58 AstDeclaration* pDeclaration = NULL; in addDeclaration()
109 AstDeclaration* pDecl = NULL; in getNodeCount()
122 AstDeclaration* AstScope::lookupByName(const OString& scopedName) in lookupByName()
124 AstDeclaration* pDecl = NULL; in lookupByName()
217 AstDeclaration* AstScope::lookupByNameLocal(const OString& name) const in lookupByNameLocal()
221 AstDeclaration* pDecl = NULL; in lookupByNameLocal()
266 AstDeclaration* AstScope::lookupPrimitiveType(ExprType type) in lookupPrimitiveType()
268 AstDeclaration* pDecl = NULL; in lookupPrimitiveType()
344 AstDeclaration* AstScope::lookupForAdd(AstDeclaration* pDecl) in lookupForAdd()
[all …]
H A Dastdeclaration.cxx50 AstDeclaration::AstDeclaration(NodeType type, const OString& name, AstScope* pScope) in AstDeclaration() function in AstDeclaration
61 AstDeclaration* pDecl = scopeAsDecl(m_pScope); in AstDeclaration()
92 AstDeclaration::~AstDeclaration() in ~AstDeclaration()
97 void AstDeclaration::setPredefined(bool bPredefined) in setPredefined()
107 void AstDeclaration::setName(const ::rtl::OString& name) in setName()
140 bool AstDeclaration::isType() const { in isType()
159 sal_Bool AstDeclaration::hasAncestor(AstDeclaration* pDecl) in hasAncestor()
168 sal_Bool AstDeclaration::dump(RegistryKey& rKey) in dump()
177 AstDeclaration* pDecl = NULL; in dump()
H A Derrorhandler.cxx525 void ErrorHandler::error1(ErrorCode e, AstDeclaration const * d) in error1()
533 ErrorCode e, AstDeclaration const * d1, AstDeclaration const * d2) in error2()
541 void ErrorHandler::error3(ErrorCode e, AstDeclaration* d1, AstDeclaration* d2, AstDeclaration* d3) in error3()
584 void ErrorHandler::lookupError(ErrorCode e, const ::rtl::OString& n, AstDeclaration* pScope) in lookupError()
598 void ErrorHandler::noTypeError(AstDeclaration const * pDecl) in noTypeError()
625 void ErrorHandler::inheritanceError(NodeType nodeType, const OString* name, AstDeclaration* pDecl) in inheritanceError()
644 void ErrorHandler::forwardLookupError(AstDeclaration* pForward, in forwardLookupError()
653 void ErrorHandler::constantExpected(AstDeclaration* pDecl, in constantExpected()
684 bool ErrorHandler::checkPublished(AstDeclaration const * decl, bool bOptional) { in checkPublished()
H A Dparser.y228 bool includes(AstDeclaration const * type1, AstDeclaration const * type2) {
267 AstDeclaration const * cdclval;
587 AstDeclaration* pDecl = NULL;
626 AstDeclaration* pDecl = NULL;
1716 AstDeclaration* pDecl = NULL;
1808 AstDeclaration* pDecl = NULL;
1850 AstDeclaration* pDecl = NULL;
2570 AstDeclaration* pDecl = NULL;
2571 AstDeclaration* pArray = NULL;
2620 AstDeclaration* pDecl = NULL;
[all …]
H A Dfehelper.cxx33 FeDeclarator::FeDeclarator(const OString& name, DeclaratorType declType, AstDeclaration* pComplPart) in FeDeclarator()
44 sal_Bool FeDeclarator::checkType(AstDeclaration const * type) in checkType()
57 AstType const * FeDeclarator::compose(AstDeclaration const * pDecl) in compose()
84 AstDeclaration* pDecl2 = pScope->addDeclaration(pArray); in compose()
85 if ( (AstDeclaration*)pArray != pDecl2 ) in compose()
115 AstDeclaration* pDecl = pScope->lookupByName(*pInherits); in initializeInherits()
118 AstDeclaration const * resolved = resolveTypedefs(pDecl); in initializeInherits()
H A Didlc.cxx48 AstDeclaration* SAL_CALL scopeAsDecl(AstScope* pScope) in scopeAsDecl()
79 AstScope* SAL_CALL declAsScope(AstDeclaration* pDecl) in declAsScope()
302 AstDeclaration const * resolveTypedefs(AstDeclaration const * type) { in resolveTypedefs()
311 AstDeclaration const * deconstructAndResolveTypedefs( in deconstructAndResolveTypedefs()
312 AstDeclaration const * type, sal_Int32 * rank) in deconstructAndResolveTypedefs()
334 AstDeclaration const * decl = resolveTypedefs(type); in resolveInterfaceTypedefs()
H A Dastunion.cxx97 AstDeclaration* AstUnion::addDeclaration(AstDeclaration* pDecl) in addDeclaration()
136 AstDeclaration *pDecl = NULL; in lookupDefault()
183 AstDeclaration* pDecl = NULL; in lookupLabel()
211 AstDeclaration const * pType = resolveTypedefs(m_pDiscriminantType); in lookupEnum()
233 AstDeclaration* pDecl = pEnum->lookupByName(*pExpr->getSymbolicName()); in lookupEnum()
297 AstDeclaration* pDecl = NULL; in dump()
H A Dastenum.cxx49 AstDeclaration* pDecl = NULL; in checkValue()
91 AstDeclaration* pDecl = NULL; in dump()
118 AstDeclaration* AstEnum::addDeclaration(AstDeclaration* pDecl) in addDeclaration()
H A Daststruct.cxx47 new AstDeclaration(NT_type_parameter, *i, 0)); in AstStruct()
70 AstDeclaration const * AstStruct::findTypeParameter(rtl::OString const & name) in findTypeParameter()
85 ? getTypeParameterCount() == 0 : AstDeclaration::isType(); in isType()
134 AstDeclaration* pDecl = NULL; in dump()
H A Dastoperation.cxx77 AstDeclaration* pDecl = NULL; in dumpBlob()
136 AstDeclaration* AstOperation::addDeclaration(AstDeclaration* pDecl) in addDeclaration()
/trunk/main/idlc/inc/idlc/
H A Derrorhandler.hxx107 void error1(ErrorCode e, AstDeclaration const * d);
109 ErrorCode e, AstDeclaration const * d1, AstDeclaration const * d2);
110 void error3(ErrorCode e, AstDeclaration* d1, AstDeclaration* d2, AstDeclaration* d3);
124 void lookupError(ErrorCode e, const ::rtl::OString& n, AstDeclaration* pScope);
128 void noTypeError(AstDeclaration const * pDecl);
130 void inheritanceError(NodeType nodeType, const ::rtl::OString* name, AstDeclaration* pDecl);
134 void forwardLookupError(AstDeclaration* pForward, const ::rtl::OString& name);
136 void constantExpected(AstDeclaration* pDecl, const ::rtl::OString& name);
149 bool checkPublished(AstDeclaration const * decl, bool bOptiional=false);
H A Dastscope.hxx41 virtual AstDeclaration* addDeclaration(AstDeclaration* pDecl);
52 AstDeclaration* lookupByName(const ::rtl::OString& scopedName);
54 AstDeclaration* lookupByNameLocal(const ::rtl::OString& name) const;
56 AstDeclaration* lookupInForwarded(const ::rtl::OString& scopedName);
57 AstDeclaration* lookupInInherited(const ::rtl::OString& scopedName) const;
60 AstDeclaration* lookupPrimitiveType(ExprType type);
62 AstDeclaration* lookupForAdd(AstDeclaration* pDecl);
65 inline AstDeclaration const * getLast() const in getLast()
H A Dastinterface.hxx42 AstDeclaration const * first;
43 AstDeclaration const * second;
87 AstDeclaration const * member) const;
89 void addMember(AstDeclaration /*TODO: const*/ * member);
101 explicit VisibleMember(AstDeclaration const * theMandatory = 0): in VisibleMember()
104 typedef std::map< rtl::OString, AstDeclaration const * > Optionals;
106 AstDeclaration const * mandatory;
119 DoubleMemberDeclarations & doubleMembers, AstDeclaration const * member,
H A Dfehelper.hxx41 FeDeclarator(const ::rtl::OString& name, DeclaratorType declType, AstDeclaration* pComplPart);
44 AstDeclaration* getComplexPart() in getComplexPart()
51 sal_Bool checkType(AstDeclaration const * pType);
52 AstType const * compose(AstDeclaration const * pDecl);
54 AstDeclaration* m_pComplexPart;
78 AstDeclaration* getInherits() in getInherits()
89 AstDeclaration* m_pInherits;
H A Didlctypes.hxx71 class AstDeclaration;
73 typedef ::std::hash_map< ::rtl::OString, AstDeclaration*, HashString, EqualString > DeclMap;
74 typedef ::std::list< AstDeclaration* > DeclList;
77 AstDeclaration* SAL_CALL scopeAsDecl(AstScope* pScope);
78 AstScope* SAL_CALL declAsScope(AstDeclaration* pDecl);
H A Dastoperation.hxx36 class AstOperation : public AstDeclaration
41 : AstDeclaration(NT_operation, name, pScope) in AstOperation()
64 virtual AstDeclaration* addDeclaration(AstDeclaration* pDecl);
H A Dastdeclaration.hxx67 class AstDeclaration class
71 AstDeclaration(NodeType type, const ::rtl::OString& name, AstScope* pScope);
72 virtual ~AstDeclaration();
117 sal_Bool hasAncestor(AstDeclaration* pDecl);
H A Didlc.hxx156 AstDeclaration const * resolveTypedefs(AstDeclaration const * type);
158 AstDeclaration const * deconstructAndResolveTypedefs(
159 AstDeclaration const * type, sal_Int32 * rank);
H A Dastmodule.hxx29 class AstModule : public AstDeclaration
34 : AstDeclaration(NT_module, name, pScope) in AstModule()
38 : AstDeclaration(type, name, pScope) in AstModule()
H A Dastmember.hxx33 class AstMember: public AstDeclaration {
37 AstDeclaration(NT_member, name, pScope), m_pType(pType) {} in AstMember()
47 AstDeclaration(type, name, pScope), m_pType(pType) {} in AstMember()
H A Dastservice.hxx29 class AstService : public AstDeclaration
34 : AstDeclaration(NT_service, name, pScope) in AstService()
39 : AstDeclaration(type, name, pScope) in AstService()
H A Dastattribute.hxx34 class AstAttribute: public AstDeclaration, public AstScope {
39 AstDeclaration(NT_attribute, name, scope), in AstAttribute()
44 : AstDeclaration(nodeType, name, pScope), AstScope(nodeType) in AstAttribute()
H A Dasttype.hxx28 class AstType : public AstDeclaration
32 : AstDeclaration(type, name, pScope) in AstType()
H A Dastneeds.hxx28 class AstNeeds : public AstDeclaration
32 : AstDeclaration(NT_needs, name, pScope) in AstNeeds()
H A Dastobserves.hxx28 class AstObserves : public AstDeclaration
32 : AstDeclaration(NT_observes, name, pScope) in AstObserves()

Completed in 69 milliseconds

12