Class Ecmascript3Parser
- java.lang.Object
-
- net.sourceforge.pmd.lang.AbstractParser
-
- net.sourceforge.pmd.lang.ecmascript.Ecmascript3Parser
-
- All Implemented Interfaces:
net.sourceforge.pmd.lang.Parser
public class Ecmascript3Parser extends net.sourceforge.pmd.lang.AbstractParserAdapter for the EcmascriptParser.
-
-
Constructor Summary
Constructors Constructor Description Ecmascript3Parser(net.sourceforge.pmd.lang.ParserOptions parserOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanParse()net.sourceforge.pmd.lang.TokenManagercreateTokenManager(java.io.Reader source)java.util.Map<java.lang.Integer,java.lang.String>getSuppressMap()net.sourceforge.pmd.lang.ast.Nodeparse(java.lang.String fileName, java.io.Reader source)
-
-
-
Method Detail
-
createTokenManager
public net.sourceforge.pmd.lang.TokenManager createTokenManager(java.io.Reader source)
- Specified by:
createTokenManagerin classnet.sourceforge.pmd.lang.AbstractParser
-
canParse
public boolean canParse()
-
parse
public net.sourceforge.pmd.lang.ast.Node parse(java.lang.String fileName, java.io.Reader source) throws net.sourceforge.pmd.lang.ast.ParseException- Throws:
net.sourceforge.pmd.lang.ast.ParseException
-
getSuppressMap
public java.util.Map<java.lang.Integer,java.lang.String> getSuppressMap()
-
-