diff options
author | Li Jin <dragon-fly@qq.com> | 2020-01-10 16:30:34 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2020-01-10 16:30:34 +0800 |
commit | 52a6536103f46c26a3ba9b149b0fe7b40d524d8c (patch) | |
tree | 67e4759f8e1ea922079d0e162d84ecba5e558261 /MoonParser/moon_compiler.h | |
parent | 975167856ed0b11c2ede03c6eb750ca4e4a6a7fc (diff) | |
download | yuescript-52a6536103f46c26a3ba9b149b0fe7b40d524d8c.tar.gz yuescript-52a6536103f46c26a3ba9b149b0fe7b40d524d8c.tar.bz2 yuescript-52a6536103f46c26a3ba9b149b0fe7b40d524d8c.zip |
update.
Diffstat (limited to 'MoonParser/moon_compiler.h')
-rw-r--r-- | MoonParser/moon_compiler.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/MoonParser/moon_compiler.h b/MoonParser/moon_compiler.h deleted file mode 100644 index e54c774..0000000 --- a/MoonParser/moon_compiler.h +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include <string> | ||
4 | #include <tuple> | ||
5 | #include <list> | ||
6 | |||
7 | namespace MoonP { | ||
8 | |||
9 | std::pair<std::string,std::string> moonCompile(const std::string& codes, bool implicitReturnRoot = true, bool lineNumber = true); | ||
10 | |||
11 | struct GlobalVar { | ||
12 | std::string name; | ||
13 | int line; | ||
14 | int col; | ||
15 | }; | ||
16 | std::pair<std::string,std::string> moonCompile(const std::string& codes, std::list<GlobalVar>& globals, bool implicitReturnRoot = true, bool lineNumber = true); | ||
17 | |||
18 | } // namespace MoonP | ||