Class GroovyLangLexer

  • 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 Detail

      • GroovyLangLexer

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

      • 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