Exemple #1
0
        public void Mangle(ScopeOptions?options = null)
        {
            options ??= new ScopeOptions();
            new ScopeParser(options).FigureOutScope(this);
            options.BeforeMangling?.Invoke(this);
            var m = new MangleTreeWalker(options);

            m.Mangle(this);
        }
Exemple #2
0
        public void Mangle(ScopeOptions options = null)
        {
            if (options == null)
            {
                options = new ScopeOptions();
            }
            new ScopeParser(options).FigureOutScope(this);
            var m = new MangleTreeWalker(options);

            m.Mangle(this);
        }