< prev index next >

src/jdk/nashorn/internal/runtime/ScriptEnvironment.java

Print this page
rev 1336 : 8080090: -d option should dump script source as well
Reviewed-by: hannesw, lagergren


  56     private final Namespace namespace;
  57 
  58     /** Current Options object. */
  59     private final Options options;
  60 
  61     /** Size of the per-global Class cache size */
  62     public final int     _class_cache_size;
  63 
  64     /** Only compile script, do not run it or generate other ScriptObjects */
  65     public final boolean _compile_only;
  66 
  67     /** Accept "const" keyword and treat it as variable. Interim feature */
  68     public final boolean _const_as_var;
  69 
  70     /** Accumulated callsite flags that will be used when bootstrapping script callsites */
  71     public final int     _callsite_flags;
  72 
  73     /** Generate line number table in class files */
  74     public final boolean _debug_lines;
  75 
  76     /** Package to which generated class files are added */
  77     public final String  _dest_dir;
  78 
  79     /** Display stack trace upon error, default is false */
  80     public final boolean _dump_on_error;
  81 
  82     /** Invalid lvalue expressions should be reported as early errors */
  83     public final boolean _early_lvalue_error;
  84 
  85     /** Empty statements should be preserved in the AST */
  86     public final boolean _empty_statements;
  87 
  88     /** Show full Nashorn version */
  89     public final boolean _fullversion;
  90 
  91     /** Launch using as fx application */
  92     public final boolean _fx;
  93 
  94     /** Use single Global instance per jsr223 engine instance. */
  95     public final boolean _global_per_engine;
  96 




  56     private final Namespace namespace;
  57 
  58     /** Current Options object. */
  59     private final Options options;
  60 
  61     /** Size of the per-global Class cache size */
  62     public final int     _class_cache_size;
  63 
  64     /** Only compile script, do not run it or generate other ScriptObjects */
  65     public final boolean _compile_only;
  66 
  67     /** Accept "const" keyword and treat it as variable. Interim feature */
  68     public final boolean _const_as_var;
  69 
  70     /** Accumulated callsite flags that will be used when bootstrapping script callsites */
  71     public final int     _callsite_flags;
  72 
  73     /** Generate line number table in class files */
  74     public final boolean _debug_lines;
  75 
  76     /** Directory in which source files and generated class files are dumped */
  77     public final String  _dest_dir;
  78 
  79     /** Display stack trace upon error, default is false */
  80     public final boolean _dump_on_error;
  81 
  82     /** Invalid lvalue expressions should be reported as early errors */
  83     public final boolean _early_lvalue_error;
  84 
  85     /** Empty statements should be preserved in the AST */
  86     public final boolean _empty_statements;
  87 
  88     /** Show full Nashorn version */
  89     public final boolean _fullversion;
  90 
  91     /** Launch using as fx application */
  92     public final boolean _fx;
  93 
  94     /** Use single Global instance per jsr223 engine instance. */
  95     public final boolean _global_per_engine;
  96 


< prev index next >