Handle symbol visibility.

This commit is contained in:
Roberto Raggi
2010-08-13 10:30:33 +02:00
parent 849a52aead
commit abadf32070
2 changed files with 38 additions and 10 deletions

View File

@@ -79,8 +79,9 @@ protected:
FullySpecifiedType coreDeclarator(CoreDeclaratorAST *ast, const FullySpecifiedType &init);
FullySpecifiedType postfixDeclarator(PostfixDeclaratorAST *ast, const FullySpecifiedType &init);
Scope *currentScope() const;
Scope *switchScope(Scope *scope);
int switchVisibility(int visibility);
int switchMethodKey(int methodKey);
const Name *objCSelectorArgument(ObjCSelectorArgumentAST *ast, bool *hasArg);
void attribute(AttributeAST *ast);
@@ -278,6 +279,8 @@ private:
const Name *_name;
FullySpecifiedType _type;
DeclaratorIdAST **_declaratorId;
int _visibility;
int _methodKey;
};
} // end of namespace CPlusPlus