io.sarl.lang.documentation
Class AbstractReplacementAccessor<T>
Type Parameters:
T -
All Superinterfaces:
FormattedTextAccessor<T>
All Known Subclasses:
AbstractDebuggingAccessor<T>, RegionAccessor
Enclosing class:
DocumentationFormatter
static abstract class AbstractReplacementAccessor<T>
extends java.lang.Object
implements FormattedTextAccessor<T>
Property Summary
Modifier and type Property and description
java.lang.String commentText
protected java.util.SortedMap<K,V> replacements
Constructor Summary
Constructor and description
new(String,SortedMap<K,V>)
Action Summary
Modifier and type Action and description
protected static void applyReplacements(IAppendable,String,Map<K,V>)
protected final void checkNotApplied
java.lang.String getCommentText
protected java.util.SortedMap<K,V> getReplacements
Replacement replace(int,int,String)
Property Details
commentText
val commentText : java.lang.String

This property is an alias for the action: getCommentText

replacements
protected val replacements : java.util.SortedMap<K,V>

This property is an alias for the action: getReplacements

Constructor Details
new(String,SortedMap<K,V>)
new(String,SortedMap<K,V>)
Action Details
applyReplacements(IAppendable,String,Map<K,V>)
protected def applyReplacements(IAppendable,String,Map<K,V>)
checkNotApplied
protected def checkNotApplied
getCommentText
def getCommentText : java.lang.String
getReplacements
protected def getReplacements : java.util.SortedMap<K,V>
replace(int,int,String)
def replace(int,int,String) : Replacement