程序包 com.intellij.psi

接口 PsiComment

所有超级接口:
PsiElement, PsiExternalReferenceHost, UrlReferenceHost

public interface PsiComment extends PsiElement, UrlReferenceHost
Represents a comment in a code.
  • 方法详细资料

    • getTokenType

      @NotNull @NotNull IElementType getTokenType()
      Returns the token type of the comment (like JavaTokenType.END_OF_LINE_COMMENT or JavaTokenType.C_STYLE_COMMENT).