Some work on Expression and Operand.
This commit is contained in:
1 parent
ea3d1a7ad0
commit
8475ef01d1
6 files changed
+96
-18
No files matched your search
+36
@@ -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("\"")) {
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user