类 LexerBase

java.lang.Object
com.intellij.lexer.Lexer
com.intellij.lexer.LexerBase
直接已知子类:
DelegateLexer, FlexAdapter, StringLiteralLexer

public abstract class LexerBase extends Lexer
  • 构造器详细资料

    • LexerBase

      public LexerBase()
  • 方法详细资料

    • getCurrentPosition

      @NotNull public @NotNull LexerPosition getCurrentPosition()
      从类复制的说明: Lexer
      Returns the current position and state of the lexer.
      指定者:
      getCurrentPosition 在类中 Lexer
      返回:
      the lexer position and state.
    • restore

      public void restore(@NotNull @NotNull LexerPosition position)
      从类复制的说明: Lexer
      Restores the lexer to the specified state and position.
      指定者:
      restore 在类中 Lexer
      参数:
      position - the state and position to restore to.