IRegionStyle

public interface IRegionStyle<F>

Interface for styles that range over a region in source text. Created by the IStylerService from a categorization of a parse or analysis result.

Parameters:
  • <F> – Type of fragments.

Methods

fragment

F fragment()
Returns:Fragment associated with the region, or null if there is no such association.

region

ISourceRegion region()
Returns:Region in source text over which the style spans.

style

IStyle style()
Returns:Style assigned to the region.