Class Ecmascript3Parser
- java.lang.Object
-
- net.sourceforge.pmd.lang.AbstractParser
-
- net.sourceforge.pmd.lang.ecmascript.Ecmascript3Parser
-
- All Implemented Interfaces:
Parser
@InternalApi @Deprecated public class Ecmascript3Parser extends AbstractParser
Deprecated.This is internal API, useLanguageVersionHandler.getParser(ParserOptions)
.Adapter for the EcmascriptParser.
-
-
Field Summary
-
Fields inherited from class net.sourceforge.pmd.lang.AbstractParser
parserOptions
-
-
Constructor Summary
Constructors Constructor Description Ecmascript3Parser(ParserOptions parserOptions)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
canParse()
Deprecated.TokenManager
createTokenManager(Reader source)
Deprecated.Map<Integer,String>
getSuppressMap()
Deprecated.Node
parse(String fileName, Reader source)
Deprecated.-
Methods inherited from class net.sourceforge.pmd.lang.AbstractParser
getParserOptions, getTokenManager
-
-
-
-
Constructor Detail
-
Ecmascript3Parser
public Ecmascript3Parser(ParserOptions parserOptions)
Deprecated.
-
-
Method Detail
-
createTokenManager
public TokenManager createTokenManager(Reader source)
Deprecated.- Specified by:
createTokenManager
in classAbstractParser
-
canParse
public boolean canParse()
Deprecated.
-
parse
public Node parse(String fileName, Reader source) throws ParseException
Deprecated.- Throws:
ParseException
-
-