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