예제 #1
0
 private void RemoveScope()
 {
     scopes.Pop();
     scopeBounds.Pop();
     curScope      = scopes.Peek();
     curBounds     = scopeBounds.Peek();
     curStatements = scopes.Peek().Statements;
 }
예제 #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;
 }