annotate Jint.Runtime/VM/Machine.cs @ 6:a6329b092499

Added scopes, function builder
author cin
date Wed, 30 Oct 2013 17:38:35 +0400
parents aced2ae9957f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
a6329b092499 Added scopes, function builder
cin
parents: 3
diff changeset
1 using System;
a6329b092499 Added scopes, function builder
cin
parents: 3
diff changeset
2 using System.Collections.Generic;
a6329b092499 Added scopes, function builder
cin
parents: 3
diff changeset
3 using System.Linq;
a6329b092499 Added scopes, function builder
cin
parents: 3
diff changeset
4 using System.Text;
a6329b092499 Added scopes, function builder
cin
parents: 3
diff changeset
5
a6329b092499 Added scopes, function builder
cin
parents: 3
diff changeset
6 namespace Jint.Runtime.VM {
a6329b092499 Added scopes, function builder
cin
parents: 3
diff changeset
7 class Machine {
a6329b092499 Added scopes, function builder
cin
parents: 3
diff changeset
8 Frame m_frame;
a6329b092499 Added scopes, function builder
cin
parents: 3
diff changeset
9
a6329b092499 Added scopes, function builder
cin
parents: 3
diff changeset
10 public void Run(IInstruction prog) {
a6329b092499 Added scopes, function builder
cin
parents: 3
diff changeset
11 while (prog != null)
a6329b092499 Added scopes, function builder
cin
parents: 3
diff changeset
12 prog = prog.Invoke(m_frame);
a6329b092499 Added scopes, function builder
cin
parents: 3
diff changeset
13 }
a6329b092499 Added scopes, function builder
cin
parents: 3
diff changeset
14 }
a6329b092499 Added scopes, function builder
cin
parents: 3
diff changeset
15 }