io.sarl.lang.documentation
Class RegionAccessor
All Superinterfaces:
FormattedTextAccessor<T>
Enclosing class:
DocumentationFormatter
static class RegionAccessor
extends AbstractReplacementAccessor<T>
Property Summary
Modifier and type Property and description
int commentEndOffset
int commentOffset
java.lang.String commentText
Inherited: replacements
Constructor Summary
Constructor and description
new(ITextReplacerContext,IComment)
Action Summary
Modifier and type Action and description
void applyReplacements
int getCommentEndOffset
int getCommentOffset
java.lang.String getCommentText
org.eclipse.xtext.formatting2.regionaccess.ILineRegion getFirstLine(int)
int getLineLength(ILineRegion)
int getLineOffset(ILineRegion)
java.lang.String getLineText(ILineRegion)
org.eclipse.xtext.formatting2.regionaccess.ILineRegion getNextLine(ILineRegion)
Property Details
commentEndOffset
val commentEndOffset : int

This property is an alias for the action: getCommentEndOffset

commentOffset
val commentOffset : int

This property is an alias for the action: getCommentOffset

commentText
val commentText : java.lang.String

This property is an alias for the action: getCommentText

Constructor Details
new(ITextReplacerContext,IComment)
new(ITextReplacerContext,IComment)
Action Details
applyReplacements
def applyReplacements
getCommentEndOffset
def getCommentEndOffset : int
getCommentOffset
def getCommentOffset : int
getCommentText
def getCommentText : java.lang.String
getFirstLine(int)
def getFirstLine(int) : org.eclipse.xtext.formatting2.regionaccess.ILineRegion
getLineLength(ILineRegion)
def getLineLength(ILineRegion) : int
getLineOffset(ILineRegion)
def getLineOffset(ILineRegion) : int
getLineText(ILineRegion)
def getLineText(ILineRegion) : java.lang.String
getNextLine(ILineRegion)
def getNextLine(ILineRegion) : org.eclipse.xtext.formatting2.regionaccess.ILineRegion