Class EoLexer

  • All Implemented Interfaces:
    org.antlr.v4.runtime.TokenSource

    public final class EoLexer
    extends ProgramLexer
    Indentation-aware Lexer.
    Since:
    1.0
    • Constructor Detail

      • EoLexer

        public EoLexer​(org.cactoos.Text txt)
                throws IOException
        Ctor.
        Parameters:
        txt - Source code.
        Throws:
        IOException - If fails.
    • Method Detail

      • nextToken

        public org.antlr.v4.runtime.Token nextToken()
        Specified by:
        nextToken in interface org.antlr.v4.runtime.TokenSource
        Overrides:
        nextToken in class org.antlr.v4.runtime.Lexer