Class GroovyLangLexer

java.lang.Object
org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
org.antlr.v4.runtime.Lexer
All Implemented Interfaces:
org.antlr.v4.runtime.TokenSource, SyntaxErrorReportable

public class GroovyLangLexer extends GroovyLexer
The lexer for Groovy programming language, which is based on the lexer generated by Antlr4
  • Constructor Details

    • GroovyLangLexer

      public GroovyLangLexer(Reader reader) throws IOException
      Throws:
      IOException
    • GroovyLangLexer

      public GroovyLangLexer(org.antlr.v4.runtime.CharStream input)
  • Method Details

    • recover

      public void recover(org.antlr.v4.runtime.LexerNoViableAltException e)
      Overrides:
      recover in class org.antlr.v4.runtime.Lexer
    • rollbackOneChar

      protected void rollbackOneChar()
      Description copied from class: GroovyLexer
      just a hook, which will be overrided by GroovyLangLexer
      Overrides:
      rollbackOneChar in class GroovyLexer