Package org.sonar.python
Class DocstringExtractor
- java.lang.Object
-
- org.sonar.python.DocstringExtractor
-
public class DocstringExtractor extends Object
Extractor of docstring tokens.Reminder: a docstring is a string literal that occurs as the first statement in a module, function, class, or method definition.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringLiteralextractDocstring(StatementList statements)
-
-
-
Method Detail
-
extractDocstring
public static StringLiteral extractDocstring(@Nullable StatementList statements)
-
-