is responsible for managing the opening of the file and running of the lexer, parser and interpreter More...
#include <manager.h>
Public Member Functions | |
| void | __BEGIN__PROCESSING (const std::string &filePath) |
| begins processing the file passed in as a string | |
Private Member Functions | |
| void | RUN__INTERPRETER (const std::string ¤tLine) |
| runs the lexer, parser and interpreter for the current line | |
Static Private Member Functions | |
| static bool | aceptableChars (const char &character) |
| determines if the character being read is part of acceptable characters | |
| static void | displayVector (const std::vector< token > &vect) |
| displays a vector of tokens for debugging purposes | |
Private Attributes | |
| std::string | filepath = "" |
| filepath of the file to be processed | |
| int | lnNum = 0 |
| current line in the file being processed | |
| bool | isInComment = false |
| is used to keep track of whether or not a comment is currently being read | |
Static Private Attributes | |
| static const int | acceptable_charactersSIZE = 86 |
| array size of acceptable characters that can be processed by the lexer | |
| static const std::array< char, manager::acceptable_charactersSIZE > | acceptable_characters |
| an array of acceptable characters that can be processed by the lexer | |
is responsible for managing the opening of the file and running of the lexer, parser and interpreter