Class VmParser

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

    @Deprecated
    @InternalApi
    public class VmParser
    extends net.sourceforge.pmd.lang.AbstractParser
    Deprecated.
    This is internal API, use LanguageVersionHandler#getParser(ParserOptions).
    Adapter for the VmParser.
    • Constructor Detail

      • VmParser

        public VmParser​(net.sourceforge.pmd.lang.ParserOptions parserOptions)
        Deprecated.
    • Method Detail

      • createTokenManager

        public net.sourceforge.pmd.lang.TokenManager createTokenManager​(Reader source)
        Deprecated.
        Specified by:
        createTokenManager in class net.sourceforge.pmd.lang.AbstractParser
      • canParse

        public boolean canParse()
        Deprecated.
      • parse

        public net.sourceforge.pmd.lang.ast.Node parse​(String fileName,
                                                       Reader source)
                                                throws net.sourceforge.pmd.lang.ast.ParseException
        Deprecated.
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException