sapphirec
The Sapphire documentation
Importer.h
Go to the documentation of this file.
1 #pragma once
2 #include "Lexer.h"
3 #include "Token.h"
4 
5 namespace Importer
6 {
7 extern int import_count;
8 extern std::vector<std::shared_ptr<Location>> import_stack;
9 extern std::vector<std::string> imported_files;
10 TokenStream evaluate(const TokenStream& original);
11 void init(std::string init_file);
12 } // namespace Importer
std::vector< Token > TokenStream
Definition: Lexer.h:7
Definition: Importer.h:6
std::vector< std::shared_ptr< Location > > import_stack
Definition: Importer.cpp:12
int import_count
Definition: Importer.cpp:10
std::vector< std::string > imported_files
Definition: Importer.cpp:13
void init(std::string init_file)
Definition: Importer.cpp:165
TokenStream evaluate(const TokenStream &original)
Definition: Importer.cpp:15