public Feature Parse(TextReader featureFileReader) { var fileContent = featureFileReader.ReadToEnd(); var parser = new PicklesParser(); var listener = new I18nLexer(parser); listener.scan(fileContent); return parser.GetFeature(); }
public Feature Parse(TextReader featureFileReader) { var fileContent = featureFileReader.ReadToEnd(); var parser = new PicklesParser(this.languageService.GetLanguage()); var lexer = this.languageService.GetNativeLexer(parser); lexer.scan(fileContent); return parser.GetFeature(); }