Ejemplo n.º 1
0
 public Helper(FoundToken startToken)
 {
     StartToken = startToken;
     EndToken = startToken.Range.Tokens().First(t => t.Name == "/" + Name);
     Contents = new Range(startToken.Range
                          .Characters.Skip(StartToken.End)
                          .Take(EndToken.Start - StartToken.End));
 }
Ejemplo n.º 2
0
 public Helper(FoundToken startToken)
 {
     StartToken = startToken;
     EndToken   = startToken.Range.Tokens().First(t => t.Name == "/" + Name);
     Contents   = new Range(startToken.Range
                            .Characters.Skip(StartToken.End)
                            .Take(EndToken.Start - StartToken.End));
 }