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