struct EE::UI::Doc::TokenizedLine

#include <syntaxhighlighter.hpp>

struct TokenizedLine {
    // fields

    SyntaxState initState;
    String::HashType hash { 0 };
    SmallVector<SyntaxTokenPosition, 4> tokens;
    SyntaxState state;
    Uint64 signature { 0 };

    // methods

    void updateSignature();
    static Uint64 calcSignature(const SmallVector<SyntaxTokenPosition, 4>& tokens);
};