-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchecker.h
More file actions
42 lines (29 loc) · 733 Bytes
/
Copy pathchecker.h
File metadata and controls
42 lines (29 loc) · 733 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
//
// main.h
// pa3
//
// Created by Adam on 4/9/17.
// Copyright © 2017 Adam. All rights reserved.
//
#ifndef checker_h
#define checker_h
#include <iostream>
#include <fstream>
#include <string>
#include <sstream>
#include "Stack.h"
using namespace std;
class checker
{
public:
void readFile(string fileName, Stack s);
void textBreakup(string text, Stack s);
void findDelimiter(string * storage, Stack s);
void findKeywords(string *storage, Stack s);
void findConstants(string *storage, Stack s);
void findIdentifiers(string *storage, Stack s);
void findOperators(string *storage, Stack s);
private:
string fileName;
};
#endif /* main_h */