Beispiel #1
0
 public void PushSpan(Span span, Rule rule)
 {
     spanStack.Push(span);
     ruleStack.Push(rule);
     this.CurRule = rule;
     this.CurSpan = span;
 }
Beispiel #2
0
 public void PushSpan(Span span, Rule rule)
 {
     spanStack.Push(span);
     ruleStack.Push(rule);
     CurRule = rule;
     CurSpan = span;
     if (rule.Name == "InterpolatedString" || rule.Name == "InterpolatedVerbatimString")
     {
         interpolatedBraces.Push(0);
     }
 }