summaryrefslogtreecommitdiff
path: root/lexer.cpp
blob: 0054f5a1e30b3c5131cc407f2e02756a1a16c9ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <string>
#include "include/lexer.hpp"

Lexer::Lexer(std::string text){
  this->text = text;
}

void Lexer::setCurrentToken(Token val){
  current_token = val;
}

Token Lexer::getCurrentToken(){
  return current_token;
}

void Lexer::nextToken(){}