Extended PyDocStringOwner interface and moved docstring utilities into DocStringUtil

This commit is contained in:
Andrey Vlasovskikh
2013-06-17 17:28:30 +04:00
parent dc00f2d941
commit 11526bb5ba
23 changed files with 223 additions and 218 deletions
@@ -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..
*