Contents

tokensForRange:

Tokenizes the string within the provided range.

Declaration

- (NSArray<NSValue *> *) tokensForRange:(NSRange) range;

Parameters

  • range:

    The range within the string that should be tokenzied.

Return Value

Returns the ranges corresponding to the tokens for the tokenizer’s unit that intersect the given range.

See Also

Enumerating the tokens