Class XtypeFormatter
- java.lang.Object
-
- org.eclipse.xtext.formatting2.AbstractFormatter2
-
- org.eclipse.xtext.formatting2.AbstractJavaFormatter
-
- org.eclipse.xtext.xbase.formatting2.XtypeFormatter
-
- All Implemented Interfaces:
org.eclipse.xtext.formatting2.IFormatter2
- Direct Known Subclasses:
XbaseFormatter
public class XtypeFormatter extends org.eclipse.xtext.formatting2.AbstractJavaFormatter
-
-
Constructor Summary
Constructors Constructor Description XtypeFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
_format(org.eclipse.xtext.common.types.JvmParameterizedTypeReference ref, org.eclipse.xtext.formatting2.IFormattableDocument document)
protected void
_format(org.eclipse.xtext.common.types.JvmTypeParameter ref, org.eclipse.xtext.formatting2.IFormattableDocument document)
protected void
_format(org.eclipse.xtext.common.types.JvmWildcardTypeReference ref, org.eclipse.xtext.formatting2.IFormattableDocument document)
protected void
_format(XFunctionTypeRef func, org.eclipse.xtext.formatting2.IFormattableDocument document)
protected void
_format(XImportDeclaration imp, org.eclipse.xtext.formatting2.IFormattableDocument document)
protected void
_format(XImportSection section, org.eclipse.xtext.formatting2.IFormattableDocument format)
void
format(java.lang.Object ref, org.eclipse.xtext.formatting2.IFormattableDocument document)
-
Methods inherited from class org.eclipse.xtext.formatting2.AbstractJavaFormatter
allRegionsFor, allSemanticRegions, autowrap, createPolymorhicDispatcher, formatUsingPolymorphicDispatcher, grammarElement, highPriority, immediatelyFollowing, immediatelyPreceding, indent, isMultiline, lowPriority, newLine, nextHiddenRegion, noAutowrap, noIndentation, noSpace, oneSpace, previousHiddenRegion, regionFor, regionForEObject, semanticRegions
-
Methods inherited from class org.eclipse.xtext.formatting2.AbstractFormatter2
_format, _format, _format, _format, createCommentReplacer, createFormattableRootDocument, createFormattableSubDocument, createHiddenRegionFormatter, createHiddenRegionFormatter, createHiddenRegionFormatting, createHiddenRegionFormattingMerger, createHiddenRegionReplacer, createTextReplacerContext, createTextReplacerMerger, createWhitespaceReplacer, format, getPreference, getPreferences, getRequest, getTextRegionAccess, handleTraceMissing, initalize, initialize, isInRequestedRange, postProcess, reset, shouldFormat
-
-
-
-
Method Detail
-
_format
protected void _format(XFunctionTypeRef func, @Extension org.eclipse.xtext.formatting2.IFormattableDocument document)
-
_format
protected void _format(org.eclipse.xtext.common.types.JvmParameterizedTypeReference ref, @Extension org.eclipse.xtext.formatting2.IFormattableDocument document)
-
_format
protected void _format(org.eclipse.xtext.common.types.JvmWildcardTypeReference ref, @Extension org.eclipse.xtext.formatting2.IFormattableDocument document)
-
_format
protected void _format(org.eclipse.xtext.common.types.JvmTypeParameter ref, @Extension org.eclipse.xtext.formatting2.IFormattableDocument document)
-
_format
protected void _format(XImportSection section, @Extension org.eclipse.xtext.formatting2.IFormattableDocument format)
-
_format
protected void _format(XImportDeclaration imp, @Extension org.eclipse.xtext.formatting2.IFormattableDocument document)
-
format
public void format(java.lang.Object ref, org.eclipse.xtext.formatting2.IFormattableDocument document)
- Overrides:
format
in classorg.eclipse.xtext.formatting2.AbstractJavaFormatter
-
-