From 869659802058a5f68b4d2af2e7559da3d9c55141 Mon Sep 17 00:00:00 2001 From: Christian Date: Mon, 20 Oct 2014 16:28:24 +0200 Subject: Access modifier cleanup. --- NameAndTypeResolver.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'NameAndTypeResolver.h') diff --git a/NameAndTypeResolver.h b/NameAndTypeResolver.h index 62545456..5305565b 100644 --- a/NameAndTypeResolver.h +++ b/NameAndTypeResolver.h @@ -42,6 +42,7 @@ public: void resolveNamesAndTypes(ContractDefinition& _contract); Declaration* getNameFromCurrentScope(ASTString const& _name, bool _recursive = true); + private: void reset(); @@ -83,13 +84,14 @@ class ReferencesResolver: private ASTVisitor { public: ReferencesResolver(ASTNode& _root, NameAndTypeResolver& _resolver, ParameterList* _returnParameters); + private: virtual void endVisit(VariableDeclaration& _variable) override; virtual bool visit(Identifier& _identifier) override; virtual bool visit(UserDefinedTypeName& _typeName) override; virtual bool visit(Mapping&) override; virtual bool visit(Return& _return) override; -private: + NameAndTypeResolver& m_resolver; ParameterList* m_returnParameters; }; -- cgit