Beispiel #1
0
 /// <summary>
 /// Used to visit a next step, if there is a next step.
 /// </summary>
 /// <param name="nextStep">The nextStep<see cref="UserAgentTreeWalkerParser.PathContext"/>.</param>
 private void VisitNext(UserAgentTreeWalkerParser.PathContext nextStep)
 {
     if (nextStep != null)
     {
         this.Visit(nextStep);
     }
 }
Beispiel #2
0
 /// <summary>
 /// Used to elaborate a previous step with N.
 /// </summary>
 /// <param name="nextStep">The previous step context.</param>
 /// <param name="prevSteps">How many steps.</param>
 /// <returns>null.</returns>
 private object DoStepPrevN(UserAgentTreeWalkerParser.PathContext nextStep, int prevSteps)
 {
     this.FromHereItCannotBeInHashMapAnymore();
     this.Add(new StepPrevN(prevSteps));
     this.VisitNext(nextStep);
     return(null); // Void
 }