From 3047ed6100a56a529f26e43ada0a3fc3c3815c3e Mon Sep 17 00:00:00 2001 From: Aleksey Veresov Date: Fri, 8 Nov 2019 19:49:40 +0300 Subject: [texo] Full rewrite of inner representation. --- src/script.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/script.cpp (limited to 'src/script.cpp') 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; +} -- cgit v1.2.3