Class AbstractFormatter
- java.lang.Object
-
- org.eclipse.xtext.formatting.impl.AbstractFormatter
-
- All Implemented Interfaces:
IFormatter
,IFormatterExtension
- Direct Known Subclasses:
BaseFormatter
,NullFormatter
public abstract class AbstractFormatter extends java.lang.Object implements IFormatter, IFormatterExtension
-
-
Constructor Summary
Constructors Constructor Description AbstractFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ITokenStream
createFormatterStream(java.lang.String initalIndentation, ITokenStream outputStream, boolean preserveWhitespaces)
ITokenStream
createFormatterStream(org.eclipse.emf.ecore.EObject context, java.lang.String initalIndentation, ITokenStream outputStream, boolean preserveWhitespaces)
-
-
-
Method Detail
-
createFormatterStream
public ITokenStream createFormatterStream(java.lang.String initalIndentation, ITokenStream outputStream, boolean preserveWhitespaces)
- Specified by:
createFormatterStream
in interfaceIFormatter
-
createFormatterStream
public ITokenStream createFormatterStream(org.eclipse.emf.ecore.EObject context, java.lang.String initalIndentation, ITokenStream outputStream, boolean preserveWhitespaces)
- Specified by:
createFormatterStream
in interfaceIFormatterExtension
- Since:
- 2.3
-
-