aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast/ASTAnnotations.h
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-12-10 00:35:20 +0800
committerchriseth <c@ethdev.com>2015-12-10 02:21:02 +0800
commitf8228e8ab116799a1b28ea9cbb01fdd7342b395c (patch)
tree182796217c88cdfa49b2dedf3c192f75dd7a8052 /libsolidity/ast/ASTAnnotations.h
parent7cb7818ceaf8f2e50cdd66b33a4e0d17c2a0e879 (diff)
downloaddexon-solidity-f8228e8ab116799a1b28ea9cbb01fdd7342b395c.tar
dexon-solidity-f8228e8ab116799a1b28ea9cbb01fdd7342b395c.tar.gz
dexon-solidity-f8228e8ab116799a1b28ea9cbb01fdd7342b395c.tar.bz2
dexon-solidity-f8228e8ab116799a1b28ea9cbb01fdd7342b395c.tar.lz
dexon-solidity-f8228e8ab116799a1b28ea9cbb01fdd7342b395c.tar.xz
dexon-solidity-f8228e8ab116799a1b28ea9cbb01fdd7342b395c.tar.zst
dexon-solidity-f8228e8ab116799a1b28ea9cbb01fdd7342b395c.zip
Relative paths in import directives.
Diffstat (limited to 'libsolidity/ast/ASTAnnotations.h')
-rw-r--r--libsolidity/ast/ASTAnnotations.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libsolidity/ast/ASTAnnotations.h b/libsolidity/ast/ASTAnnotations.h
index 4e0187cf..0bc91c60 100644
--- a/libsolidity/ast/ASTAnnotations.h
+++ b/libsolidity/ast/ASTAnnotations.h
@@ -54,6 +54,12 @@ struct DocumentedAnnotation
std::multimap<std::string, DocTag> docTags;
};
+struct ImportAnnotation: ASTAnnotation
+{
+ /// The absolute path of the source unit to import.
+ std::string absolutePath;
+};
+
struct TypeDeclarationAnnotation: ASTAnnotation
{
/// The name of this type, prefixed by proper namespaces if globally accessible.