public override string ToString(string indent, bool last) { var decoration = GetLogDecoration(indent, last); string res; if (modifier == null) { res = decoration.Prefix + string.Format(" {0} {1}\n", type, identifier.name); } else { res = decoration.Prefix + string.Format(" {0} {1} {2}\n", modifier, type, identifier.name); } if (parameterList != null) { res += parameterList.ToString(decoration.Indent, false); } if (body != null) { res += body.ToString(decoration.Indent, true); } return(res); }