Defines | Enumerations

C:/CVUT/diplomka/Automata_editor/sources/parser.cpp File Reference

#include "constants.h"
#include "parser.h"
#include "editor.h"
#include "dialogs.h"
#include "state.h"
#include "stateManager.h"
#include "label.h"
#include "transition.h"
#include "oneStateTransition.h"
#include "twoStatesTransition.h"
#include "transitionManager.h"
#include "transforms.h"
#include <QFile>
#include <QMessageBox>
#include <QApplication>
#include <QRect>
#include <QTextEdit>
#include <QVBoxLayout>
#include <QPushButton>
#include <QtDebug>
Include dependency graph for parser.cpp:

Go to the source code of this file.

Defines

#define ADD_KEYWORD(keyword, token)   keywordMap[keyword] = token
#define IF_CAN_CHANGE_EDITOR(x)   if (m_canChangeEditor) {x}

Enumerations

enum  Exceptions {
  U_EOI,
  U_TOKEN,
  NO_STATE,
  STATE_EXIST,
  BAD_STATE_NAME,
  BAD_GRID,
  U_ERR
}

Define Documentation

#define ADD_KEYWORD (   keyword,
  token 
)    keywordMap[keyword] = token

Definition at line 36 of file parser.cpp.

Referenced by LexAn::initialize().

#define IF_CAN_CHANGE_EDITOR (   x  )     if (m_canChangeEditor) {x}

Enumeration Type Documentation

enum Exceptions
Enumerator:
U_EOI 
U_TOKEN 
NO_STATE 
STATE_EXIST 
BAD_STATE_NAME 
BAD_GRID 
U_ERR 

Definition at line 27 of file parser.cpp.