Class XbaseFormatter2
- java.lang.Object
-
- org.eclipse.xtext.xbase.formatting.AbstractFormatter
-
- org.eclipse.xtext.xbase.formatting.XbaseFormatter2
-
- All Implemented Interfaces:
IBasicFormatter
@Deprecated public class XbaseFormatter2 extends AbstractFormatter
Deprecated.useXbaseFormatter
-
-
Constructor Summary
Constructors Constructor Description XbaseFormatter2()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void_format(org.eclipse.xtext.common.types.JvmFormalParameter expr, FormattableDocument format)Deprecated.protected void_format(org.eclipse.xtext.common.types.JvmGenericArrayTypeReference array, FormattableDocument document)Deprecated.protected void_format(org.eclipse.xtext.common.types.JvmParameterizedTypeReference ref, FormattableDocument document)Deprecated.protected void_format(org.eclipse.xtext.common.types.JvmTypeConstraint constraint, FormattableDocument document)Deprecated.protected void_format(org.eclipse.xtext.common.types.JvmTypeParameter ref, FormattableDocument document)Deprecated.protected void_format(org.eclipse.xtext.common.types.JvmWildcardTypeReference ref, FormattableDocument document)Deprecated.protected void_format(XAnnotation ann, FormattableDocument document)Deprecated.protected void_format(XAssignment expr, FormattableDocument format)Deprecated.protected void_format(XBasicForLoopExpression expr, FormattableDocument format)Deprecated.protected void_format(XBinaryOperation expr, FormattableDocument format)Deprecated.protected void_format(XBlockExpression expr, FormattableDocument format)Deprecated.protected void_format(XCatchClause expr, FormattableDocument format)Deprecated.protected void_format(XClosure expr, FormattableDocument format)Deprecated.protected void_format(XCollectionLiteral literal, FormattableDocument document)Deprecated.protected void_format(XConstructorCall expr, FormattableDocument format)Deprecated.protected void_format(XDoWhileExpression expr, FormattableDocument format)Deprecated.protected void_format(XExpression expr, FormattableDocument format)Deprecated.protected void_format(XFeatureCall expr, FormattableDocument format)Deprecated.protected void_format(XForLoopExpression expr, FormattableDocument format)Deprecated.protected void_format(XIfExpression expr, FormattableDocument format)Deprecated.protected void_format(XMemberFeatureCall expr, FormattableDocument format)Deprecated.protected void_format(XReturnExpression expr, FormattableDocument format)Deprecated.protected void_format(XSwitchExpression expr, FormattableDocument format)Deprecated.protected void_format(XSynchronizedExpression expr, FormattableDocument format)Deprecated.protected void_format(XThrowExpression expr, FormattableDocument format)Deprecated.protected void_format(XTryCatchFinallyExpression expr, FormattableDocument format)Deprecated.protected void_format(XTypeLiteral expr, FormattableDocument format)Deprecated.protected void_format(XVariableDeclaration expr, FormattableDocument format)Deprecated.protected void_format(XWhileExpression expr, FormattableDocument format)Deprecated.protected void_format(XFunctionTypeRef func, FormattableDocument document)Deprecated.protected boolean_isMultiParamInOwnLine(XConstructorCall fc, FormattableDocument doc)Deprecated.protected boolean_isMultiParamInOwnLine(XFeatureCall fc, FormattableDocument doc)Deprecated.protected boolean_isMultiParamInOwnLine(XMemberFeatureCall fc, FormattableDocument doc)Deprecated.protected org.eclipse.xtext.AbstractRulebinaryOperationPrecedence(org.eclipse.emf.ecore.EObject op)Deprecated.protected XClosurebuilder(java.util.List<XExpression> params)Deprecated.protected java.lang.Iterable<XExpression>explicitParams(java.util.List<XExpression> params)Deprecated.protected booleanfitsIntoLine(FormattableDocument fmt, org.eclipse.emf.ecore.EObject expression)Deprecated.protected voidformat(org.eclipse.emf.ecore.EObject ref, FormattableDocument document)Deprecated.protected voidformatClosureMultiLine(XClosure expr, org.eclipse.xtext.nodemodel.INode open, java.util.Collection<XExpression> children, org.eclipse.xtext.nodemodel.INode close, FormattableDocument format)Deprecated.protected voidformatClosureParameters(XClosure expr, FormattableDocument format)Deprecated.protected voidformatClosureWrapIfNeeded(XClosure expr, org.eclipse.xtext.nodemodel.INode open, java.util.Collection<XExpression> children, org.eclipse.xtext.nodemodel.INode close, FormattableDocument format)Deprecated.protected voidformatCommaSeparatedList(java.util.Collection<? extends org.eclipse.emf.ecore.EObject> elements, org.eclipse.xtext.nodemodel.INode open, org.eclipse.xtext.nodemodel.INode close, FormattableDocument format)Deprecated.protected voidformatFeatureCallParamsMultiline(org.eclipse.xtext.nodemodel.INode open, java.util.List<XExpression> params, FormattableDocument format)Deprecated.protected voidformatFeatureCallParamsWrapIfNeeded(org.eclipse.xtext.nodemodel.INode open, java.util.List<XExpression> params, FormattableDocument format)Deprecated.protected voidformatFeatureCallTypeParameters(XAbstractFeatureCall expr, FormattableDocument format)Deprecated.protected voidformatStaticQualifier(org.eclipse.xtext.nodemodel.INode node, FormattableDocument document)Deprecated.protected booleanisEachExpressionInOwnLine(java.lang.Iterable<? extends XExpression> expressions)Deprecated.protected booleanisMultiline(XExpression expression, FormattableDocument doc)Deprecated.protected booleanisMultilineLambda(XClosure closure)Deprecated.checks whether the given lambda should be formatted as a block.protected booleanisMultiParamInOwnLine(XExpression fc, FormattableDocument doc)Deprecated.protected booleanisSingleLineBlock(XBlockExpression expr, FormattableDocument format)Deprecated.protected java.lang.Stringlookahead(FormattableDocument fmt, org.eclipse.emf.ecore.EObject expression)Deprecated.-
Methods inherited from class org.eclipse.xtext.xbase.formatting.AbstractFormatter
_format, _format, format, isAllowIdentityEdits, isConflictOccurred, isDiagnoseConflicts, setAllowIdentityEdits, setDiagnoseConflicts
-
-
-
-
Method Detail
-
_format
protected void _format(XCollectionLiteral literal, FormattableDocument document)
Deprecated.
-
formatCommaSeparatedList
protected void formatCommaSeparatedList(java.util.Collection<? extends org.eclipse.emf.ecore.EObject> elements, org.eclipse.xtext.nodemodel.INode open, org.eclipse.xtext.nodemodel.INode close, FormattableDocument format)Deprecated.
-
_format
protected void _format(XAnnotation ann, FormattableDocument document)
Deprecated.
-
_format
protected void _format(org.eclipse.xtext.common.types.JvmGenericArrayTypeReference array, FormattableDocument document)Deprecated.
-
_format
protected void _format(XFunctionTypeRef func, FormattableDocument document)
Deprecated.
-
_format
protected void _format(org.eclipse.xtext.common.types.JvmTypeParameter ref, FormattableDocument document)Deprecated.
-
_format
protected void _format(org.eclipse.xtext.common.types.JvmParameterizedTypeReference ref, FormattableDocument document)Deprecated.
-
_format
protected void _format(org.eclipse.xtext.common.types.JvmWildcardTypeReference ref, FormattableDocument document)Deprecated.
-
_format
protected void _format(org.eclipse.xtext.common.types.JvmTypeConstraint constraint, FormattableDocument document)Deprecated.
-
_format
protected void _format(XVariableDeclaration expr, FormattableDocument format)
Deprecated.
-
_format
protected void _format(XAssignment expr, FormattableDocument format)
Deprecated.
-
formatStaticQualifier
protected void formatStaticQualifier(org.eclipse.xtext.nodemodel.INode node, FormattableDocument document)Deprecated.
-
fitsIntoLine
protected boolean fitsIntoLine(FormattableDocument fmt, org.eclipse.emf.ecore.EObject expression)
Deprecated.
-
lookahead
protected java.lang.String lookahead(FormattableDocument fmt, org.eclipse.emf.ecore.EObject expression)
Deprecated.
-
formatFeatureCallParamsWrapIfNeeded
protected void formatFeatureCallParamsWrapIfNeeded(org.eclipse.xtext.nodemodel.INode open, java.util.List<XExpression> params, FormattableDocument format)Deprecated.
-
builder
protected XClosure builder(java.util.List<XExpression> params)
Deprecated.
-
explicitParams
protected java.lang.Iterable<XExpression> explicitParams(java.util.List<XExpression> params)
Deprecated.
-
formatFeatureCallParamsMultiline
protected void formatFeatureCallParamsMultiline(org.eclipse.xtext.nodemodel.INode open, java.util.List<XExpression> params, FormattableDocument format)Deprecated.
-
isMultilineLambda
protected boolean isMultilineLambda(XClosure closure)
Deprecated.checks whether the given lambda should be formatted as a block. That includes newlines after and before the brackets, and a fresh line for each expression.
-
isEachExpressionInOwnLine
protected boolean isEachExpressionInOwnLine(java.lang.Iterable<? extends XExpression> expressions)
Deprecated.
-
_format
protected void _format(XConstructorCall expr, FormattableDocument format)
Deprecated.
-
formatFeatureCallTypeParameters
protected void formatFeatureCallTypeParameters(XAbstractFeatureCall expr, FormattableDocument format)
Deprecated.
-
_format
protected void _format(XFeatureCall expr, FormattableDocument format)
Deprecated.
-
_isMultiParamInOwnLine
protected boolean _isMultiParamInOwnLine(XMemberFeatureCall fc, FormattableDocument doc)
Deprecated.
-
_isMultiParamInOwnLine
protected boolean _isMultiParamInOwnLine(XFeatureCall fc, FormattableDocument doc)
Deprecated.
-
_isMultiParamInOwnLine
protected boolean _isMultiParamInOwnLine(XConstructorCall fc, FormattableDocument doc)
Deprecated.
-
_format
protected void _format(XMemberFeatureCall expr, FormattableDocument format)
Deprecated.
-
binaryOperationPrecedence
protected org.eclipse.xtext.AbstractRule binaryOperationPrecedence(org.eclipse.emf.ecore.EObject op)
Deprecated.
-
isMultiline
protected boolean isMultiline(XExpression expression, FormattableDocument doc)
Deprecated.
-
_format
protected void _format(XBinaryOperation expr, FormattableDocument format)
Deprecated.
-
_format
protected void _format(XSynchronizedExpression expr, FormattableDocument format)
Deprecated.
-
_format
protected void _format(XIfExpression expr, FormattableDocument format)
Deprecated.
-
_format
protected void _format(XForLoopExpression expr, FormattableDocument format)
Deprecated.
-
_format
protected void _format(XBasicForLoopExpression expr, FormattableDocument format)
Deprecated.
-
_format
protected void _format(XWhileExpression expr, FormattableDocument format)
Deprecated.
-
_format
protected void _format(XDoWhileExpression expr, FormattableDocument format)
Deprecated.
-
_format
protected void _format(XBlockExpression expr, FormattableDocument format)
Deprecated.
-
isSingleLineBlock
protected boolean isSingleLineBlock(XBlockExpression expr, FormattableDocument format)
Deprecated.
-
_format
protected void _format(XTypeLiteral expr, FormattableDocument format)
Deprecated.
-
_format
protected void _format(XThrowExpression expr, FormattableDocument format)
Deprecated.
-
_format
protected void _format(XReturnExpression expr, FormattableDocument format)
Deprecated.
-
_format
protected void _format(XTryCatchFinallyExpression expr, FormattableDocument format)
Deprecated.
-
_format
protected void _format(XCatchClause expr, FormattableDocument format)
Deprecated.
-
_format
protected void _format(org.eclipse.xtext.common.types.JvmFormalParameter expr, FormattableDocument format)Deprecated.
-
_format
protected void _format(XExpression expr, FormattableDocument format)
Deprecated.
-
_format
protected void _format(XSwitchExpression expr, FormattableDocument format)
Deprecated.
-
_format
protected void _format(XClosure expr, FormattableDocument format)
Deprecated.
-
formatClosureMultiLine
protected void formatClosureMultiLine(XClosure expr, org.eclipse.xtext.nodemodel.INode open, java.util.Collection<XExpression> children, org.eclipse.xtext.nodemodel.INode close, FormattableDocument format)
Deprecated.
-
formatClosureParameters
protected void formatClosureParameters(XClosure expr, FormattableDocument format)
Deprecated.
-
formatClosureWrapIfNeeded
protected void formatClosureWrapIfNeeded(XClosure expr, org.eclipse.xtext.nodemodel.INode open, java.util.Collection<XExpression> children, org.eclipse.xtext.nodemodel.INode close, FormattableDocument format)
Deprecated.
-
format
protected void format(org.eclipse.emf.ecore.EObject ref, FormattableDocument document)Deprecated.- Overrides:
formatin classAbstractFormatter
-
isMultiParamInOwnLine
protected boolean isMultiParamInOwnLine(XExpression fc, FormattableDocument doc)
Deprecated.
-
-