public override string ToString(string indent, bool last) { var decoration = GetLogDecoration(indent, last); var res = identifier.ToString(decoration.Indent, true); return(res); }
public override string ToString(string indent, bool last) { var decoration = GetLogDecoration(indent, last); var res = decoration.Prefix + string.Format(" Iteration Foreach\n"); res += decoration.Prefix + string.Format(" {0}\n", vt); res += id.ToString(decoration.Indent, false); res += list.ToString(decoration.Indent, false); res += statement.ToString(decoration.Indent, true); return(res); }