public override void Clone(FuzzyObject source) { base.Clone(source); FuzzyRegexp S = source as FuzzyRegexp; if (S != null) { Pattern = S.Pattern.Clone() as FuzzyString; Options = S.Options; } }
public override void Clone(FuzzyObject source) { base.Clone(source); FuzzyString S = source as FuzzyString; if (S != null) { this.raw = S.raw; this.encoding = S.encoding; } }
public static FuzzySymbol GetSymbol(FuzzyString str) { string s = str.Text; if (symbols.ContainsKey(s)) { return(symbols[s]); } FuzzySymbol sym = new FuzzySymbol(s); sym.rubyString = str; return(sym); }
public FuzzyRegexp(FuzzyString Pattern, FuzzyRegexpOptions Options) { this.Pattern = Pattern; this.Options = Options; this.ClassName = FuzzySymbol.GetSymbol("Regexp"); }
public FuzzyStringDebugView(FuzzyString str) { this.str = str; }
public object this[FuzzyString key] { get { return(this[FuzzySymbol.GetSymbol(key)]); } set { this[FuzzySymbol.GetSymbol(key)] = value; } }