public interface ISemanticHighlightingCalculator
ISemanticHighlightingCalculator
to compute
the mapping from ranges in the input to the appropriate highlighting style.Modifier and Type | Method and Description |
---|---|
void |
provideHighlightingFor(XtextResource resource,
IHighlightedPositionAcceptor acceptor) |
void provideHighlightingFor(XtextResource resource, IHighlightedPositionAcceptor acceptor)
resource
- the resource that will be highlighted. May be null
in some rare cases.acceptor
- used to announce the mapping from text-range to the style's id. The acceptor will never be null
.