~berciu-deactivatedaccount/cristallparser/unstable-qt

« back to all changes in this revision

Viewing changes to grammar.h

  • Committer: Sylwke3100
  • Date: 2014-02-03 14:10:31 UTC
  • Revision ID: git-v1:166ce1967fc3953c6a7f9b770d7ff1386b240370
Add new version with rebuild method detect

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef GRAMMAR_H
 
2
#define GRAMMAR_H
 
3
#include <iostream>
 
4
#include <vector>
 
5
#include "cristallstack.h"
 
6
 
 
7
class Grammar{
 
8
public:
 
9
    std::string Label;
 
10
    virtual bool isRule(std::string& Text) = 0;
 
11
    virtual void parse(std::string& Text, std::vector<CristallStack>& Stack ) = 0;
 
12
};
 
13
 
 
14
#endif // GRAMMAR_H