Class EcmascriptParser
- java.lang.Object
-
- net.sourceforge.pmd.lang.ecmascript.ast.EcmascriptParser
-
public class EcmascriptParser extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected EcmascriptParserOptions
parserOptions
Deprecated.
-
Constructor Summary
Constructors Constructor Description EcmascriptParser(EcmascriptParserOptions parserOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Map<Integer,String>
getSuppressMap()
Deprecated.EcmascriptNode<org.mozilla.javascript.ast.AstRoot>
parse(Reader reader)
protected org.mozilla.javascript.ast.AstRoot
parseEcmascript(String sourceCode, List<org.mozilla.javascript.ast.ParseProblem> parseProblems)
-
-
-
Field Detail
-
parserOptions
@Deprecated @InternalApi protected final EcmascriptParserOptions parserOptions
Deprecated.
-
-
Constructor Detail
-
EcmascriptParser
public EcmascriptParser(EcmascriptParserOptions parserOptions)
-
-
Method Detail
-
parseEcmascript
protected org.mozilla.javascript.ast.AstRoot parseEcmascript(String sourceCode, List<org.mozilla.javascript.ast.ParseProblem> parseProblems) throws ParseException
- Throws:
ParseException
-
parse
public EcmascriptNode<org.mozilla.javascript.ast.AstRoot> parse(Reader reader)
-
getSuppressMap
@Deprecated @InternalApi public Map<Integer,String> getSuppressMap()
Deprecated.
-
-