java.lang.Object
com.intellij.psi.tree.IElementType
com.intellij.psi.tree.ILazyParseableElementType
com.intellij.psi.tree.IReparseableElementType
A token type which represents a fragment of text (possibly in a different language)
which is not parsed during the current lexer or parser pass and can be parsed later when
its contents is requested.
-
嵌套类概要
从类继承的嵌套类/接口 com.intellij.psi.tree.IElementType
IElementType.Predicate -
字段概要
从类继承的字段 com.intellij.psi.tree.IElementType
EMPTY_ARRAY, FIRST_TOKEN_INDEX, TRUE -
构造器概要
构造器构造器说明IReparseableElementType(@NotNull @NonNls String debugName) IReparseableElementType(@NotNull @NonNls String debugName, @Nullable Language language) IReparseableElementType(@NotNull @NonNls String debugName, @Nullable Language language, boolean register) Allows to construct element types without registering them, as inIElementType(String, Language, boolean). -
方法概要
修饰符和类型方法说明static booleanhasProperBraceBalance(@NotNull ITokenSequence tokenSequence, int lexIndex, int lexCount, @NotNull IElementType leftBrace, @NotNull IElementType rightBrace) abstract booleanisParsable(@NotNull ITokenSequence tokenSequence, int startLexeme, int lexemeCount) 从类继承的方法 com.intellij.psi.tree.ILazyParseableElementType
createInnerLexer, parse从类继承的方法 com.intellij.psi.tree.IElementType
enumerate, find, getIndex, getLanguage, hashCode, isLeftBound, toString, unregisterElementTypes, unregisterElementTypes
-
构造器详细资料
-
IReparseableElementType
-
IReparseableElementType
-
IReparseableElementType
public IReparseableElementType(@NotNull @NonNls @NotNull @NonNls String debugName, @Nullable @Nullable Language language, boolean register) Allows to construct element types without registering them, as inIElementType(String, Language, boolean).
-
-
方法详细资料
-
isParsable
public abstract boolean isParsable(@NotNull @NotNull ITokenSequence tokenSequence, int startLexeme, int lexemeCount) -
hasProperBraceBalance
public static boolean hasProperBraceBalance(@NotNull @NotNull ITokenSequence tokenSequence, int lexIndex, int lexCount, @NotNull @NotNull IElementType leftBrace, @NotNull @NotNull IElementType rightBrace)
-