public interface PsiParserFacade
| Modifier and Type | Interface and Description |
|---|---|
static class |
PsiParserFacade.SERVICE |
| Modifier and Type | Method and Description |
|---|---|
PsiComment |
createBlockCommentFromText(Language language,
java.lang.String text)
Creates a line comment for the specified language.
|
PsiComment |
createLineCommentFromText(LanguageFileType fileType,
java.lang.String text)
Creates a line comment for the specified language.
|
PsiComment |
createLineOrBlockCommentFromText(Language lang,
java.lang.String text)
Creates a line comment for the specified language or block comment if language doesn't support line ones
|
PsiElement |
createWhiteSpaceFromText(java.lang.String s)
Creates an PsiWhiteSpace with the specified text.
|
PsiElement createWhiteSpaceFromText(java.lang.String s) throws IncorrectOperationException
s - the text of whitespaceIncorrectOperationException - if the text does not specify a valid whitespace.PsiComment createLineCommentFromText(LanguageFileType fileType, java.lang.String text) throws IncorrectOperationException
IncorrectOperationExceptionPsiComment createBlockCommentFromText(Language language, java.lang.String text) throws IncorrectOperationException
IncorrectOperationExceptionPsiComment createLineOrBlockCommentFromText(Language lang, java.lang.String text) throws IncorrectOperationException
IncorrectOperationException