aboutsummaryrefslogtreecommitdiff
path: root/include/lexer.h
blob: 4c0e606d91d23059e79490fd14ef991cc4352688 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef __LEXER_H
#define __LEXER_H

#include <list.h>
#include <token.h>

class Lexer
{
private:
  char *m_script;
  List *m_tokens;

public:
  void init(char *script);

  void scan_tokens(void);
  List *tokens(void);

  void clean(void);
};

#endif