JintScript.cs 387 B

1234567891011121314151617
  1. namespace Jint.Runtime.Interpreter.Statements
  2. {
  3. internal sealed class JintScript
  4. {
  5. private readonly JintStatementList _list;
  6. public JintScript(Script script)
  7. {
  8. _list = new JintStatementList(script);
  9. }
  10. public Completion Execute(EvaluationContext context)
  11. {
  12. return _list.Execute(context);
  13. }
  14. }
  15. }