Files
clice/include/Index/Memory.h
2024-12-06 19:06:59 +08:00

26 lines
416 B
C++

#pragma once
#include "Index.h"
namespace clice::index {
namespace memory {
using String = std::string;
template <typename T>
using Array = std::vector<T>;
#define MAKE_CLANG_HAPPY
#include "Index.inl"
} // namespace memory
/// Index the AST information.
memory::Index index(ASTInfo& info);
/// Convert `memory::Index` to JSON.
json::Value toJSON(const memory::Index& index);
} // namespace clice::index