Class EoIndentLexer

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

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

      • EoIndentLexer

        public EoIndentLexer​(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