Browse Source

Forgot some asterisks.

cl-refactor
Christian 10 years ago
parent
commit
3204918cd6
  1. 14
      libsolidity/ASTVisitor.h
  2. 6
      libsolidity/BaseTypes.h
  3. 4
      test/solidityCompiler.cpp

14
libsolidity/ASTVisitor.h

@ -30,12 +30,14 @@ namespace dev
namespace solidity namespace solidity
{ {
/// Visitor interface for the abstract syntax tree. This class is tightly bound to the /**
/// implementation of @ref ASTNode::accept and its overrides. After a call to * Visitor interface for the abstract syntax tree. This class is tightly bound to the
/// @ref ASTNode::accept, the function visit for the appropriate parameter is called and then * implementation of @ref ASTNode::accept and its overrides. After a call to
/// (if it returns true) this continues recursively for all child nodes in document order * @ref ASTNode::accept, the function visit for the appropriate parameter is called and then
/// (there is an exception for contracts). After all child nodes have been visited, endVisit is * (if it returns true) this continues recursively for all child nodes in document order
/// called for the node. * (there is an exception for contracts). After all child nodes have been visited, endVisit is
* called for the node.
*/
class ASTVisitor class ASTVisitor
{ {
public: public:

6
libsolidity/BaseTypes.h

@ -29,8 +29,10 @@ namespace dev
namespace solidity namespace solidity
{ {
/// Representation of an interval of source positions. /**
/// The interval includes start and excludes end. * Representation of an interval of source positions.
* The interval includes start and excludes end.
*/
struct Location struct Location
{ {
Location(int _start, int _end): start(_start), end(_end) { } Location(int _start, int _end): start(_start), end(_end) { }

4
test/solidityCompiler.cpp

@ -41,7 +41,9 @@ namespace test
namespace namespace
{ {
/// Helper class that extracts the first expression in an AST. /**
* Helper class that extracts the first expression in an AST.
*/
class FirstExpressionExtractor: private ASTVisitor class FirstExpressionExtractor: private ASTVisitor
{ {
public: public:

Loading…
Cancel
Save