public interface CodeDocumentationAwareCommenter extends Commenter
LanguageCommenters
Modifier and Type | Method and Description |
---|---|
IElementType |
getBlockCommentTokenType()
Returns the type of the block comment in the language,
or null if the language does not support block comments.
|
java.lang.String |
getDocumentationCommentLinePrefix()
Returns the string which prefixes documentation line comment in the language, or null if the language
does not support documentation comments.
|
java.lang.String |
getDocumentationCommentPrefix()
Returns the string which starts documentation comment in the language, or null if the language
does not support documentation comments.
|
java.lang.String |
getDocumentationCommentSuffix()
Returns the string which ends documentation comment in the language, or null if the language
does not support documentation comments.
|
IElementType |
getDocumentationCommentTokenType()
Returns the type of the documentation comment token in the language,
or null if the language does not support documentation comments.
|
IElementType |
getLineCommentTokenType()
Returns the type of the line comment in the language,
or null if the language does not support line comments.
|
boolean |
isDocumentationComment(PsiComment element) |
getBlockCommentPrefix, getBlockCommentSuffix, getCommentedBlockCommentPrefix, getCommentedBlockCommentSuffix, getLineCommentPrefix, getLineCommentPrefixes
IElementType getLineCommentTokenType()
IElementType getBlockCommentTokenType()
IElementType getDocumentationCommentTokenType()
java.lang.String getDocumentationCommentPrefix()
java.lang.String getDocumentationCommentLinePrefix()
java.lang.String getDocumentationCommentSuffix()
boolean isDocumentationComment(PsiComment element)