addRange abstract method

void addRange(
  1. SourceRange range,
  2. FoldingKind kind
)

Record a new folding region corresponding to the given range that has the given kind.

Implementation

void addRange(SourceRange range, FoldingKind kind);