-
Notifications
You must be signed in to change notification settings - Fork 0
/
comment.h
61 lines (51 loc) · 1.17 KB
/
comment.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
/*
* comment.h
* Benjamin Ferid Issa
* February 8th 2017
*
* Based on files provided by Dr. Frank Jones, Computer Science Department, Brigham Young University
*/
#ifndef COMMENT_H
#define COMMENT_H
#include "state.h"
class comment: public state
{
public:
comment(lexer* ContextManager, token* Token):state(ContextManager, Token){}
bool input(char Character);
private:
~comment(){}
};
class poundsign: public state
{
public:
poundsign(lexer* ContextManager, token* Token):state(ContextManager, Token){}
bool input(char Character);
private:
~poundsign(){}
};
class insinglelinecomment: public state
{
public:
insinglelinecomment(lexer* ContextManager, token* Token):state(ContextManager, Token){}
bool input(char Character);
private:
~insinglelinecomment(){}
};
class inmultilinecomment: public state
{
public:
inmultilinecomment(lexer* ContextManager, token* Token):state(ContextManager, Token){}
bool input(char Character);
private:
~inmultilinecomment(){}
};
class multilinecommentline: public state
{
public:
multilinecommentline(lexer* ContextManager, token* Token):state(ContextManager, Token){}
bool input(char Character);
private:
~multilinecommentline(){}
};
#endif