public void initChild(string file, int line, string name) { childInterpreter = new GSKInterpreter(basepath); childInterpreter.parentLine = line; childFile = file; childInterpreter.parentName = name; childInterpreter.run(childFile); //报错信息 hasChild = true; }
public void destoryChild() { childInterpreter = null; parentLine = -1; hasChild = false; }