-
Notifications
You must be signed in to change notification settings - Fork 0
/
schemes.h
executable file
·87 lines (75 loc) · 1.57 KB
/
schemes.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
/*
* schemes.h
* Benjamin Ferid Issa
* February 8th 2017
*
* Based on files provided by Dr. Frank Jones, Computer Science Department, Brigham Young University
*/
#ifndef SCHEMES_H
#define SCHEMES_H
#include "state.h"
class schemes: public state
{
public:
schemes(lexer* ContextManager, token* Token):state(ContextManager, Token){}
bool input(char Character);
private:
~schemes(){}
};
class schemeS1: public state
{
public:
schemeS1(lexer* ContextManager, token* Token):state(ContextManager, Token){}
bool input(char Character);
private:
~schemeS1(){}
};
class schemeC: public state
{
public:
schemeC(lexer* ContextManager, token* Token):state(ContextManager, Token){}
bool input(char Character);
private:
~schemeC(){}
};
class schemeH: public state
{
public:
schemeH(lexer* ContextManager, token* Token):state(ContextManager, Token){}
bool input(char Character);
private:
~schemeH(){}
};
class schemeE1: public state
{
public:
schemeE1(lexer* ContextManager, token* Token):state(ContextManager, Token){}
bool input(char Character);
private:
~schemeE1(){}
};
class schemeM: public state
{
public:
schemeM(lexer* ContextManager, token* Token):state(ContextManager, Token){}
bool input(char Character);
private:
~schemeM(){}
};
class schemeE2: public state
{
public:
schemeE2(lexer* ContextManager, token* Token):state(ContextManager, Token){}
bool input(char Character);
private:
~schemeE2(){}
};
class schemeS2: public state
{
public:
schemeS2(lexer* ContextManager, token* Token):state(ContextManager, Token){}
bool input(char Character);
private:
~schemeS2(){}
};
#endif