~verifypn-cpn/verifypn/unitTest

« back to all changes in this revision

Viewing changes to PetriParse/QueryParser.h

  • Committer: Mark Glavind
  • Date: 2019-05-06 10:44:00 UTC
  • mfrom: (218.1.27 queryUnfold)
  • Revision ID: mglavi14@student.aau.dk-20190506104400-wpzcw3yowesturzh
merge from unfoldQuery, feature finished

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
#ifndef QUERYPARSER_H
 
3
#define QUERYPARSER_H
 
4
 
 
5
 
 
6
#include "../PetriEngine/PQL/PQL.h"
 
7
using namespace PetriEngine::PQL;
 
8
 
 
9
struct QueryItem {
 
10
    std::string id; // query name
 
11
    Condition_ptr query;
 
12
 
 
13
    enum {
 
14
        PARSING_OK,
 
15
        UNSUPPORTED_QUERY,
 
16
    } parsingResult;
 
17
};
 
18
 
 
19
 
 
20
#endif /* QUERYPARSER_H */
 
21