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

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

            SymbolScope scope = implementation.Scope;

            TransformScope(scope, transformedSymbols);

            return(transformedSymbols);
        }
Exemple #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;
            }
        }
Exemple #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;
            }
        }