mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Forgot some asterisks.
This commit is contained in:
parent
933fbd7d60
commit
7bb3311be6
14
ASTVisitor.h
14
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:
|
||||||
|
@ -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) { }
|
||||||
|
Loading…
Reference in New Issue
Block a user