-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrules.h
executable file
·68 lines (59 loc) · 1.18 KB
/
rules.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/*
* rules.h
* Benjamin Ferid Issa
* February 8th 2017
*
* Based on files provided by Dr. Frank Jones, Computer Science Department, Brigham Young University
*/
#ifndef RULES_H
#define RULES_H
#include "state.h"
class rules: public state
{
public:
rules(lexer* ContextManager, token* Token):state(ContextManager, Token){}
bool input(char Character);
private:
~rules(){}
};
class ruleR: public state
{
public:
ruleR(lexer* ContextManager, token* Token):state(ContextManager, Token){}
bool input(char Character);
private:
~ruleR(){}
};
class ruleU: public state
{
public:
ruleU(lexer* ContextManager, token* Token):state(ContextManager, Token){}
bool input(char Character);
private:
~ruleU(){}
};
class ruleL: public state
{
public:
ruleL(lexer* ContextManager, token* Token):state(ContextManager, Token){}
bool input(char Character);
private:
~ruleL(){}
};
class ruleE: public state
{
public:
ruleE(lexer* ContextManager, token* Token):state(ContextManager, Token){}
bool input(char Character);
private:
~ruleE(){}
};
class ruleS: public state
{
public:
ruleS(lexer* ContextManager, token* Token):state(ContextManager, Token){}
bool input(char Character);
private:
~ruleS(){}
};
#endif