5 #include "Kernel_global.h"
10 enum OperationType{otUnknown=0,otFunction=1, otCommand=2, otSelection=4};
19 QString value()
const;
20 QString domain()
const;
21 void domain(
const QString& dom);
22 IlwisTypes valuetype()
const;
23 bool isEqual(
const Parameter& parm)
const;
25 static IlwisTypes determineType(
const QString &value,
const SymbolTable& symtab) ;
62 Parameter parm(
int index,
bool in=
true)
const;
71 Parameter parm(
const QString key,
bool toLower=
true,
bool in=
true)
const;
77 QString name(
bool toLower=
true)
const;
83 int parameterCount(
bool in=
true)
const;
91 QUrl metaUrl(
bool simple=
true)
const;
92 void setExpression(
const QString &e,
const SymbolTable &symtab);
93 bool matchesParameterCount(
const QString &match,
bool in=
true)
const;
94 QString toString()
const;
97 QList<Parameter> _inParameters;
98 QList<Parameter> _outParameters;
102 void parseFunctionExpression(
const QString &txt,
const SymbolTable &symtab);
103 void parseCommandExpression(
const QString &expr,
const SymbolTable &symtab);
104 void parseSelectors(
const QString& selectors,
const SymbolTable &symtab);
105 void specialExpressions(
const QString &e,
const SymbolTable &symtab);
112 #endif // EXPRESSION_H