Skip to main content

Module semantic

Module semantic 

Source

Structs§

HighlightRequest
Component indicating that the current document is handling a Highlight request.
Label
SemanticTokensDict
Resource mapping a SemanticTokenType to their used index.

Functions§

basic_semantic_tokens
Generic CST-based semantic token extraction. Register this for each language via: world.schedule_scope(semantic::Label, |_, sched| { sched.add_systems(basic_semantic_tokens::<L>); })
semantic_tokens_system
setup_world

Type Aliases§

TokenTypesComponent