aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast/AST.h
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-01-11 20:55:58 +0800
committerchriseth <c@ethdev.com>2016-01-11 20:56:02 +0800
commitf20a604c5a941ed5117d3e472b5ad93bed02fd97 (patch)
tree0e08a74d3432787f135fbd471b5cdf3fa1251321 /libsolidity/ast/AST.h
parentaa645d11927dce715ed3507e4b2ae89cf984a488 (diff)
downloaddexon-solidity-f20a604c5a941ed5117d3e472b5ad93bed02fd97.tar.gz
dexon-solidity-f20a604c5a941ed5117d3e472b5ad93bed02fd97.tar.zst
dexon-solidity-f20a604c5a941ed5117d3e472b5ad93bed02fd97.zip
Allow aliases during import.
Diffstat (limited to 'libsolidity/ast/AST.h')
-rw-r--r--libsolidity/ast/AST.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libsolidity/ast/AST.h b/libsolidity/ast/AST.h
index 604a12a0..4baf95d3 100644
--- a/libsolidity/ast/AST.h
+++ b/libsolidity/ast/AST.h
@@ -201,6 +201,10 @@ public:
virtual void accept(ASTConstVisitor& _visitor) const override;
ASTString const& path() const { return *m_path; }
+ std::vector<std::pair<ASTPointer<Identifier>, ASTPointer<ASTString>>> const& symbolAliases() const
+ {
+ return m_symbolAliases;
+ }
virtual ImportAnnotation& annotation() const override;
virtual TypePointer type() const override;