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