aboutsummaryrefslogtreecommitdiffstats
path: root/ASTPrinter.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2014-11-01 00:20:27 +0800
committerChristian <c@ethdev.com>2014-11-01 00:20:27 +0800
commit25c0e08bdfd955d8fdc0e7563c718b6fbba6cd1c (patch)
tree78e49ce681d0b9c5ce6d76b7dc6f445d114f918f /ASTPrinter.h
parenta36db1f2412d700cc8b32f8331be103c73ea90cb (diff)
parentc45495afb96fcd9bf8b3ad965144a3436fc101a5 (diff)
downloaddexon-solidity-25c0e08bdfd955d8fdc0e7563c718b6fbba6cd1c.tar.gz
dexon-solidity-25c0e08bdfd955d8fdc0e7563c718b6fbba6cd1c.tar.zst
dexon-solidity-25c0e08bdfd955d8fdc0e7563c718b6fbba6cd1c.zip
Merge remote-tracking branch 'ethereum/develop' into sol_contractCompiler
Conflicts: libsolidity/AST.cpp libsolidity/AST.h libsolidity/Compiler.cpp libsolidity/Compiler.h libsolidity/NameAndTypeResolver.h libsolidity/Types.cpp solc/main.cpp test/solidityCompiler.cpp
Diffstat (limited to 'ASTPrinter.h')
-rw-r--r--ASTPrinter.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ASTPrinter.h b/ASTPrinter.h
index 722c80c9..e87b2ba3 100644
--- a/ASTPrinter.h
+++ b/ASTPrinter.h
@@ -30,13 +30,15 @@ namespace dev
namespace solidity
{
-/// Pretty-printer for the abstract syntax tree (the "pretty" is arguable) for debugging purposes.
+/**
+ * Pretty-printer for the abstract syntax tree (the "pretty" is arguable) for debugging purposes.
+ */
class ASTPrinter: public ASTVisitor
{
public:
/// Create a printer for the given abstract syntax tree. If the source is specified,
/// the corresponding parts of the source are printed with each node.
- ASTPrinter(ASTPointer<ASTNode> const& _ast, const std::string& _source = std::string());
+ ASTPrinter(ASTPointer<ASTNode> const& _ast, std::string const& _source = std::string());
/// Output the string representation of the AST to _stream.
void print(std::ostream& _stream);