コード例 #1
0
        internal void DefineCapturedVariable(int scope_id, string name, string captured_name,
                                             CapturedVariable.CapturedKind kind)
        {
            if (reader != null)
            {
                throw new InvalidOperationException();
            }

            AnonymousScopeEntry scope = anonymous_scopes [scope_id];

            scope.AddCapturedVariable(name, captured_name, kind);
        }