Methods
Modifier and Type |
Method and Description |
protected void |
_format(JvmFormalParameter expr,
IFormattableDocument format) |
protected void |
_format(JvmGenericArrayTypeReference array,
IFormattableDocument document) |
protected void |
_format(JvmTypeConstraint constraint,
IFormattableDocument document) |
protected void |
_format(XAssignment expr,
IFormattableDocument format) |
protected void |
_format(XBasicForLoopExpression expr,
IFormattableDocument format) |
protected void |
_format(XBinaryOperation expr,
IFormattableDocument format) |
protected void |
_format(XBlockExpression expr,
IFormattableDocument format) |
protected void |
_format(XCastedExpression expr,
IFormattableDocument doc) |
protected void |
_format(XClosure expr,
IFormattableDocument format) |
protected void |
_format(XCollectionLiteral literal,
IFormattableDocument document) |
protected void |
_format(XConstructorCall expr,
IFormattableDocument format) |
protected void |
_format(XDoWhileExpression expr,
IFormattableDocument format) |
protected void |
_format(XExpression expr,
IFormattableDocument format) |
protected void |
_format(XFeatureCall expr,
IFormattableDocument format) |
protected void |
_format(XForLoopExpression expr,
IFormattableDocument format) |
protected void |
_format(XIfExpression expr,
IFormattableDocument format) |
protected void |
_format(XInstanceOfExpression expr,
IFormattableDocument doc) |
protected void |
_format(XMemberFeatureCall expr,
IFormattableDocument format) |
protected void |
_format(XPostfixOperation expr,
IFormattableDocument doc) |
protected void |
_format(XReturnExpression expr,
IFormattableDocument format) |
protected void |
_format(XSwitchExpression expr,
IFormattableDocument format) |
protected void |
_format(XSynchronizedExpression expr,
IFormattableDocument format) |
protected void |
_format(XThrowExpression expr,
IFormattableDocument format) |
protected void |
_format(XTryCatchFinallyExpression expr,
IFormattableDocument format) |
protected void |
_format(XTypeLiteral expr,
IFormattableDocument format) |
protected void |
_format(XVariableDeclaration expr,
IFormattableDocument format) |
protected void |
_format(XWhileExpression expr,
IFormattableDocument format) |
protected AbstractRule |
binaryOperationPrecedence(org.eclipse.emf.ecore.EObject op) |
protected XClosure |
builder(java.util.List<XExpression> params) |
protected java.lang.Iterable<XExpression> |
explicitParams(java.util.List<XExpression> params) |
void |
format(java.lang.Object expr,
IFormattableDocument format)
Implement this method to create a language-specific formatter.
|
protected void |
formatBody(XExpression expr,
boolean forceMultiline,
IFormattableDocument doc) |
protected void |
formatBodyInline(XExpression expr,
boolean forceMultiline,
IFormattableDocument doc) |
protected void |
formatBodyParagraph(XExpression expr,
IFormattableDocument doc) |
protected void |
formatBuilderWithLeadingGap(XClosure closure,
IFormattableDocument format) |
protected ISemanticRegion |
formatClosureParams(XClosure expr,
ISemanticRegion open,
IFormattableDocument format,
Procedures.Procedure1<? super IHiddenRegionFormatter> init) |
protected void |
formatCommaSeparatedList(java.util.Collection<? extends org.eclipse.emf.ecore.EObject> elements,
ISemanticRegion open,
ISemanticRegion close,
IFormattableDocument format) |
protected void |
formatExpressionsMultiline(java.util.Collection<? extends XExpression> expressions,
ISemanticRegion open,
ISemanticRegion close,
IFormattableDocument format) |
protected void |
formatExpressionsSingleline(java.util.Collection<? extends XExpression> expressions,
ISemanticRegion open,
ISemanticRegion close,
IFormattableDocument format) |
protected void |
formatFeatureCallParams(java.util.List<XExpression> params,
ISemanticRegion open,
ISemanticRegion close,
IFormattableDocument format) |
protected void |
formatFeatureCallTypeParameters(XAbstractFeatureCall expr,
IFormattableDocument format) |
XbaseGrammarAccess |
getGrammar() |
protected boolean |
isMultilineOrInNewLine(org.eclipse.emf.ecore.EObject obj) |
protected boolean |
isSingleLineBlock(XBlockExpression expr) |
protected boolean |
prependNewLineIfMultiline(org.eclipse.emf.ecore.EObject obj) |