Package com.e1c.g5.v8.dt.formatter.bsl
Class BslCommentReplacer
java.lang.Object
org.eclipse.xtext.formatting2.internal.CommentReplacer
com.e1c.g5.v8.dt.formatter.bsl.BslCommentReplacer
- All Implemented Interfaces:
org.eclipse.xtext.formatting2.ITextReplacer
public class BslCommentReplacer
extends org.eclipse.xtext.formatting2.internal.CommentReplacer
This class is simple extension of CommentReplacer. It does not format comments at all
-
Field Summary
Fields inherited from interface org.eclipse.xtext.formatting2.ITextReplacer
GET_REGION
-
Constructor Summary
ConstructorsConstructorDescriptionBslCommentReplacer
(org.eclipse.xtext.formatting2.regionaccess.IComment comment) Creates instance by calling super's constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
configureWhitespace
(org.eclipse.xtext.formatting2.internal.WhitespaceReplacer leading, org.eclipse.xtext.formatting2.internal.WhitespaceReplacer trailing) org.eclipse.xtext.formatting2.ITextReplacerContext
createReplacements
(org.eclipse.xtext.formatting2.ITextReplacerContext context) Methods inherited from class org.eclipse.xtext.formatting2.internal.CommentReplacer
getComment, getRegion
-
Constructor Details
-
BslCommentReplacer
public BslCommentReplacer(org.eclipse.xtext.formatting2.regionaccess.IComment comment) Creates instance by calling super's constructor- Parameters:
comment
- The comment that shall be replaced, cannot benull
-
-
Method Details
-
createReplacements
public org.eclipse.xtext.formatting2.ITextReplacerContext createReplacements(org.eclipse.xtext.formatting2.ITextReplacerContext context) -
configureWhitespace
public void configureWhitespace(org.eclipse.xtext.formatting2.internal.WhitespaceReplacer leading, org.eclipse.xtext.formatting2.internal.WhitespaceReplacer trailing) - Specified by:
configureWhitespace
in classorg.eclipse.xtext.formatting2.internal.CommentReplacer
-