blob: b8e6668a892dbd2e1908b54b8c9f5e8e73ab2073 [file] [log] [blame]
// Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#pragma once
#include <vector>
#include "fidl/source_file.h"
#include "string_view.h"
namespace fidl {
class SourceManager {
public:
// Returns nullptr if |filename| could not be read.
const SourceFile* CreateSource(StringView filename);
private:
std::vector<SourceFile> sources_;
};
} // namespace fidl