Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ZContextVar* ZIfNode::Exec(const std::vector<ZContextVar*>& params)
- {
- if (mIfExpr->Exec(std::vector<ZContextVar*>())->GetIntVal() >= 1)
- {
- mTrueCode->SetClassOwner(GetClassOwner());
- mTrueCode->Exec(params);
- }
- else {
- if (mElseIf != nullptr) {
- mElseIf->Exec(params);
- }
- if (mElseCode != nullptr) {
- mElseCode->Exec(params);
- }
- }
- int a = 5;
- return nullptr;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement