载入中...
搜索中...
未找到
eve::dev::project_index 命名空间参考

类

struct  File
 
struct  Function
 
struct  Snapshot
 

类型定义

using Object = Poco::JSON::Object
 
using Files = std::map< std::string, std::shared_ptr< const File > >
 

函数

void automaticGraph (Snapshot &snapshot, std::string &version)
 Project typed compiler syntax through generated engine contracts; no project declarations required.
 
Snapshot project (Files files, Object::Ptr stats, std::string defaultProjectId, std::string projectDir={})
 Build a candidate evidence graph without touching the published snapshot.
 
std::string digest (const std::string &text)
 SHA-256 evidence digest; not a runtime frame or binary identity.
 
std::string pathText (const std::filesystem::path &path)
 UTF-8 source path, including Windows project names.
 
std::filesystem::path sourcePath (const std::string &text)
 Construct a native path from UTF-8 source/tool arguments.
 
Files scan (const std::filesystem::path &root, const Files &previous, Object::Ptr stats)
 Bounded filesystem scan. Parses only changed files; symlinks are excluded.
 
std::string requiredString (Object::Ptr object, const std::string &field)
 Strict source string fields; invalid manifest shapes throw a diagnostic exception.
 

类型定义说明

◆ Files

using eve::dev::project_index::Files = typedef std::map<std::string, std::shared_ptr<const File> >

在文件 ProjectIndexInternal.hpp 第 25 行定义.

◆ Object

using eve::dev::project_index::Object = typedef Poco::JSON::Object

在文件 ProjectIndexInternal.hpp 第 13 行定义.

函数说明

◆ automaticGraph()

void eve::dev::project_index::automaticGraph ( Snapshot &  snapshot,
std::string &  version 
)

Project typed compiler syntax through generated engine contracts; no project declarations required.

在文件 ProjectIndexAutomatic.cpp 第 536 行定义.

引用了 eve::script::generatedBindingContracts(), snapshot , 以及 version.

◆ digest()

std::string eve::dev::project_index::digest ( const std::string &  text)

SHA-256 evidence digest; not a runtime frame or binary identity.

◆ pathText()

std::string eve::dev::project_index::pathText ( const std::filesystem::path &  path)

UTF-8 source path, including Windows project names.

被这些函数引用 project().

◆ project()

Snapshot eve::dev::project_index::project ( Files  files,
Object::Ptr  stats,
std::string  defaultProjectId,
std::string  projectDir 
)

Build a candidate evidence graph without touching the published snapshot.

在文件 ProjectIndexGraph.cpp 第 144 行定义.

引用了 file, eve::dev::project_index::Snapshot::files, function, functions, node, objects, out, path, pathText(), project(), reference, requiredString(), source, sourcePath, stats, target , 以及 version.

被这些函数引用 project() , 以及 scan().

◆ requiredString()

std::string eve::dev::project_index::requiredString ( Object::Ptr  object,
const std::string &  field 
)

Strict source string fields; invalid manifest shapes throw a diagnostic exception.

被这些函数引用 eve::dev::callMcpProjectIndexTool() , 以及 project().

◆ scan()

Files eve::dev::project_index::scan ( const std::filesystem::path &  root,
const Files &  previous,
Object::Ptr  stats 
)

Bounded filesystem scan. Parses only changed files; symlinks are excluded.

引用了 project().

被这些函数引用 eve::dev::lsp::foldingRanges().

◆ sourcePath()

std::filesystem::path eve::dev::project_index::sourcePath ( const std::string &  text)
inline

Construct a native path from UTF-8 source/tool arguments.

在文件 ProjectIndexInternal.hpp 第 39 行定义.

引用了 text.