lsp_core::prelude::systems

Function validate_with_updated_shapes

Source
pub fn validate_with_updated_shapes(
    changed_schemas: Query<'_, '_, &Label, (Changed<Wrapped<CompiledSchema<RdfData>>>, With<Open>)>,
    query: Query<'_, '_, (&RopeC, &Label, &DocumentLinks, &Wrapped<TextDocumentItem>, &Triples), With<Open>>,
    other: Query<'_, '_, (&Label, &Wrapped<CompiledSchema<RdfData>>, &Prefixes)>,
    client: ResMut<'_, DiagnosticPublisher>,
)
Expand description

System checks what entities should retrigger a shape evaluation when a shape changes