- Enclosing interface:
- PsiLanguageInjectionHost
@NonExtendable
public static interface PsiLanguageInjectionHost.Shred
-
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()@Nullable PsiLanguageInjectionHostgetHost()@Nullable("returns null when the host document marker is invalid") com.intellij.openapi.util.Segment@NotNull String@NotNull com.intellij.openapi.util.TextRangegetRange()@NotNull com.intellij.openapi.util.TextRange@NotNull StringbooleanisValid()
-
Method Details
-
getHostRangeMarker
@Nullable("returns null when the host document marker is invalid") @Nullable("returns null when the host document marker is invalid") com.intellij.openapi.util.Segment getHostRangeMarker() -
getRangeInsideHost
@NotNull @NotNull com.intellij.openapi.util.TextRange getRangeInsideHost() -
isValid
boolean isValid() -
dispose
void dispose() -
getHost
-
getRange
@NotNull @NotNull com.intellij.openapi.util.TextRange getRange()- Returns:
- range in decoded PSI
-
getPrefix
-
getSuffix
-