public interface Commenter
LanguageCommenters
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBlockCommentPrefix()
Returns the string which marks the beginning of a block comment in the language,
or null if the language does not support block comments.
|
java.lang.String |
getBlockCommentSuffix()
Returns the string which marks the end of a block comment in the language,
or null if the language does not support block comments.
|
java.lang.String |
getCommentedBlockCommentPrefix()
Returns the string which marks the commented beginning of a block comment in the language,
or null if the language does not support block comments.
|
java.lang.String |
getCommentedBlockCommentSuffix()
Returns the string which marks the commented end of a block comment in the language,
or null if the language does not support block comments.
|
java.lang.String |
getLineCommentPrefix()
Returns the string that prefixes a line comment in the language, or null if the language
does not support line comments.
|
default java.util.List<java.lang.String> |
getLineCommentPrefixes()
Returns the list of strings that prefix line comments in the language, or empty list
if the language does not support line comments.
|
java.lang.String getLineCommentPrefix()
getLineCommentPrefixes()
to get all supported line comment prefixes.default java.util.List<java.lang.String> getLineCommentPrefixes()
java.lang.String getBlockCommentPrefix()
java.lang.String getBlockCommentSuffix()
java.lang.String getCommentedBlockCommentPrefix()
java.lang.String getCommentedBlockCommentSuffix()