mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Added PyStringLiteralExpression.getDecodedFragments()
This commit is contained in:
@@ -18,6 +18,7 @@ package com.jetbrains.python.psi;
|
||||
import com.intellij.lang.ASTNode;
|
||||
import com.intellij.openapi.util.TextRange;
|
||||
import com.intellij.psi.PsiLanguageInjectionHost;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -28,6 +29,17 @@ public interface PyStringLiteralExpression extends PyLiteralExpression, StringLi
|
||||
|
||||
int valueOffsetToTextOffset(int valueOffset);
|
||||
|
||||
interface DecodedFragment {
|
||||
@NotNull
|
||||
TextRange getEncodedTextRange();
|
||||
|
||||
@NotNull
|
||||
String getValue();
|
||||
}
|
||||
|
||||
@NotNull
|
||||
List<DecodedFragment> getDecodedFragments();
|
||||
|
||||
void iterateCharacterRanges(TextRangeConsumer consumer);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user