public override LazyList <string> Visit(StrLitNode node, Precedence parentPrecedence) { Contracts.AssertValue(node); return(LazyList <string> .Of( "\"", CharacterUtils.ExcelEscapeString(node.Value), "\"")); }
internal static IEnumerable <KeyValuePair <string, DType> > GetColumnNameStringSuggestions(DType scopeType) { Contracts.AssertValid(scopeType); foreach (var name in scopeType.GetNames(DPath.Root)) { yield return(new KeyValuePair <string, DType>(("\"" + CharacterUtils.ExcelEscapeString(name.Name.Value) + "\""), name.Type)); } }