/// <summary>Print the key and rank only, not the rest.</summary> /// <remarks>Print the key and rank only, not the rest.</remarks> public virtual void PrintKey(int indent) { for (int i = 0; i < indent; i++) { ConsoleSurrogate.Write(" "); } ConsoleSurrogate.WriteLine("key: " + key + " " + rank); }
/// <summary>Print a word list on one line.</summary> /// <remarks>Print a word list on one line.</remarks> public virtual void Print(int indent) { for (int i = 0; i < Count; i++) { string s = (string)this [i]; ConsoleSurrogate.Write(s + " "); } ConsoleSurrogate.WriteLine(); }
/// <summary>Print out the decomp rule.</summary> /// <remarks>Print out the decomp rule.</remarks> public virtual void Print(int indent) { string m = mem ? "true" : "false"; for (int i = 0; i < indent; i++) { ConsoleSurrogate.Write(" "); } ConsoleSurrogate.WriteLine("decomp: " + pattern + " " + m); reasemb.Print(indent + 2); }
/// <summary>Print the reassembly list.</summary> /// <remarks>Print the reassembly list.</remarks> public virtual void Print(int indent) { for (int i = 0; i < Count; i++) { for (int j = 0; j < indent; j++) { ConsoleSurrogate.Write(" "); } string s = (string)this[i]; ConsoleSurrogate.WriteLine("reasemb: " + s); } }
/// <summary>Prnt the synonym lists.</summary> /// <remarks>Prnt the synonym lists.</remarks> public virtual void Print(int indent) { for (int i = 0; i < Count; i++) { for (int j = 0; j < indent; j++) { ConsoleSurrogate.Write(" "); } ConsoleSurrogate.Write("synon: "); WordList w = (WordList)this[i]; w.Print(indent); } }