summaryrefslogtreecommitdiffstats
path: root/kommander/widget/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/widget/parser.h')
-rw-r--r--kommander/widget/parser.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/kommander/widget/parser.h b/kommander/widget/parser.h
index cc7c6010..6dc66258 100644
--- a/kommander/widget/parser.h
+++ b/kommander/widget/parser.h
@@ -68,16 +68,6 @@ public:
void unsetArray(const QString& name, const QString& key = QString::null);
// array value
ParseNode arrayValue(const QString& name, const QString& key) const;
- // access 2D array
- const QMap<QString, QMap<QString, ParseNode> >& matrix(const QString& name) const;
- // check if this is name of a 2D array
- bool isMatrix(const QString& name) const;
- // set array key
- void setMatrix(const QString& name, const QString& keyr, const QString& keyc, ParseNode value);
- // unset array key or whole array
- void unsetMatrix(const QString& name, const QString& keyr = QString::null, const QString& keyc = QString::null);
- // array value
- ParseNode matrixValue(const QString& name, const QString& keyr, const QString& keyc) const;
// get associated widget
KommanderWidget* currentWidget() const;
@@ -143,8 +133,6 @@ private:
void insertNode(ParseNode p, int line);
// next item to be parsed
ParseNode next() const;
- // next is Else or Else && If?
- bool nextElseIf();
// check if next item is keyword k, if so - go further, if no, set error
bool tryKeyword(Parse::Keyword k, Parse::Mode mode = Parse::Execute);
// check if next item is a variable, if so, return its name
@@ -181,16 +169,12 @@ private:
QMap<QString, ParseNode> m_variables;
// arrays
QMap<QString, QMap<QString, ParseNode> > m_arrays;
- // 2D arrays
- QMap<QString, QMap<QString, QMap<QString, ParseNode> > > m_matrices;
// Kommander
KommanderWidget* m_widget;
// global variables
static QMap<QString, ParseNode> m_globalVariables;
// global arrays
static QMap<QString, QMap<QString, ParseNode> > m_globalArrays;
- // global 2D arrays
- static QMap<QString, QMap<QString, QMap<QString, ParseNode> > > m_globalMatrices;
};
#endif