Beispiel #1
0
        protected void OpenScope(IScope scope, ParseContext context)
        {
            if (BeforeScopeOpens != null) {
                BeforeScopeOpens.Invoke(scope, context);
            }

            context.Scopes.Push(scope);
            scope.Open(context.Analyzer);

            if (AfterScopeOpens != null) {
                AfterScopeOpens.Invoke(scope, context);
            }
        }