summaryrefslogtreecommitdiff
path: root/lexer.cpp
blob: c58ebb5dca5f4e64b8547998b388c58eacb663e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* PIA - Lenguajes Modernos de Programación
 * FACULTAD DE CIENCIAS FÍSICO MATEMÁTICAS
 * Luis Sebastián Martínez Vega - LCC */

#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(){}