public override string Output(int level) { return(Utils.IndentedFormat(level, "{0}\n{1}{2}{3}{4}", this.GetType().Name, Utils.IndentedFormat(level + 1, "[CODE]\n"), (Code != null) ? Code.Output(level + 2) : "", Utils.IndentedFormat(level + 1, "[CONDITION]\n"), (Condition != null) ? Condition.Output(level + 2) : "" )); }
public override string Output(int level) { if (ReturnValue == null) { return(Utils.IndentedFormat(level, "{0}\n", this.GetType().Name)); } else { return(Utils.IndentedFormat(level, "{0}\n{1}", this.GetType().Name, ReturnValue.Output(level + 1))); } }
public override string Output(int level) { return(Utils.IndentedFormat(level, "{0}\n{1}{2}{3}{4}{5}{6}{7}{8}", this.GetType().Name, Utils.IndentedFormat(level + 1, "[INIT]\n"), (Init != null) ? Init.Output(level + 2) : "", Utils.IndentedFormat(level + 1, "[CONDITION]\n"), (Condition != null) ? Condition.Output(level + 2) : "", Utils.IndentedFormat(level + 1, "[FINAL]\n"), (Final != null) ? Final.Output(level + 2) : "", Utils.IndentedFormat(level + 1, "[CODE]\n"), (Code != null) ? Code.Output(level + 2) : "" )); }
public override string Output(int level) { return(Utils.IndentedFormat(level, "{0}: {1}\n{2}", this.GetType().Name, CastToType, Value.Output(level + 1))); }
public override string Output(int level) { return(Utils.IndentedFormat(level, "{0}\n{1}{2}{3}", this.GetType().Name, Condition.Output(level + 1), TrueNode.Output(level + 1), FalseNode.Output(level + 1))); }