Esempio n. 1
0
 private void RemoveScope()
 {
     scopes.Pop();
     scopeBounds.Pop();
     curScope      = scopes.Peek();
     curBounds     = scopeBounds.Peek();
     curStatements = scopes.Peek().Statements;
 }
Esempio n. 2
0
 private void AddScope(IActionContainer scope, SwfReader r)
 {
     scopes.Push(scope);
     scopeBounds.Push(r.Position + scope.CodeSize);
     curScope      = scope;
     curBounds     = r.Position + scope.CodeSize;
     curStatements = scope.Statements;
 }