org.dynjs.Config



API Populatity

1 Client projects

Project: org.dynjs

Project dynjs/dynjs in file ...75d655e8ee/src.main.java.org.dynjs.ir.Builder.java (2014-04-09)
@@ -15,6 +15,7 @@
  */
 package org.dynjs.ir;
 
+import org.dynjs.Config;
 import org.dynjs.ir.instructions.Add;
 import org.dynjs.ir.instructions.BEQ;
 import org.dynjs.ir.instructions.Call;
@@ -116,7 +117,7 @@ import org.dynjs.runtime.Types;
 public class Builder implements CodeVisitor {
     private static Builder BUILDER = new Builder();
 
-    public static JSProgram compile(ProgramTree program) {
+    public static JSProgram compile(ProgramTree program, Config.CompileMode mode) {
         Scope scope = new Scope(null);
         program.accept(scope, BUILDER, program.isStrict());
 
Project dynjs/dynjs in file ...ain.java.org.dynjs.runtime.LexicalEnvironment.java (2012-08-15)
@@ -1,7 +1,5 @@
 package org.dynjs.runtime;
 
-import org.dynjs.Config;
-
 public class LexicalEnvironment {
 
     public static LexicalEnvironment newDeclarativeEnvironment(LexicalEnvironment outer) {
@@ -12,8 +10,8 @@ public class LexicalEnvironment {
         return new LexicalEnvironment( new ObjectEnvironmentRecord( object, provideThis ), outer );
     }
 
-    public static LexicalEnvironment newGlobalEnvironment(JSEngine engine) {
-        return new LexicalEnvironment( new ObjectEnvironmentRecord( new GlobalObject( engine ), false ), null );
+    public static LexicalEnvironment newGlobalEnvironment(DynJS runtime) {
+        return new LexicalEnvironment( new ObjectEnvironmentRecord( new GlobalObject(runtime), false ), null );
     }
 
     private LexicalEnvironment outer;
Project dynjs/dynjs in file ....main.java.org.dynjs.jsr223.DynJSScriptEngine.java (2014-11-07)
@@ -1,9 +1,7 @@
 package org.dynjs.jsr223;
 
-import org.dynjs.Config;
-import org.dynjs.runtime.*;
 import org.dynjs.runtime.Compiler;
-import org.dynjs.runtime.builtins.DynJSBuiltin;
+import org.dynjs.runtime.*;
 import org.dynjs.runtime.linker.DynJSBootstrapper;
 import org.dynjs.runtime.linker.java.jsimpl.JSJavaImplementationManager;
 import org.dynjs.runtime.source.ReaderSourceProvider;