Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef TOKENIZER_H
- #define TOKENIZER_H
- #include <iostream>
- #include "token.h"
- using namespace std;
- template <class NumericType>
- class Tokenizer {
- public:
- Tokenizer( istream &is ) : in( is ), prevToken( OPAREN ) {
- }
- Token<NumericType> getToken( );
- private:
- istream ∈
- bool getChar( char &ch );
- TokenType prevToken; // it may be necessary for programming assignment 6
- };
- #include "tokenizer.cpp.h"
- #endif
Add Comment
Please, Sign In to add comment