Class Ecmascript3Parser

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

    public class Ecmascript3Parser
    extends net.sourceforge.pmd.lang.AbstractParser
    Adapter for the EcmascriptParser.
    • Constructor Detail

      • Ecmascript3Parser

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

      • createTokenManager

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

        public boolean canParse()
      • parse

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