TextMateLib 1.0
Modern C++ implementation of the TextMate syntax highlighting engine
Loading...
Searching...
No Matches
TextMateTokenizeResult Struct Reference

Result from tokenizing a single line with decoded tokens. More...

#include </home/runner/work/TextMateLib/TextMateLib/packages/tml-cpp/src/c_api.h>

Collaboration diagram for TextMateTokenizeResult:
[legend]

Public Attributes

TextMateTokentokens
 Array of tokens found in this line.
 
int32_t tokenCount
 Number of tokens in the array.
 
TextMateStateStack ruleStack
 State at end of line (pass to next line's tokenization)
 
int32_t stoppedEarly
 Non-zero if tokenization stopped before end (time limit hit)
 

Detailed Description

Result from tokenizing a single line with decoded tokens.

Returned by textmate_tokenize_line(). Contains the tokens and the state needed to continue tokenization on the next line (for incremental updates).

Memory Ownership: Caller must free this structure using textmate_free_tokenize_result().

Definition at line 72 of file c_api.h.


The documentation for this struct was generated from the following files: