IRegionCategory

public interface IRegionCategory<F>

Interface for categories that range over a region in source text. Created by the ICategorizerService from a parse or analysis result.

Parameters:
  • <F> – Type of fragments.

Methods

category

ICategory category()
Returns:Category assigned to the region.

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 category spans.