public IEnumerable<Node> Parse(IEnumerable<string> templateLines, IVocabulary vocabulary) { var nodeList = new List<Node>(); var trimmedLines = templateLines .Select(x => x.TrimEnd('\r', '\t', ' ')); foreach (var line in trimmedLines) { vocabulary.Contains(line); } return nodeList.AsReadOnly(); }