Exemple #1
0
 internal SmeltFile(LineNumberedText text, ImmutableList <SmeltLine> lines)
     : base(text.From(0).Length(text.Length))
 {
     this.lines = lines;
 }
Exemple #2
0
 internal void fragmentTo(LineNumberedText text, int index)
 {
     fragments.Add(text.From(fragmentStart).To(index - 1));
     fragmentStart = index + 1;
 }