aboutsummaryrefslogtreecommitdiffstats
path: root/ASTPrinter.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2014-11-12 00:41:48 +0800
committerChristian <c@ethdev.com>2014-11-12 00:41:48 +0800
commit8c6bf21c01d3ae3c22301bbe0b039aa18e1f58a6 (patch)
treeba26de04d610fcc09c96f366a35bb148180a4e21 /ASTPrinter.h
parenta0c72065fee89c4558eeb4a98e5273633635bc39 (diff)
downloaddexon-solidity-8c6bf21c01d3ae3c22301bbe0b039aa18e1f58a6.tar
dexon-solidity-8c6bf21c01d3ae3c22301bbe0b039aa18e1f58a6.tar.gz
dexon-solidity-8c6bf21c01d3ae3c22301bbe0b039aa18e1f58a6.tar.bz2
dexon-solidity-8c6bf21c01d3ae3c22301bbe0b039aa18e1f58a6.tar.lz
dexon-solidity-8c6bf21c01d3ae3c22301bbe0b039aa18e1f58a6.tar.xz
dexon-solidity-8c6bf21c01d3ae3c22301bbe0b039aa18e1f58a6.tar.zst
dexon-solidity-8c6bf21c01d3ae3c22301bbe0b039aa18e1f58a6.zip
Provide interface for calls in JSON and some other formatting changes.
Diffstat (limited to 'ASTPrinter.h')
-rw-r--r--ASTPrinter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ASTPrinter.h b/ASTPrinter.h
index e87b2ba3..e0757fbc 100644
--- a/ASTPrinter.h
+++ b/ASTPrinter.h
@@ -38,7 +38,7 @@ 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, std::string const& _source = std::string());
+ ASTPrinter(ASTNode& _ast, std::string const& _source = std::string());
/// Output the string representation of the AST to _stream.
void print(std::ostream& _stream);
@@ -114,7 +114,7 @@ private:
int m_indentation;
std::string m_source;
- ASTPointer<ASTNode> m_ast;
+ ASTNode* m_ast;
std::ostream* m_ostream;
};