载入中...
搜索中...
未找到
ScriptCompiler.h
浏览该文件的文档.
87 uint32_t languageVersion = 1;
224 const BindingContract* findMethod(std::string_view scriptClass, std::string_view method) const noexcept;
237 std::vector<BindingSearchHit> search(std::string_view query, std::string_view moduleFilter = {},
268 [[nodiscard]] eve::OptionalRef<const ScriptMetadata> metadata(std::string_view canonicalUri) const noexcept;
280 std::vector<ScriptCompletion> completions(std::string_view canonicalUri, std::string_view prefix = {}) const;
288 static ScriptSourcePosition toOriginalPosition(std::string_view source, ScriptSourcePosition generated);
290 static ScriptSourcePosition toGeneratedPosition(std::string_view source, ScriptSourcePosition original);
292 static SQRESULT compileBuffer(HSQUIRRELVM vm, const SQChar* source, SQInteger size, const SQChar* sourceName,
295 static std::vector<ScriptDiagnostic> validateProjectConfig(std::string_view source, std::string_view canonicalUri,
Vocabulary aliases for nullable and checked borrowed references.
#define EVENGINE_API_FOUNDATION_INLINE
仅供"只有内联成员"的类型使用的组宏:拥有者 dllexport,消费方不导入。
Definition Export.h:170
HexSearchContext search
Frontier reused by the land-growth and erosion searches.
Definition HexMapGenerator.cpp:387
Share string attribute map operations through the Windows Foundation DLL.
Registry consumed by compiler checks and tooling protocol adapters.
Definition ScriptCompiler.h:195
Unified Runtime compiler facade for metadata, diagnostics, and module preparation.
Definition ScriptCompiler.h:250
Owns providers, the static dependency graph, compiled closures, and module instances.
Definition ScriptModule.h:52
Definition BindingContracts.h:5
@ Milliseconds
@ Radians
@ Meters
@ Seconds
@ Degrees
@ Pixels
ScriptDiagnosticSeverity
Severity of a structured EveScript compiler diagnostic.
Definition ScriptCompiler.h:30
std::optional< std::reference_wrapper< T > > OptionalRef
Optional borrowed reference; it does not extend T's lifetime.
Definition BorrowedRef.h:24
EVEngine ECS 集成层:底层实现使用 sunxfancy/ECS.hpp https://github.com/sunxfancy/ECS.hpp
Definition ECS.h:21
Static implementation evidence and reviewed owner metadata for a binding. @ownership Owns strings and...
Definition ScriptCompiler.h:139
std::vector< std::string > tests
Definition ScriptCompiler.h:146
std::string stateOwner
Definition ScriptCompiler.h:141
std::string limitations
Definition ScriptCompiler.h:144
std::string implementationSource
Definition ScriptCompiler.h:140
std::vector< std::string > writes
Definition ScriptCompiler.h:145
std::vector< std::string > reads
Definition ScriptCompiler.h:147
std::string ownerSource
Definition ScriptCompiler.h:142
std::string inputHash
Definition ScriptCompiler.h:143
Complete script-facing contract for a native function or method.
Definition ScriptCompiler.h:159
std::string documentationId
Definition ScriptCompiler.h:169
std::optional< BindingSemanticContract > semantics
Engine-owned source semantics; never supplied by a project relation manifest.
Definition ScriptCompiler.h:177
std::vector< BindingParameterContract > parameters
Definition ScriptCompiler.h:163
std::string cppSymbol
Direct member target; empty for unresolved lambda/dynamic targets.
Definition ScriptCompiler.h:173
std::vector< std::string > platforms
Definition ScriptCompiler.h:168
std::optional< BindingArchitectureContract > architecture
Optional reviewed mapping; absence is explicitly reported as unknown.
Definition ScriptCompiler.h:175
std::string std::string scriptClass
Definition ScriptCompiler.h:161
One native binding parameter visible to EveScript tools and named arguments.
Definition ScriptCompiler.h:124
std::vector< std::string > choices
Definition ScriptCompiler.h:130
std::optional< std::string > scriptDefault
Definition ScriptCompiler.h:128
Ranked Binding Contract hit from text search.
Definition ScriptCompiler.h:189
Complete script-facing contract for a native function or method.
Definition ScriptCompiler.h:151
std::string schemaJson
Generator-validated JSON schema projection; empty when no source schema is supplied.
Definition ScriptCompiler.h:155
Tool-neutral completion item suitable for LSP, MCP, and editor adapters.
Definition ScriptCompiler.h:106
Stable structured diagnostic shared by Runtime, LSP, MCP, and editor tools.
Definition ScriptCompiler.h:39
Tool-neutral hover result for one script or binding symbol.
Definition ScriptCompiler.h:114
Metadata retained for one compiled EveScript source unit.
Definition ScriptCompiler.h:84
std::vector< std::string > imports
Definition ScriptCompiler.h:91
std::vector< std::string > moduleReferences
Definition ScriptCompiler.h:98
ScriptStructure structure
Lexed source structure retained for compiler and project tooling; not a runtime trace.
Definition ScriptCompiler.h:86
std::vector< ScriptSourcePosition > awaitLocations
Definition ScriptCompiler.h:100
std::vector< std::string > dependencies
Definition ScriptCompiler.h:93
std::vector< ScriptPropertyMetadata > properties
Definition ScriptCompiler.h:96
std::vector< ScriptDiagnostic > diagnostics
Definition ScriptCompiler.h:102
std::vector< std::string > asyncFunctions
Definition ScriptCompiler.h:99
std::vector< std::string > persistRoots
Definition ScriptCompiler.h:97
std::vector< ScriptSymbolMetadata > symbols
Definition ScriptCompiler.h:95
std::vector< std::string > exports
Definition ScriptCompiler.h:92
std::vector< std::string > reverseDependencies
Definition ScriptCompiler.h:94
Inspector-facing metadata for one annotated script property.
Definition ScriptCompiler.h:75
std::vector< std::string > choices
Definition ScriptCompiler.h:80
ScriptSourcePosition position
Definition ScriptCompiler.h:78
std::unordered_map< std::string, std::string > attributes
Definition ScriptCompiler.h:79
One generated-to-original mapping segment. Native syntax uses identity mappings.
Definition ScriptCompiler.h:50
ScriptSourcePosition generated
Definition ScriptCompiler.h:51
ScriptSourcePosition original
Definition ScriptCompiler.h:52
std::vector< ScriptSourceMapEntry > entries
Definition ScriptCompiler.h:58
Original EveScript source position. Lines and columns are one-based.
Definition ScriptCompiler.h:33
Bounded structural analysis, independent of VM execution and binding resolution.
Definition ScriptStructure.hpp:44
Erased source-level symbol retained for tooling.
Definition ScriptCompiler.h:67
ScriptSourcePosition position
Definition ScriptCompiler.h:71