[KLF Backend][KLF Tools][KLF Home]
KLatexFormula Project
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
KLFLatexSyntaxHighlighter::ParsedBlock Struct Reference

#include <klflatexedit.h>

Collaboration diagram for KLFLatexSyntaxHighlighter::ParsedBlock:
Collaboration graph
[legend]

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

Enumerator
None 
Matched 
Mismatched 
Lonely 

Definition at line 210 of file klflatexedit.h.

Enumerator
Normal 
Keyword 
Comment 
Paren 

Definition at line 205 of file klflatexedit.h.

Enumerator
NoMask 
KeywordMask 
CommentMask 
ParenMask 

Definition at line 206 of file klflatexedit.h.

Constructor & Destructor Documentation

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

Definition at line 212 of file klflatexedit.h.

Member Function Documentation

bool KLFLatexSyntaxHighlighter::ParsedBlock::parenIsLatexBrace ( ) const

Member Data Documentation

QString KLFLatexSyntaxHighlighter::ParsedBlock::keyword

Definition at line 222 of file klflatexedit.h.

Referenced by operator<<().

int KLFLatexSyntaxHighlighter::ParsedBlock::len

Definition at line 220 of file klflatexedit.h.

Referenced by operator<<().

bool KLFLatexSyntaxHighlighter::ParsedBlock::parenisopening

Definition at line 225 of file klflatexedit.h.

Referenced by operator<<().

ParenMatch KLFLatexSyntaxHighlighter::ParsedBlock::parenmatch

Definition at line 224 of file klflatexedit.h.

Referenced by operator<<().

QString KLFLatexSyntaxHighlighter::ParsedBlock::parenmodifier

Definition at line 227 of file klflatexedit.h.

Referenced by operator<<().

int KLFLatexSyntaxHighlighter::ParsedBlock::parenotherpos

Definition at line 229 of file klflatexedit.h.

Referenced by operator<<().

int KLFLatexSyntaxHighlighter::ParsedBlock::parenSpecIndex

Definition at line 226 of file klflatexedit.h.

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

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().

QString KLFLatexSyntaxHighlighter::ParsedBlock::parenstr

Definition at line 228 of file klflatexedit.h.

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

int KLFLatexSyntaxHighlighter::ParsedBlock::pos

Definition at line 219 of file klflatexedit.h.

Referenced by operator<<().

Type KLFLatexSyntaxHighlighter::ParsedBlock::type

Definition at line 217 of file klflatexedit.h.

Referenced by operator<<().


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

Generated by doxygen 1.8.6