Changeset 9726


Ignore:
Timestamp:
07/19/13 00:54:00 (6 years ago)
Author:
gkronber
Message:

#2026 removed unused methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Problems.GPDL/HeuristicLab.Problems.GPDL/3.4/SourceReader.cs

    r9430 r9726  
    11using System.Collections.Generic;
    2 using System;
    32using System.Linq;
    4 using System.Text;
    53using System.Text.RegularExpressions;
    64
    75public class SourceReader {
    8   private static Action<string> nextAction;
    9   public static void WithNext(Action<string> action) {
    10     if (nextAction != null) throw new ArgumentException();
    11     nextAction = action;
    12   }
    13   public static void Handle(string src) {
    14     if (nextAction != null)
    15       nextAction(src);
    16     nextAction = null;
    17   }
    186
    197  private static Regex formalParameterExpr = new Regex(@"\s*,?\s*((?<refOrOut>(out|ref))\s+)?(?<type>[_\w]*)\s+(?<id>[_\w]*)\s*");
Note: See TracChangeset for help on using the changeset viewer.