Some work on Expression and Operand.

This commit is contained in:
Brad Arant committed 2024-07-22 14:49:15 -07:00
1 parent ea3d1a7ad0
commit 8475ef01d1
6 files changed
+96 -18

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
#include "Operand.h"
namespace jet {
Operand::Operand(coreutils::ZString &in) {
if(in.ifNext("true")) {
boolean = true;
return;
}
if(in.ifNext("false")) {
boolean = false;
return;
}
/*
if(in.ifNext("+")) {
}
if(in.ifNext("-")) {
}
if(in.getTokenInclude("0123456789")) {
}
if(in.ifNext(".")) {
}
if(in.getTokenInclude("0123456789")) {
}
if(in.ifNext("\"")) {
}
*/
}
}