Expand description
Defines all common Component
s and Resource
s
In this World
, Entitys are documents and Components
are derived from these documents.
Different System
s derive new Components
from existing Components
, that are added to
the Entity
.
For example, if Triples
are defined, systems::derive_classes will
derive DefinedClass
from them and add them to the Entity
.
Structsยง
- Command
Receiver Resource
used to receive command queues. These command queues are handled withhandle_tasks
.- Command
Sender Resource
used to send command queues, allowing for async operations.- Current
Type - Dirty
Component
indicating whether or not the document is dirty, a dirty document parsed with errors.- Document
Links Component
used to remember the linked documents.- DynLang
Component
that allows for language specific implementation for certain things, reducing code duplication.- Element
Component
that contains the parsed semantic element (i.e. Turtle, JSONLD).- Errors
- Simple wrapper for errors that derives
Component
- KeyWords
Component
containing the typical keywords for the current language.- Label
Component
containing thelsp_types::Url
of the current document.- Open
Component
indicating whether or not the document is actually open.- Position
Component Component
used to wrap an incominglsp_types::Position
.- RopeC
Component
containing the current source code asropey::Rope
- Source
Component
containing the current source code asString
- Type
Hierarchy Resource
used to set and get all super and subtypes starting from aTypeId
- Types
- maps terms to all known correct types.
- Wrapped
- Simple wrapper structure that derives
Component