public CLS_Content.Value Expr_Execute(ICLS_Expression expr) { CLS_Content content = CreateContent(); return expr.ComputeValue(content); } public CLS_Content.Value Expr_Execute(ICLS_Expression expr, CLS_Content content)
public static void CSLightDoString(string code) { var c = new CSLE.CLS_Content(env, false); int hash = code.GetHashCode(); if (expcache.ContainsKey(hash)) { env.Expr_Execute(expcache[hash], c); return; } var t = env.ParserToken(code); var e = env.Expr_CompilerToken(t); expcache[hash] = e; env.Expr_Execute(e, c); }