public override void Dump(SourceBuilder builder) { // first dump local content builder.AppendFrontFormat("YieldingBlock {0}\n", Name); // then nested content if (NestedOperationsList != null) { builder.Indent(); NestedOperationsList.Dump(builder); builder.Unindent(); } }
public override void Dump(SourceBuilder builder) { // first dump local content builder.AppendFrontFormat("BubbleUpYieldIterated on {0}\n", NestedMatchObjectName); // then nested content if (NestedOperationsList != null) { builder.Indent(); NestedOperationsList.Dump(builder); builder.Unindent(); } }
public override void Dump(SourceBuilder builder) { // first dump local content builder.AppendFront("IteratedMatchingDummyLoopPreventingReturn \n"); // then nested content if (NestedOperationsList != null) { builder.Indent(); NestedOperationsList.Dump(builder); builder.Unindent(); } }
public override void Dump(SourceBuilder builder) { // first dump local content builder.AppendFrontFormat("BubbleUpYieldAlternativeCase on {0}.{1} case match type {2} {3}\n", MatchObjectName, NestedMatchObjectName, AlternativeCaseMatchTypeName, First ? "first" : ""); // then nested content if (NestedOperationsList != null) { builder.Indent(); NestedOperationsList.Dump(builder); builder.Unindent(); } }
public override void Dump(SourceBuilder builder) { Debug.Assert(CheckFailedOperations == null, "check negative without direct check failed code"); // first dump local content builder.AppendFront("CheckPartialMatch ByNegative with "); foreach (string neededElement in NeededElements) { builder.AppendFormat("{0} ", neededElement); } builder.Append("\n"); // then nested content if (NestedOperationsList != null) { builder.Indent(); NestedOperationsList.Dump(builder); builder.Unindent(); } }
public override void Dump(SourceBuilder builder) { // first dump local content builder.AppendFront("GetType ByIteration "); if (Type == GetTypeByIterationType.ExplicitelyGiven) { builder.Append("ExplicitelyGiven "); builder.AppendFormat("on {0} in {1} node:{2}\n", PatternElementName, TypeName, IsNode); } else // Type==GetTypeByIterationType.AllCompatible { builder.Append("AllCompatible "); builder.AppendFormat("on {0} in {1} node:{2}\n", PatternElementName, RulePatternTypeName, IsNode); } // then nested content if (NestedOperationsList != null) { builder.Indent(); NestedOperationsList.Dump(builder); builder.Unindent(); } }