public override void Dump(SourceBuilder builder) { builder.AppendFrontFormat("LeafSubpatternMatched {0}\n", IsIteratedNullMatch ? "IteratedNullMatch " : ""); if (MatchBuildingOperations != null) { builder.Indent(); MatchBuildingOperations.Dump(builder); builder.Unindent(); } }
public override void Dump(SourceBuilder builder) { builder.AppendFront("PositivePatternMatched \n"); if (InParallelizedBody) { builder.AppendFront("InParallelizedBody \n"); } if (MatchBuildingOperations != null) { builder.Indent(); MatchBuildingOperations.Dump(builder); builder.Unindent(); } }
public override void Dump(SourceBuilder builder) { builder.AppendFront("PatternAndSubpatternsMatched "); if (InParallelizedBody) { builder.Append("InParallelizedBody "); } switch (Type) { case PatternAndSubpatternsMatchedType.Action: builder.Append("Action \n"); break; case PatternAndSubpatternsMatchedType.Iterated: builder.Append("Iterated \n"); break; case PatternAndSubpatternsMatchedType.IteratedNullMatch: builder.Append("IteratedNullMatch \n"); break; case PatternAndSubpatternsMatchedType.SubpatternOrAlternative: builder.Append("SubpatternOrAlternative \n"); break; default: builder.Append("INTERNAL ERROR\n"); break; } if (MatchBuildingOperations != null) { builder.Indent(); MatchBuildingOperations.Dump(builder); builder.Unindent(); } }