public LookAheadLexerPosition(final LookAheadLexer lookAheadLexer, final ImmutableUserMap map) { customMap = map; lastOffset = lookAheadLexer.myLastOffset; lastState = lookAheadLexer.myLastState; tokenStart = lookAheadLexer.myTokenStart; advanceCount = lookAheadLexer.myTypeCache.size() - 1; }
@NotNull public LookAheadLexerPosition getCurrentPosition() { return new LookAheadLexerPosition(this, ImmutableUserMap.EMPTY); }
public ImmutableUserMap getCustomMap() { return customMap; }
public LookAheadLexerPosition getCurrentPosition() { return new LookAheadLexerPosition(this, ImmutableUserMap.EMPTY); }