Class PmdSwiftParser

  • All Implemented Interfaces:
    net.sourceforge.pmd.lang.ast.Parser

    public final class PmdSwiftParser
    extends net.sourceforge.pmd.lang.ast.impl.antlr4.AntlrBaseParser<SwiftNode,​SwiftParser.SwTopLevel>
    Adapter for the SwiftParser.
    • Constructor Detail

      • PmdSwiftParser

        public PmdSwiftParser()
    • Method Detail

      • parse

        protected SwiftParser.SwTopLevel parse​(org.antlr.v4.runtime.Lexer lexer,
                                               net.sourceforge.pmd.lang.ast.Parser.ParserTask task)
        Specified by:
        parse in class net.sourceforge.pmd.lang.ast.impl.antlr4.AntlrBaseParser<SwiftNode,​SwiftParser.SwTopLevel>
      • getLexer

        protected org.antlr.v4.runtime.Lexer getLexer​(org.antlr.v4.runtime.CharStream source)
        Specified by:
        getLexer in class net.sourceforge.pmd.lang.ast.impl.antlr4.AntlrBaseParser<SwiftNode,​SwiftParser.SwTopLevel>