Наследование: CodeObject
Пример #1
0
 ScriptObject ParseEval(CodeEval eval)
 {
     ScriptString obj = ResolveOperand(eval.EvalObject) as ScriptString;
     if (obj == null) throw new ExecutionException(m_script, "Eval参数必须是一个字符串");
     return m_script.LoadString("", obj.Value, this, false);
 }
Пример #2
0
 //返回执行一段字符串
 private CodeEval GetEval()
 {
     CodeEval ret = new CodeEval();
     ret.EvalObject = GetObject();
     return ret;
 }