1 // =================================
 2 // Copyright (c) 2020 Seppo Laakko
 3 // Distributed under the MIT license
 4 // =================================
 5 
 6 #ifndef SNGCPP_SYMBOLS_DECLARATION_BLOCK_SYMBOL_INCLUDED
 7 #define SNGCPP_SYMBOLS_DECLARATION_BLOCK_SYMBOL_INCLUDED
 8 #include <sngcpp/symbols/ContainerSymbol.hpp>
 9 
10 namespace sngcpp { namespace symbols {
11 
12 class DeclarationBlockSymbol public ContainerSymbol
13 {
14 public:
15     DeclarationBlockSymbol(const Span& span_const std::u32string& name_);
16     std::u32string KindStr() override { return U"declaration_block"; }
17     std::unique_ptr<sngxml::dom::Element> CreateElement() override;
18     bool IsDeclarationBlockSymbol() const override { return true; }
19 };
20 
21 } } // namespace sngcpp::symbols
22 
23 #endif // SNGCPP_SYMBOLS_DECLARATION_BLOCK_SYMBOL_INCLUDED