载入中...
搜索中...
未找到
#include "devtools/LanguageText.h"#include <algorithm>#include <cctype>#include <utility>#include <vector>命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::dev |
| namespace | eve::dev::lsp |
函数 | |
| size_t | eve::dev::lsp::offsetAt (std::string_view source, Position position) noexcept |
| Converts an LSP position into a UTF-8 byte offset (same contract as the rest of the server). | |
| Range | eve::dev::lsp::documentRange (std::string_view source) noexcept |
| Full-document range covering every character in source. | |
| size_t | eve::dev::lsp::lastLineIndex (std::string_view source) noexcept |
| Last 0-based line index (empty source is line 0). | |
| Range | eve::dev::lsp::coveringLines (std::string_view source, size_t startLine, size_t endLineInclusive) noexcept |
Half-open LSP range covering startLine through endLine inclusive. Ends at the start of the following line when one exists. | |
| std::string | eve::dev::lsp::sliceLines (std::string_view source, size_t startLine, size_t endLineInclusive) |
Source bytes for coveringLines of the same line span. | |
| bool | eve::dev::lsp::applyIncremental (std::string &source, const Range *range, std::string_view text) |
| Applies one LSP content change. | |
| std::string | eve::dev::lsp::formatEveScript (std::string_view source, const FormatOptions &options={}) |
| Indents EveScript by braces/brackets and trims trailing whitespace. | |
| std::vector< FoldingRange > | eve::dev::lsp::foldingRanges (std::string_view source) |
| Brace, bracket, and block-comment folds that span more than one line. | |
变量说明
◆ kind
| ScanKind kind = ScanKind::Code |
在文件 LanguageText.cpp 第 14 行定义.
◆ quote
| char quote = 0 |
在文件 LanguageText.cpp 第 15 行定义.
被这些函数引用 eve::animation_editing::AnimationStateGraphDomain::compile(), eve::sensing::SensingWorld::debugLastQueryJson(), eve::dialogue::ConversationLocalizationCatalog::exportMissingCsv(), eve::dialogue::ConversationLocalizationCatalog::exportVoiceRecordingCsv(), eve::dnut::lexDnut(), eve::production::WorkQueue::snapshot(), eve::authority::Store::snapshotJson(), eve::decision::DecisionContext::snapshotJson(), eve::game_event::GameEventLog::snapshotJson(), eve::sensing::SensingWorld::snapshotJson(), eve::statepatch::Store::snapshotJson(), eve::transaction::Plan::snapshotJson() , 以及 eve::transaction::Ledger::snapshotJson().
◆ verbatim
| bool verbatim = false |
在文件 LanguageText.cpp 第 16 行定义.