aboutsummaryrefslogtreecommitdiffstats
path: root/NameAndTypeResolver.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2014-10-28 23:51:26 +0800
committerChristian <c@ethdev.com>2014-10-28 23:51:26 +0800
commit933fbd7d60006092cd8846cc164188f7ad41460f (patch)
treeea0e55efa7ef364cb966ae3e8a019a7ccfa53866 /NameAndTypeResolver.h
parentfae8ca001ef33041b5ba5debc5a71ecc3eb5645b (diff)
downloaddexon-solidity-933fbd7d60006092cd8846cc164188f7ad41460f.tar.gz
dexon-solidity-933fbd7d60006092cd8846cc164188f7ad41460f.tar.zst
dexon-solidity-933fbd7d60006092cd8846cc164188f7ad41460f.zip
Asterisk-syntax for doxygen class documentation.
Diffstat (limited to 'NameAndTypeResolver.h')
-rw-r--r--NameAndTypeResolver.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/NameAndTypeResolver.h b/NameAndTypeResolver.h
index 055835c4..bb7fcb98 100644
--- a/NameAndTypeResolver.h
+++ b/NameAndTypeResolver.h
@@ -33,8 +33,11 @@ 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, types and checks types of all expressions.
+ * Specifically, it checks that all operations are valid for the inferred types.
+ * An exception is throw on the first error.
+ */
class NameAndTypeResolver: private boost::noncopyable
{
public:
@@ -53,8 +56,10 @@ private:
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 +83,10 @@ 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: