Ejemplo n.º 1
0
 public static IEnumerable <Sentence> Comments(this Sentence sentences)
 {
     return(sentences.Before.Skip(1).TakeWhile(x => x.Type == SentenceType.Comment).Reverse());
 }
Ejemplo n.º 2
0
 public static Token SectionToken(this Sentence sentence)
 {
     return(sentence.Tokens.SectionToken());
 }
Ejemplo n.º 3
0
 public static Token PropertyToken(this Sentence sentence)
 {
     return(sentence.Tokens.PropertyToken());
 }