public class EcmascriptParser
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected EcmascriptParserOptions |
parserOptions |
Constructor and Description |
---|
EcmascriptParser(EcmascriptParserOptions parserOptions) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.Integer,java.lang.String> |
getSuppressMap() |
EcmascriptNode<org.mozilla.javascript.ast.AstRoot> |
parse(java.io.Reader reader) |
protected org.mozilla.javascript.ast.AstRoot |
parseEcmascript(java.lang.String sourceCode,
java.util.List<org.mozilla.javascript.ast.ParseProblem> parseProblems) |
protected final EcmascriptParserOptions parserOptions
public EcmascriptParser(EcmascriptParserOptions parserOptions)
protected org.mozilla.javascript.ast.AstRoot parseEcmascript(java.lang.String sourceCode, java.util.List<org.mozilla.javascript.ast.ParseProblem> parseProblems) throws ParseException
ParseException
public EcmascriptNode<org.mozilla.javascript.ast.AstRoot> parse(java.io.Reader reader)
public java.util.Map<java.lang.Integer,java.lang.String> getSuppressMap()
Copyright © 2002–2018 PMD. All rights reserved.