mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Extended PyDocStringOwner interface and moved docstring utilities into DocStringUtil
This commit is contained in:
@@ -3,6 +3,12 @@ package com.jetbrains.python.psi;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
public interface PyDocStringOwner extends PyElement {
|
||||
@Nullable
|
||||
String getDocStringValue();
|
||||
|
||||
@Nullable
|
||||
StructuredDocString getStructuredDocString();
|
||||
|
||||
@Nullable
|
||||
PyStringLiteralExpression getDocStringExpression();
|
||||
}
|
||||
|
||||
@@ -48,9 +48,6 @@ extends
|
||||
@Nullable
|
||||
PyType getReturnTypeFromDocString();
|
||||
|
||||
@Nullable
|
||||
String getDocStringValue();
|
||||
|
||||
/**
|
||||
* If the function raises a DeprecationWarning or a PendingDeprecationWarning, returns the explanation text provided for the warning..
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user