mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Introduce ExperimentalFeatures header
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user