12 lines
182 B
C++
12 lines
182 B
C++
#pragma once
|
|
|
|
#include "token.hh"
|
|
#include <vector>
|
|
|
|
struct Scanner {
|
|
Scanner(const std::string &code) : code{code} {};
|
|
std::vector<Token> scan_tokens();
|
|
|
|
std::string code;
|
|
};
|