diff options
author | Aleksey Veresov <aleksey@veresov.pro> | 2019-11-08 19:49:40 +0300 |
---|---|---|
committer | Aleksey Veresov <aleksey@veresov.pro> | 2019-11-08 19:56:11 +0300 |
commit | 3047ed6100a56a529f26e43ada0a3fc3c3815c3e (patch) | |
tree | 9648d5a74bae9cbd90670a8bfa0af47189e4536f /src/script.cpp | |
parent | c6419eed96f2832b1de2b94d711552efaa9b172d (diff) | |
download | texo-3047ed6100a56a529f26e43ada0a3fc3c3815c3e.tar texo-3047ed6100a56a529f26e43ada0a3fc3c3815c3e.tar.xz texo-3047ed6100a56a529f26e43ada0a3fc3c3815c3e.zip |
[texo] Full rewrite of inner representation.
Diffstat (limited to 'src/script.cpp')
-rw-r--r-- | src/script.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/script.cpp b/src/script.cpp new file mode 100644 index 0000000..d335ff0 --- /dev/null +++ b/src/script.cpp @@ -0,0 +1,21 @@ +#include "script.hpp" + + +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * Texo String Exporter + */ +TexoExporterString::TexoExporterString(ScriptVariable &str): str(str) +{} + + +bool TexoExporterString::Put(char c) +{ + str += c; + return true; +} + +bool TexoExporterString::Put(const ScriptVariable &addon) +{ + str += addon; + return true; +} |