public ParsedScript Parse(string text) { if (text == null) throw new ArgumentNullException("text"); return (ParsedScript)Parse(text, false); }
public Compiler() { _engine = new ScriptEngine("jscript"); Debug.Assert(!string.IsNullOrWhiteSpace(LoadResource("compiler.js"))); _vm = _engine.Parse(LoadResource("compiler.js")); }