internal void MarkAsUsed(Symbol key) { if (optionalColumnUsage.ContainsKey(key)) { optionalColumnUsage[key].Value = true; } }
internal void Add(Symbol sourceSymbol, Symbol symbolToAdd) { BoolWrapper wrapper; if (sourceSymbol == null || !this.optionalColumnUsage.TryGetValue(sourceSymbol, out wrapper)) { wrapper = new BoolWrapper(); } this.optionalColumnUsage.Add(symbolToAdd, wrapper); }
internal bool TryGetValue(Symbol key, out bool value) { BoolWrapper wrapper; if (optionalColumnUsage.TryGetValue(key, out wrapper)) { value = wrapper.Value; return true; } value = false; return false; }
internal bool IsUsed(Symbol key) { return optionalColumnUsage[key].Value; }
internal bool ContainsKey(Symbol key) { return optionalColumnUsage.ContainsKey(key); }
internal OptionalColumn(SymbolUsageManager usageManager, Symbol symbol) { this.m_usageManager = usageManager; this.m_symbol = symbol; }
public SymbolPair(Symbol source, Symbol column) { this.Source = source; this.Column = column; }
internal void Add(string name, Symbol value) { symbols[symbols.Count - 1][name] = value; }