Sha256: 2ca3d4f71b87c2366bf167c4f90e13f422a04f6124324b1be4df9ba63bcbc899
Contents?: true
Size: 769 Bytes
Versions: 5
Compression:
Stored size: 769 Bytes
Contents
// // ConversionContext.h // drafter // // Created by Jiri Kratochvil on 06-04-2016 // Copyright (c) 2016 Apiary Inc. All rights reserved. // #ifndef DRAFTER_CONVERSIONCONTEXT_H #define DRAFTER_CONVERSIONCONTEXT_H #include "refract/Registry.h" #include "snowcrash.h" namespace drafter { struct WrapperOptions; class ConversionContext { refract::Registry registry; public: const WrapperOptions& options; std::vector<snowcrash::Warning> warnings; inline refract::Registry& GetNamedTypesRegistry() { return registry; } ConversionContext(const WrapperOptions& options) : options(options) {} void warn(const snowcrash::Warning& warning); }; } #endif // #ifndef DRAFTER_CONVERSIONCONTEXT_H
Version data entries
5 entries across 5 versions & 1 rubygems