aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast/ASTAnnotations.h
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-08-08 21:09:57 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-08-10 07:15:25 +0800
commit57c24511308f9cd1f981e92aacfb880825eb6ed9 (patch)
treef027135713c992ad08d27c5fc0e759f4b8fc2af3 /libsolidity/ast/ASTAnnotations.h
parent690ed37fd4b90119ac69def3e308035d46af0c60 (diff)
downloaddexon-solidity-57c24511308f9cd1f981e92aacfb880825eb6ed9.tar.gz
dexon-solidity-57c24511308f9cd1f981e92aacfb880825eb6ed9.tar.zst
dexon-solidity-57c24511308f9cd1f981e92aacfb880825eb6ed9.zip
Introduce ExperimentalFeatures header
Diffstat (limited to 'libsolidity/ast/ASTAnnotations.h')
-rw-r--r--libsolidity/ast/ASTAnnotations.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libsolidity/ast/ASTAnnotations.h b/libsolidity/ast/ASTAnnotations.h
index 083ecfa4..fd9efb4d 100644
--- a/libsolidity/ast/ASTAnnotations.h
+++ b/libsolidity/ast/ASTAnnotations.h
@@ -23,6 +23,7 @@
#pragma once
#include <libsolidity/ast/ASTForward.h>
+#include <libsolidity/ast/ExperimentalFeatures.h>
#include <map>
#include <memory>
@@ -61,8 +62,8 @@ struct SourceUnitAnnotation: ASTAnnotation
std::string path;
/// The exported symbols (all global symbols).
std::map<ASTString, std::vector<Declaration const*>> exportedSymbols;
- /// Experimental feature pragmas.
- std::set<ASTString> experimentalFeatures;
+ /// Experimental features.
+ std::set<ExperimentalFeature> experimentalFeatures;
};
struct ImportAnnotation: ASTAnnotation