-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstrings.h
More file actions
executable file
·42 lines (35 loc) · 788 Bytes
/
strings.h
File metadata and controls
executable file
·42 lines (35 loc) · 788 Bytes
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
/*
* strings.h
* Benjamin Ferid Issa
* February 8th 2017
*
* Based on files provided by Dr. Frank Jones, Computer Science Department, Brigham Young University
*/
#ifndef STRINGS_H
#define STRINGS_H
#include "state.h"
class strings: public state
{
public:
strings(lexer* ContextManager, token* Token):state(ContextManager, Token){}
bool input(char Character);
private:
~strings(){}
};
class inString: public state
{
public:
inString(lexer* ContextManager, token* Token):state(ContextManager, Token){}
bool input(char Character);
private:
~inString(){}
};
class oneQuote: public state
{
public:
oneQuote(lexer* ContextManager, token* Token):state(ContextManager, Token){}
bool input(char Character);
private:
~oneQuote(){}
};
#endif