Class UnorderedGroupsSplitter
- java.lang.Object
-
- org.eclipse.xtext.xtext.generator.parser.antlr.splitting.UnorderedGroupsSplitter
-
public class UnorderedGroupsSplitter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description UnorderedGroupsSplitter(java.lang.String content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.emf.ecore.resource.Resource
getResource(java.lang.String input, org.eclipse.xtext.resource.IResourceFactory resourceFactory)
protected java.lang.String
saveResource(org.eclipse.emf.ecore.resource.Resource resource)
boolean
shouldSimplify(java.lang.String line)
java.lang.String
transform()
protected java.lang.String
transformContent(org.eclipse.xtext.resource.IResourceFactory resourceFactory)
java.lang.String
transfromLine(java.lang.String line, org.eclipse.xtext.resource.IResourceFactory resourceFactory)
-
-
-
Method Detail
-
transform
public java.lang.String transform()
-
transformContent
protected java.lang.String transformContent(org.eclipse.xtext.resource.IResourceFactory resourceFactory)
-
transfromLine
public java.lang.String transfromLine(java.lang.String line, org.eclipse.xtext.resource.IResourceFactory resourceFactory) throws java.io.IOException
- Throws:
java.io.IOException
-
saveResource
protected java.lang.String saveResource(org.eclipse.emf.ecore.resource.Resource resource) throws java.io.IOException
- Throws:
java.io.IOException
-
getResource
protected org.eclipse.emf.ecore.resource.Resource getResource(java.lang.String input, org.eclipse.xtext.resource.IResourceFactory resourceFactory) throws java.io.IOException
- Throws:
java.io.IOException
-
shouldSimplify
public boolean shouldSimplify(java.lang.String line)
-
-