java.lang.Object
com.intellij.lexer.LookAheadLexer.LookAheadLexerPosition
- All Implemented Interfaces:
LexerPosition
- Enclosing class:
- LookAheadLexer
protected static class LookAheadLexer.LookAheadLexerPosition
extends Object
implements LexerPosition
-
Constructor Summary
ConstructorsConstructorDescriptionLookAheadLexerPosition(@NotNull LookAheadLexer lookAheadLexer, @NotNull ImmutableUserMap map) -
Method Summary
Modifier and TypeMethodDescription@NotNull ImmutableUserMapintReturns the current offset of the lexer.intgetState()
-
Constructor Details
-
LookAheadLexerPosition
public LookAheadLexerPosition(@NotNull @NotNull LookAheadLexer lookAheadLexer, @NotNull @NotNull ImmutableUserMap map)
-
-
Method Details
-
getCustomMap
-
getOffset
public int getOffset()Description copied from interface:LexerPositionReturns the current offset of the lexer.- Specified by:
getOffsetin interfaceLexerPosition- Returns:
- the lexer offset
-
getState
public int getState()- Specified by:
getStatein interfaceLexerPosition
-