语言匹配

这个提交包含在:
2020-04-20 12:19:24 +08:00
父节点 8c7f51620a
当前提交 dcb4f22f54
共有 5 个文件被更改,包括 110 次插入 和 4 次删除

26
Test.js 普通文件
查看文件

@ -0,0 +1,26 @@
"use strict";
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
var Core = __importStar(require("./Core"));
var ZExec = (function (Str) { return ""; });
(function (R, Info) {
if (R.$1.indexOf("则") == -1) {
return "行动缺失";
}
var k = R.$1.split("则", 2);
console.log("k:" + k + "k");
console.log("" + R.$1);
console.log(ZExec(k[0]));
console.log(eval(ZExec(k[1])));
if (eval(ZExec(k[0]))) {
console.log(ZExec(k[1]));
return eval(ZExec(k[1]));
}
;
})(RegExp, new Core.InfoType());