Ejemplo n.º 1
0
 public void PushSpan(Span span, Rule rule)
 {
     spanStack.Push(span);
     ruleStack.Push(rule);
     this.CurRule = rule;
     this.CurSpan = span;
 }
Ejemplo n.º 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);
     }
 }