public void AddImplementation(SymbolImplementation implementation) { Debug.Assert(this.implementation == null); Debug.Assert(implementation != null); this.implementation = implementation; }
public ICollection <Symbol> TransformSymbolImplementation(SymbolImplementation implementation) { List <Symbol> transformedSymbols = new List <Symbol>(); SymbolScope scope = implementation.Scope; TransformScope(scope, transformedSymbols); return(transformedSymbols); }
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; } }
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; } }