# 程序包org.mozilla.javascript的分层结构

程序包分层结构:

- 所有程序包

## 类分层结构

- java.lang.Object
  - org.mozilla.javascript.Context
  - org.mozilla.javascript.InterfaceAdapter
  - org.mozilla.javascript.Interpreter (implements org.mozilla.javascript.Evaluator)
  - org.mozilla.javascript.KInterfaceDefaultMethodInvoker
  - org.mozilla.javascript.KNumberOperation
  - org.mozilla.javascript.KRepackRhino
  - org.mozilla.javascript.KVMBridge
  - org.mozilla.javascript.NativeJavaObject (implements org.mozilla.javascript.Scriptable, java.io.Serializable, org.mozilla.javascript.Wrapper)
  - org.mozilla.javascript.Parser
    - org.mozilla.javascript.IRFactory
  - org.mozilla.javascript.ScriptableObject (implements org.mozilla.javascript.ConstProperties, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.Scriptable, java.io.Serializable)
    - org.mozilla.javascript.IdScriptableObject (implements org.mozilla.javascript.IdFunctionCall)
      - org.mozilla.javascript.BaseFunction (implements org.mozilla.javascript.Function)
        - org.mozilla.javascript.FunctionObject
        - org.mozilla.javascript.NativeJavaMethod
      - org.mozilla.javascript.NativeNumber
  - org.mozilla.javascript.ScriptRuntime
  - java.lang.Throwable (implements java.io.Serializable)
    - java.lang.Exception
      - java.lang.RuntimeException
        - org.mozilla.javascript.RhinoException
          - org.mozilla.javascript.EvaluatorException
  - org.mozilla.javascript.VMBridge
    - org.mozilla.javascript.jdk13.VMBridge_jdk13
      - org.mozilla.javascript.jdk15.VMBridge_jdk15
        - org.mozilla.javascript.VMBridge_custom

## 接口分层结构

- org.mozilla.javascript.Context.ClassShutterSetter
- org.mozilla.javascript.ScriptRuntime.MessageProvider