io.sarl.lang.formatting2
Class SARLSinglelineCommentReplacer
All Superinterfaces:
org.eclipse.xtext.formatting2.ITextReplacer
class SARLSinglelineCommentReplacer
extends java.lang.Object
Format the single-line block comment according to the SARL standards.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
compiler
Constructor Summary
Constructor and description
new(IComment)
Construct the replacer.
Action Summary
Modifier and type Action and description
void configureWhitespace(WhitespaceReplacer,WhitespaceReplacer)
org.eclipse.xtext.formatting2.ITextReplacerContext createReplacements(ITextReplacerContext)
Constructor Details
new(IComment)
new(IComment)
Construct the replacer.
Parameters:
comment - the comment to format.
Action Details
configureWhitespace(WhitespaceReplacer,WhitespaceReplacer)
def configureWhitespace(WhitespaceReplacer,WhitespaceReplacer)
createReplacements(ITextReplacerContext)
def createReplacements(ITextReplacerContext) : org.eclipse.xtext.formatting2.ITextReplacerContext