#include "idl_gen_swift.h"
#include <cctype>
#include <unordered_set>
#include "flatbuffers/code_generators.h"
#include "flatbuffers/flatbuffers.h"
#include "flatbuffers/idl.h"
#include "flatbuffers/util.h"
#include "idl_namer.h"
namespace flatbuffers {
namespace swift {
namespace {
static Namer::Config SwiftDefaultConfig() { … }
static std::set<std::string> SwiftKeywords() { … }
static std::string GenIndirect(const std::string &reading) { … }
static std::string GenArrayMainBody(const std::string &optional) { … }
}
class SwiftGenerator : public BaseGenerator { … };
}
static bool GenerateSwift(const Parser &parser, const std::string &path,
const std::string &file_name) { … }
namespace {
class SwiftCodeGenerator : public CodeGenerator { … };
}
std::unique_ptr<CodeGenerator> NewSwiftCodeGenerator() { … }
}