Class GroovyTokenManager

  • All Implemented Interfaces:
    net.sourceforge.pmd.lang.TokenManager<GroovyToken>

    public class GroovyTokenManager
    extends Object
    implements net.sourceforge.pmd.lang.TokenManager<GroovyToken>
    A Groovy specific token manager. This is simply a copy of AntlrTokenManager but referencing the jarjared version of antlr4 used by the groovy lexer.
    • Constructor Detail

      • GroovyTokenManager

        public GroovyTokenManager​(groovyjarjarantlr4.v4.runtime.Lexer lexer,
                                  net.sourceforge.pmd.lang.document.TextDocument textDocument)
    • Method Detail

      • getNextToken

        public GroovyToken getNextToken()
        Specified by:
        getNextToken in interface net.sourceforge.pmd.lang.TokenManager<GroovyToken>