mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-16 16:58:56 +00:00
minor fixes
This commit is contained in:
parent
76d50eb17e
commit
3db14e20f0
1 changed files with 6 additions and 0 deletions
|
@ -152,5 +152,11 @@ public class XtextResource extends ResourceImpl {
|
|||
outputStream.write(cb.toString().getBytes());
|
||||
}
|
||||
}
|
||||
|
||||
public String serialize(EObject o) {
|
||||
WhitespacePreservingCallback cb = new WhitespacePreservingCallback(valueConverterService);
|
||||
parseTreeConstructor.update(o, cb);
|
||||
return o.toString();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue