• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

Analitza

Classes | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
AbstractLexer Class Referenceabstract

#include <abstractlexer.h>

Inheritance diagram for AbstractLexer:
Inheritance graph
[legend]

Classes

struct  TOKEN
 

Public Member Functions

 AbstractLexer (const QString &source)
 
virtual ~AbstractLexer ()
 
QString error () const
 
bool isCompleteExpression (bool justempty=false)
 
bool isCompletelyRead () const
 
int lex ()
 
int lineNumber () const
 

Public Attributes

TOKEN current
 

Protected Member Functions

virtual void getToken ()=0
 
void printQueue (const QQueue< TOKEN > &q) const
 

Protected Attributes

QString m_err
 
int m_lines
 
int m_openCb
 
int m_openPr
 
QString m_source
 
QQueue< TOKEN > m_tokens
 

Static Protected Attributes

static QHash< QString, int > m_longOperators
 
static QHash< QChar, int > m_operators
 

Detailed Description

Definition at line 28 of file abstractlexer.h.

Constructor & Destructor Documentation

AbstractLexer::AbstractLexer ( const QString &  source)
virtual AbstractLexer::~AbstractLexer ( )
virtual

Member Function Documentation

QString AbstractLexer::error ( ) const
inline

Definition at line 49 of file abstractlexer.h.

virtual void AbstractLexer::getToken ( )
protectedpure virtual
bool AbstractLexer::isCompleteExpression ( bool  justempty = false)
bool AbstractLexer::isCompletelyRead ( ) const
inline

Definition at line 46 of file abstractlexer.h.

int AbstractLexer::lex ( )
int AbstractLexer::lineNumber ( ) const
inline

Definition at line 45 of file abstractlexer.h.

void AbstractLexer::printQueue ( const QQueue< TOKEN > &  q) const
protected

Member Data Documentation

TOKEN AbstractLexer::current

Definition at line 48 of file abstractlexer.h.

QString AbstractLexer::m_err
protected

Definition at line 53 of file abstractlexer.h.

int AbstractLexer::m_lines
protected

Definition at line 56 of file abstractlexer.h.

QHash<QString, int> AbstractLexer::m_longOperators
staticprotected

Definition at line 60 of file abstractlexer.h.

int AbstractLexer::m_openCb
protected

Definition at line 57 of file abstractlexer.h.

int AbstractLexer::m_openPr
protected

Definition at line 57 of file abstractlexer.h.

QHash<QChar, int> AbstractLexer::m_operators
staticprotected

Definition at line 59 of file abstractlexer.h.

QString AbstractLexer::m_source
protected

Definition at line 54 of file abstractlexer.h.

QQueue<TOKEN> AbstractLexer::m_tokens
protected

Definition at line 58 of file abstractlexer.h.


The documentation for this class was generated from the following file:
  • abstractlexer.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:11:37 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Analitza

Skip menu "Analitza"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal