Class JSParser


  • public class JSParser
    extends org.mozilla.javascript.Parser
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.mozilla.javascript.Parser

        org.mozilla.javascript.Parser.PerFunctionVariables
    • Field Summary

      • Fields inherited from class org.mozilla.javascript.Parser

        ARGC_LIMIT, inUseStrictDirective, nestingOfFunction
    • Constructor Summary

      Constructors 
      Constructor Description
      JSParser​(java.lang.Object compilerEnv)  
      JSParser​(java.lang.Object compilerEnv, java.lang.Object errorReporter)  
      JSParser​(org.mozilla.javascript.CompilerEnvirons compilerEnv)  
      JSParser​(org.mozilla.javascript.CompilerEnvirons compilerEnv, org.mozilla.javascript.ErrorReporter errorReporter)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void enterFunction()  
      void exitFunction()  
      java.lang.Object parseAsObject​(java.io.Reader sourceReader, java.lang.String sourceURI, int lineno)  
      • Methods inherited from class org.mozilla.javascript.Parser

        checkActivationName, checkMutableReference, createName, createName, createNumber, createScopeNode, eof, inUseStrictDirective, parse, parse, removeParens, setDefaultUseStrictDirective, setIsGenerator, setRequiresActivation, simpleAssignment
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JSParser

        public JSParser​(java.lang.Object compilerEnv,
                        java.lang.Object errorReporter)
      • JSParser

        public JSParser​(org.mozilla.javascript.CompilerEnvirons compilerEnv,
                        org.mozilla.javascript.ErrorReporter errorReporter)
      • JSParser

        public JSParser​(java.lang.Object compilerEnv)
      • JSParser

        public JSParser​(org.mozilla.javascript.CompilerEnvirons compilerEnv)
    • Method Detail

      • enterFunction

        public void enterFunction()
      • exitFunction

        public void exitFunction()
      • parseAsObject

        public java.lang.Object parseAsObject​(java.io.Reader sourceReader,
                                              java.lang.String sourceURI,
                                              int lineno)
                                       throws java.io.IOException
        Throws:
        java.io.IOException