aboutsummaryrefslogtreecommitdiffstats
path: root/NameAndTypeResolver.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2014-10-28 16:25:01 +0800
committerChristian <c@ethdev.com>2014-10-28 16:25:01 +0800
commitfae8ca001ef33041b5ba5debc5a71ecc3eb5645b (patch)
treef92d70422c29f93578a5a2ea30b3f4ba0f3ceb3e /NameAndTypeResolver.h
parenta29eb889a201e1ce2149aab7bead809e0a37f291 (diff)
downloaddexon-solidity-fae8ca001ef33041b5ba5debc5a71ecc3eb5645b.tar.gz
dexon-solidity-fae8ca001ef33041b5ba5debc5a71ecc3eb5645b.tar.zst
dexon-solidity-fae8ca001ef33041b5ba5debc5a71ecc3eb5645b.zip
Stylistic corrections.
Diffstat (limited to 'NameAndTypeResolver.h')
-rw-r--r--NameAndTypeResolver.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/NameAndTypeResolver.h b/NameAndTypeResolver.h
index 7abcbb0c..055835c4 100644
--- a/NameAndTypeResolver.h
+++ b/NameAndTypeResolver.h
@@ -33,8 +33,8 @@ namespace dev
namespace solidity
{
-//! Resolves name references, resolves all types and checks that all operations are valid for the
-//! inferred types. An exception is throw on the first error.
+/// Resolves name references, resolves all types and checks that all operations are valid for the
+/// inferred types. An exception is throw on the first error.
class NameAndTypeResolver: private boost::noncopyable
{
public:
@@ -46,15 +46,15 @@ public:
private:
void reset();
- //! Maps nodes declaring a scope to scopes, i.e. ContractDefinition, FunctionDeclaration and
- //! StructDefinition (@todo not yet implemented), where nullptr denotes the global scope.
+ /// Maps nodes declaring a scope to scopes, i.e. ContractDefinition, FunctionDeclaration and
+ /// StructDefinition (@todo not yet implemented), where nullptr denotes the global scope.
std::map<ASTNode*, Scope> m_scopes;
Scope* m_currentScope;
};
-//! Traverses the given AST upon construction and fills _scopes with all declarations inside the
-//! AST.
+/// Traverses the given AST upon construction and fills _scopes with all declarations inside the
+/// AST.
class DeclarationRegistrationHelper: private ASTVisitor
{
public:
@@ -78,8 +78,8 @@ private:
Scope* m_currentScope;
};
-//! Resolves references to declarations (of variables and types) and also establishes the link
-//! between a return statement and the return parameter list.
+/// Resolves references to declarations (of variables and types) and also establishes the link
+/// between a return statement and the return parameter list.
class ReferencesResolver: private ASTVisitor
{
public: