mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
get rid of PsiBuilderImpl.ProductionMarker usages
GitOrigin-RevId: ac54e3e125a787666a1157f0d16c35bf9c00142b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c1a34ca4a4
commit
4fc1a679c1
@@ -650,6 +650,7 @@ com.intellij.lang.SyntaxTreeBuilder$Production
|
||||
- getStartOffset():I
|
||||
- getTokenType():com.intellij.psi.tree.IElementType
|
||||
- isCollapsed():Z
|
||||
- remapTokenType(com.intellij.psi.tree.IElementType):V
|
||||
com.intellij.lang.TokenSeparatorGenerator
|
||||
- a:generateWhitespaceBetweenTokens(com.intellij.lang.ASTNode,com.intellij.lang.ASTNode):com.intellij.lang.ASTNode
|
||||
c:com.intellij.lang.TreeBackedLighterAST
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.lang;
|
||||
|
||||
import com.intellij.openapi.util.NlsContexts;
|
||||
@@ -204,6 +204,8 @@ public interface SyntaxTreeBuilder {
|
||||
default boolean isCollapsed() {
|
||||
return false;
|
||||
}
|
||||
|
||||
default void remapTokenType(@NotNull IElementType newType) {throw new UnsupportedOperationException("not implemented for this kind of markers");}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -762,7 +762,6 @@ a:com.intellij.lang.impl.PsiBuilderImpl$ProductionMarker
|
||||
- getStartIndex():I
|
||||
- getStartOffset():I
|
||||
- isCollapsed():Z
|
||||
- remapTokenType(com.intellij.psi.tree.IElementType):V
|
||||
- a:tokenTextMatches(java.lang.CharSequence):Z
|
||||
c:com.intellij.lexer.DelegateLexer
|
||||
- com.intellij.lexer.LexerBase
|
||||
|
||||
@@ -19,8 +19,8 @@ import com.intellij.psi.impl.DiffLog;
|
||||
import com.intellij.psi.impl.PsiDocumentManagerBase;
|
||||
import com.intellij.psi.impl.source.CharTableImpl;
|
||||
import com.intellij.psi.impl.source.resolve.FileContextUtil;
|
||||
import com.intellij.psi.impl.source.tree.Factory;
|
||||
import com.intellij.psi.impl.source.tree.*;
|
||||
import com.intellij.psi.impl.source.tree.Factory;
|
||||
import com.intellij.psi.text.BlockSupport;
|
||||
import com.intellij.psi.tree.*;
|
||||
import com.intellij.util.CharTable;
|
||||
@@ -275,10 +275,6 @@ public class PsiBuilderImpl extends UnprotectedUserDataHolder implements PsiBuil
|
||||
return myBuilder.myOptionalData.isCollapsed(markerId);
|
||||
}
|
||||
|
||||
public void remapTokenType(@NotNull IElementType type) {
|
||||
throw new UnsupportedOperationException("Shall not be called on this kind of markers");
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getStartIndex() {
|
||||
return myLexemeIndex;
|
||||
|
||||
Reference in New Issue
Block a user