14151617181920
return super.parse(text.toString()); } public T getDocFromFile(String fileName) throws FileNotFoundException { return parse(new FileInputStream(fileName), URI.createFileURI(fileName), null, new XtextResourceSet()); }