|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Commenter
Defines the support for "Comment with Line Comment" and "Comment with Block Comment" actions in a custom language.
Language.getCommenter()| Method Summary | |
|---|---|
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 |
getLineCommentPrefix()
Returns the string which prefixes a line comment in the language, or null if the language does not support line comments. |
boolean |
isLineCommentPrefixOnZeroColumn()
Returns true if the line comments in the language must start at the zero column and may not be indented. |
| Method Detail |
|---|
@Nullable java.lang.String getLineCommentPrefix()
boolean isLineCommentPrefixOnZeroColumn()
@Nullable java.lang.String getBlockCommentPrefix()
@Nullable java.lang.String getBlockCommentSuffix()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||