[KLF Backend][KLF Tools][KLF Home]
KLatexFormula Project
KLFLatexSyntaxHighlighter::ParsedBlock Struct Reference

#include <klflatexedit.h>

Collaboration diagram for KLFLatexSyntaxHighlighter::ParsedBlock:

Public Types

enum  Type { Normal = 0 , Keyword , Comment , Paren }
enum  TypeMask { NoMask = 0 , KeywordMask = 1 << Keyword , CommentMask = 1 << Comment , ParenMask = 1 << Paren }
enum  ParenMatch { None = 0 , Matched , Mismatched , Lonely }

Public Member Functions

 ParsedBlock (Type t=Normal, int a=-1, int l=-1)
bool parenIsLatexBrace () const

Public Attributes

Type type
int pos
int len
QString keyword
ParenMatch parenmatch
bool parenisopening
int parenSpecIndex
QString parenmodifier
QString parenstr
int parenotherpos

Static Public Attributes

static KLFLatexParenSpecs parenSpecs

Detailed Description

Definition at line 204 of file klflatexedit.h.

Member Enumeration Documentation

◆ ParenMatch

Enumerator
None 
Matched 
Mismatched 
Lonely 

Definition at line 210 of file klflatexedit.h.

◆ Type

Enumerator
Normal 
Keyword 
Comment 
Paren 

Definition at line 205 of file klflatexedit.h.

◆ TypeMask

Enumerator
NoMask 
KeywordMask 
CommentMask 
ParenMask 

Definition at line 206 of file klflatexedit.h.

Constructor & Destructor Documentation

◆ ParsedBlock()

KLFLatexSyntaxHighlighter::ParsedBlock::ParsedBlock ( Type t = Normal,
int a = -1,
int l = -1 )
inline

Definition at line 212 of file klflatexedit.h.

References keyword, len, None, Normal, parenisopening, parenmatch, parenmodifier, parenotherpos, parenstr, pos, and type.

Member Function Documentation

◆ parenIsLatexBrace()

bool KLFLatexSyntaxHighlighter::ParsedBlock::parenIsLatexBrace ( ) const

Member Data Documentation

◆ keyword

QString KLFLatexSyntaxHighlighter::ParsedBlock::keyword

Definition at line 222 of file klflatexedit.h.

Referenced by operator<<(), and ParsedBlock().

◆ len

int KLFLatexSyntaxHighlighter::ParsedBlock::len

Definition at line 220 of file klflatexedit.h.

Referenced by operator<<(), and ParsedBlock().

◆ parenisopening

bool KLFLatexSyntaxHighlighter::ParsedBlock::parenisopening

Definition at line 225 of file klflatexedit.h.

Referenced by operator<<(), and ParsedBlock().

◆ parenmatch

ParenMatch KLFLatexSyntaxHighlighter::ParsedBlock::parenmatch

Definition at line 224 of file klflatexedit.h.

Referenced by operator<<(), and ParsedBlock().

◆ parenmodifier

QString KLFLatexSyntaxHighlighter::ParsedBlock::parenmodifier

Definition at line 227 of file klflatexedit.h.

Referenced by operator<<(), and ParsedBlock().

◆ parenotherpos

int KLFLatexSyntaxHighlighter::ParsedBlock::parenotherpos

Definition at line 229 of file klflatexedit.h.

Referenced by operator<<(), and ParsedBlock().

◆ parenSpecIndex

int KLFLatexSyntaxHighlighter::ParsedBlock::parenSpecIndex

Definition at line 226 of file klflatexedit.h.

Referenced by operator<<(), and parenIsLatexBrace().

◆ parenSpecs

KLF_EXPORT KLFLatexParenSpecs KLFLatexSyntaxHighlighter::ParsedBlock::parenSpecs
static

This contains the specifications for matching parens

Definition at line 233 of file klflatexedit.h.

Referenced by parenIsLatexBrace().

◆ parenstr

QString KLFLatexSyntaxHighlighter::ParsedBlock::parenstr

Definition at line 228 of file klflatexedit.h.

Referenced by operator<<(), parenIsLatexBrace(), and ParsedBlock().

◆ pos

int KLFLatexSyntaxHighlighter::ParsedBlock::pos

Definition at line 219 of file klflatexedit.h.

Referenced by operator<<(), and ParsedBlock().

◆ type

Type KLFLatexSyntaxHighlighter::ParsedBlock::type

Definition at line 217 of file klflatexedit.h.

Referenced by operator<<(), and ParsedBlock().


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

Generated by doxygen 1.14.0