From 1a5e3c2d64be1c05a422fd78b23a31de155eca64 Mon Sep 17 00:00:00 2001 From: "alexanders@b2ef00c0-3703-41da-baef-cfe82387ac0c" Date: Wed, 3 Feb 2010 00:48:31 +0000 Subject: removed duplicate trunk directory --HG-- extra : convert_revision : svn%3Ab2ef00c0-3703-41da-baef-cfe82387ac0c/trunk%404 --- .../org/mozilla/javascript/CompilerEnvirons.html | 669 +++++++++++++++++++++ 1 file changed, 669 insertions(+) create mode 100644 trunk/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/CompilerEnvirons.html (limited to 'trunk/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/CompilerEnvirons.html') diff --git a/trunk/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/CompilerEnvirons.html b/trunk/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/CompilerEnvirons.html new file mode 100644 index 0000000..8b5e109 --- /dev/null +++ b/trunk/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/CompilerEnvirons.html @@ -0,0 +1,669 @@ + + + + + + +CompilerEnvirons (Rhino) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.mozilla.javascript +
+Class CompilerEnvirons

+
+java.lang.Object
+  extended by org.mozilla.javascript.CompilerEnvirons
+
+
+
+
public class CompilerEnvirons
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CompilerEnvirons() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ ErrorReportergetErrorReporter() + +
+           
+ intgetLanguageVersion() + +
+           
+ intgetOptimizationLevel() + +
+           
+ voidinitFromContext(Context cx) + +
+           
+ booleanisAllowMemberExprAsFunctionName() + +
+           
+ booleanisGenerateDebugInfo() + +
+           
+ booleanisGenerateObserverCount() + +
+           
+ booleanisGeneratingSource() + +
+           
+ booleanisReservedKeywordAsIdentifier() + +
+           
+ booleanisStrictMode() + +
+           
+ booleanisUseDynamicScope() + +
+           
+ booleanisXmlAvailable() + +
+           
+ booleanreportWarningAsError() + +
+           
+ voidsetAllowMemberExprAsFunctionName(boolean flag) + +
+           
+ voidsetErrorReporter(ErrorReporter errorReporter) + +
+           
+ voidsetGenerateDebugInfo(boolean flag) + +
+           
+ voidsetGenerateObserverCount(boolean generateObserverCount) + +
+          Turn on or off generation of code with callbacks to + track the count of executed instructions.
+ voidsetGeneratingSource(boolean generatingSource) + +
+          Specify whether or not source information should be generated.
+ voidsetLanguageVersion(int languageVersion) + +
+           
+ voidsetOptimizationLevel(int level) + +
+           
+ voidsetReservedKeywordAsIdentifier(boolean flag) + +
+           
+ voidsetXmlAvailable(boolean flag) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CompilerEnvirons

+
+public CompilerEnvirons()
+
+
+ + + + + + + + +
+Method Detail
+ +

+initFromContext

+
+public void initFromContext(Context cx)
+
+
+
+
+
+
+ +

+getErrorReporter

+
+public final ErrorReporter getErrorReporter()
+
+
+
+
+
+
+ +

+setErrorReporter

+
+public void setErrorReporter(ErrorReporter errorReporter)
+
+
+
+
+
+
+ +

+getLanguageVersion

+
+public final int getLanguageVersion()
+
+
+
+
+
+
+ +

+setLanguageVersion

+
+public void setLanguageVersion(int languageVersion)
+
+
+
+
+
+
+ +

+isGenerateDebugInfo

+
+public final boolean isGenerateDebugInfo()
+
+
+
+
+
+
+ +

+setGenerateDebugInfo

+
+public void setGenerateDebugInfo(boolean flag)
+
+
+
+
+
+
+ +

+isUseDynamicScope

+
+public final boolean isUseDynamicScope()
+
+
+
+
+
+
+ +

+isReservedKeywordAsIdentifier

+
+public final boolean isReservedKeywordAsIdentifier()
+
+
+
+
+
+
+ +

+setReservedKeywordAsIdentifier

+
+public void setReservedKeywordAsIdentifier(boolean flag)
+
+
+
+
+
+
+ +

+isAllowMemberExprAsFunctionName

+
+public final boolean isAllowMemberExprAsFunctionName()
+
+
+
+
+
+
+ +

+setAllowMemberExprAsFunctionName

+
+public void setAllowMemberExprAsFunctionName(boolean flag)
+
+
+
+
+
+
+ +

+isXmlAvailable

+
+public final boolean isXmlAvailable()
+
+
+
+
+
+
+ +

+setXmlAvailable

+
+public void setXmlAvailable(boolean flag)
+
+
+
+
+
+
+ +

+getOptimizationLevel

+
+public final int getOptimizationLevel()
+
+
+
+
+
+
+ +

+setOptimizationLevel

+
+public void setOptimizationLevel(int level)
+
+
+
+
+
+
+ +

+isGeneratingSource

+
+public final boolean isGeneratingSource()
+
+
+
+
+
+
+ +

+isStrictMode

+
+public final boolean isStrictMode()
+
+
+
+
+
+
+ +

+reportWarningAsError

+
+public final boolean reportWarningAsError()
+
+
+
+
+
+
+ +

+setGeneratingSource

+
+public void setGeneratingSource(boolean generatingSource)
+
+
Specify whether or not source information should be generated. +

+ Without source information, evaluating the "toString" method + on JavaScript functions produces only "[native code]" for + the body of the function. + Note that code generated without source is not fully ECMA + conformant. +

+

+
+
+
+
+ +

+isGenerateObserverCount

+
+public boolean isGenerateObserverCount()
+
+
+ +
Returns:
true iff code will be generated with callbacks to enable + instruction thresholds
+
+
+
+ +

+setGenerateObserverCount

+
+public void setGenerateObserverCount(boolean generateObserverCount)
+
+
Turn on or off generation of code with callbacks to + track the count of executed instructions. + Currently only affects JVM byte code generation: this slows down the + generated code, but code generated without the callbacks will not + be counted toward instruction thresholds. Rhino's interpretive + mode does instruction counting without inserting callbacks, so + there is no requirement to compile code differently. +

+

+
Parameters:
generateObserverCount - if true, generated code will contain + calls to accumulate an estimate of the instructions executed.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3