net.sourceforge.pmd.lang.ecmascript.ast
Class EcmascriptParser

java.lang.Object
  extended by net.sourceforge.pmd.lang.ecmascript.ast.EcmascriptParser

public class EcmascriptParser
extends Object


Field Summary
protected  EcmascriptParserOptions parserOptions
           
 
Constructor Summary
EcmascriptParser(EcmascriptParserOptions parserOptions)
           
 
Method Summary
 Map<Integer,String> getSuppressMap()
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parserOptions

protected final EcmascriptParserOptions parserOptions
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

public Map<Integer,String> getSuppressMap()


Copyright © 2002-2015 InfoEther. All Rights Reserved.