JetCore/KeywordValue.cpp
2024-09-24 12:13:06 -07:00

20 lines
364 B
C++

#include "KeywordValue.h"
#include <iostream>
namespace jet {
KeywordValue::KeywordValue(coreutils::ZString data, Global &global) : MString() {
while(!data.eod()) {
if(data.startsWith("$[")) {
write(global.getVariable(data));
} else {
write(data.charAt(0));
data.nextChar();
}
}
}
KeywordValue::~KeywordValue() {}
}