Beispiel #1
0
        public void AddImplementation(SymbolImplementation implementation)
        {
            Debug.Assert(this.implementation == null);
            Debug.Assert(implementation != null);

            this.implementation = implementation;
        }
Beispiel #2
0
        public ICollection <Symbol> TransformSymbolImplementation(SymbolImplementation implementation)
        {
            List <Symbol> transformedSymbols = new List <Symbol>();

            SymbolScope scope = implementation.Scope;

            TransformScope(scope, transformedSymbols);

            return(transformedSymbols);
        }
Beispiel #3
0
        public void AddImplementation(SymbolImplementation implementation, bool getter)
        {
            Debug.Assert(implementation != null);

            if (getter)
            {
                Debug.Assert(getterImplementation == null);
                getterImplementation = implementation;
            }
            else
            {
                Debug.Assert(setterImplementation == null);
                setterImplementation = implementation;
            }
        }
Beispiel #4
0
        public void AddImplementation(SymbolImplementation implementation, bool adder)
        {
            Debug.Assert(implementation != null);

            if (adder)
            {
                Debug.Assert(adderImplementation == null);
                adderImplementation = implementation;
            }
            else
            {
                Debug.Assert(removerImplementation == null);
                removerImplementation = implementation;
            }
        }