载入中...
搜索中...
未找到
DnutDocument.h
浏览该文件的文档.
1#pragma once
2
3#include "dialogue/Dialogue.h"
5
6#include <string>
7#include <vector>
8
9namespace eve::dialogue {
10
13 std::string sourceId;
14 int line = 1;
15 int column = 1;
16};
17
21 enum class Severity { Warning, Error };
23 std::string path;
24 int line = 0;
25 std::string message;
26 std::string code;
27 int column = 0;
28 std::string assetPath;
29};
30
33 static constexpr int CurrentVersion = 1;
34 std::string schema;
35 int version = 0;
37 std::vector<eve::dnut::SequenceAsset> conversations;
38};
39
40} // namespace eve::dialogue
Domain-neutral compiled sequence graph for `.dnut` sources.
The canonical owning dynamic value used by data-facing protocols.
Definition Value.h:31
static Value object(Object value)
Compatibility factory for an object value.
Definition Value.h:114
Stable diagnostic emitted by dnut compilation, lint, or migration.
UI-neutral syntax tree produced by the single dnut parser.
static constexpr int CurrentVersion
std::vector< eve::dnut::SequenceAsset > conversations
Exact source location in a dnut document.