6656 lines
248 KiB
HTML
6656 lines
248 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!--NewPage-->
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>
|
|
CompilerOptions (Compiler)
|
|
</TITLE>
|
|
|
|
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../dev_javadoc.css" TITLE="Style">
|
|
|
|
<SCRIPT type="text/javascript">
|
|
function windowTitle()
|
|
{
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="CompilerOptions (Compiler)";
|
|
}
|
|
}
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
</NOSCRIPT>
|
|
|
|
</HEAD>
|
|
|
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
|
<HR>
|
|
|
|
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<A NAME="navbar_top"><!-- --></A>
|
|
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_top_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../../com/google/javascript/jscomp/CompilerInput.html" title="class in com.google.javascript.jscomp"><B>PREV CLASS</B></A>
|
|
<A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.AliasTransformation.html" title="interface in com.google.javascript.jscomp"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../../index.html?com/google/javascript/jscomp/CompilerOptions.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="CompilerOptions.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_top"></A>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
|
|
<HR>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<H2>
|
|
<FONT SIZE="-1">
|
|
com.google.javascript.jscomp</FONT>
|
|
<BR>
|
|
Class CompilerOptions</H2>
|
|
<PRE>
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
|
|
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.google.javascript.jscomp.CompilerOptions</B>
|
|
</PRE>
|
|
<DL>
|
|
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</A></DD>
|
|
</DL>
|
|
<HR>
|
|
<DL>
|
|
<DT><PRE>public class <B>CompilerOptions</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="http://java.sun.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</A></DL>
|
|
</PRE>
|
|
|
|
<P>
|
|
Compiler options
|
|
<P>
|
|
|
|
<P>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#com.google.javascript.jscomp.CompilerOptions">Serialized Form</A></DL>
|
|
<HR>
|
|
|
|
<P>
|
|
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
|
|
|
<A NAME="nested_class_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Nested Class Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static interface</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.AliasTransformation.html" title="interface in com.google.javascript.jscomp">CompilerOptions.AliasTransformation</A></B></CODE>
|
|
|
|
<BR>
|
|
A Role Specific Interface for the JsCompiler to report aliases used to
|
|
change the code during a compile.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static interface</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.AliasTransformationHandler.html" title="interface in com.google.javascript.jscomp">CompilerOptions.AliasTransformationHandler</A></B></CODE>
|
|
|
|
<BR>
|
|
A Role Specific Interface for JsCompiler that represents a data holder
|
|
object which is used to store goog.scope alias code changes to code made
|
|
during a compile.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static class</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.LanguageMode.html" title="enum in com.google.javascript.jscomp">CompilerOptions.LanguageMode</A></B></CODE>
|
|
|
|
<BR>
|
|
When to do the extra sanity checks</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static class</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.Reach.html" title="enum in com.google.javascript.jscomp">CompilerOptions.Reach</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static class</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.TracerMode.html" title="enum in com.google.javascript.jscomp">CompilerOptions.TracerMode</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static class</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.TweakProcessing.html" title="enum in com.google.javascript.jscomp">CompilerOptions.TweakProcessing</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
|
|
<A NAME="field_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Field Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#aggressiveVarCheck">aggressiveVarCheck</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#aliasableStrings">aliasableStrings</A></B></CODE>
|
|
|
|
<BR>
|
|
If set to a non-empty set, those strings literals will be aliased to a
|
|
single global instance per string, to avoid creating more objects than
|
|
necessary.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#aliasAllStrings">aliasAllStrings</A></B></CODE>
|
|
|
|
<BR>
|
|
Aliases all string literals to global instances, to avoid creating more
|
|
objects than necessary (if true, overrides any set of strings passed in
|
|
to aliasableStrings)</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#aliasExternals">aliasExternals</A></B></CODE>
|
|
|
|
<BR>
|
|
Adds variable aliases for externals to reduce code size</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#aliasKeywords">aliasKeywords</A></B></CODE>
|
|
|
|
<BR>
|
|
Aliases true, false, and null to variables with shorter names.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#aliasStringsBlacklist">aliasStringsBlacklist</A></B></CODE>
|
|
|
|
<BR>
|
|
A blacklist in the form of a regular expression to block strings that
|
|
contains certain words from being aliased.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#ambiguateProperties">ambiguateProperties</A></B></CODE>
|
|
|
|
<BR>
|
|
Rename unrelated properties to the same name to reduce code size.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../com/google/javascript/jscomp/AnonymousFunctionNamingPolicy.html" title="enum in com.google.javascript.jscomp">AnonymousFunctionNamingPolicy</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#anonymousFunctionNaming">anonymousFunctionNaming</A></B></CODE>
|
|
|
|
<BR>
|
|
Give anonymous functions names for easier debugging</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#brokenClosureRequiresLevel">brokenClosureRequiresLevel</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#checkControlStructures">checkControlStructures</A></B></CODE>
|
|
|
|
<BR>
|
|
Checks for invalid control structures</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#checkGlobalNamesLevel">checkGlobalNamesLevel</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#checkGlobalThisLevel">checkGlobalThisLevel</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#checkMissingGetCssNameBlacklist">checkMissingGetCssNameBlacklist</A></B></CODE>
|
|
|
|
<BR>
|
|
Regex of string literals that may only appear in goog.getCssName arguments.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#checkMissingGetCssNameLevel">checkMissingGetCssNameLevel</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#checkMissingReturn">checkMissingReturn</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#checkProvides">checkProvides</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#checkRequires">checkRequires</A></B></CODE>
|
|
|
|
<BR>
|
|
Checks for missing goog.require() calls</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#checkSuspiciousCode">checkSuspiciousCode</A></B></CODE>
|
|
|
|
<BR>
|
|
Checks for suspicious statements that have no effect</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#checkSymbols">checkSymbols</A></B></CODE>
|
|
|
|
<BR>
|
|
Checks that all symbols are defined</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#checkTypes">checkTypes</A></B></CODE>
|
|
|
|
<BR>
|
|
Checks types on expressions</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#checkUnreachableCode">checkUnreachableCode</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#closurePass">closurePass</A></B></CODE>
|
|
|
|
<BR>
|
|
Processes goog.provide() and goog.require() calls</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#coalesceVariableNames">coalesceVariableNames</A></B></CODE>
|
|
|
|
<BR>
|
|
Merge two variables together as one.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#collapseAnonymousFunctions">collapseAnonymousFunctions</A></B></CODE>
|
|
|
|
<BR>
|
|
Collapses anonymous function declarations into named function
|
|
declarations</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#collapseProperties">collapseProperties</A></B></CODE>
|
|
|
|
<BR>
|
|
Flattens multi-level property names (e.g.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#collapseVariableDeclarations">collapseVariableDeclarations</A></B></CODE>
|
|
|
|
<BR>
|
|
Collapses multiple variable declarations into one</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#computeFunctionSideEffects">computeFunctionSideEffects</A></B></CODE>
|
|
|
|
<BR>
|
|
Use @nosideeffects annotations, function bodies and name graph
|
|
to determine if calls have side effects.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#convertToDottedProperties">convertToDottedProperties</A></B></CODE>
|
|
|
|
<BR>
|
|
Converts quoted property accesses to dot syntax (a['b'] -> a.b)</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#crossModuleCodeMotion">crossModuleCodeMotion</A></B></CODE>
|
|
|
|
<BR>
|
|
Move code to a deeper module</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#crossModuleMethodMotion">crossModuleMethodMotion</A></B></CODE>
|
|
|
|
<BR>
|
|
Move methds to a deeper module</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../com/google/javascript/jscomp/CssRenamingMap.html" title="interface in com.google.javascript.jscomp">CssRenamingMap</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#cssRenamingMap">cssRenamingMap</A></B></CODE>
|
|
|
|
<BR>
|
|
Map used in the renaming of CSS class names.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> com.google.common.collect.Multimap<<A HREF="../../../../com/google/javascript/jscomp/CustomPassExecutionTime.html" title="enum in com.google.javascript.jscomp">CustomPassExecutionTime</A>,<A HREF="../../../../com/google/javascript/jscomp/CompilerPass.html" title="interface in com.google.javascript.jscomp">CompilerPass</A>></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#customPasses">customPasses</A></B></CODE>
|
|
|
|
<BR>
|
|
Custom passes</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#deadAssignmentElimination">deadAssignmentElimination</A></B></CODE>
|
|
|
|
<BR>
|
|
Remove assignments to values that can not be referenced</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#devirtualizePrototypeMethods">devirtualizePrototypeMethods</A></B></CODE>
|
|
|
|
<BR>
|
|
Devirtualize prototype method by rewriting them to be static calls that
|
|
take the this pointer as their first argument</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#disambiguateProperties">disambiguateProperties</A></B></CODE>
|
|
|
|
<BR>
|
|
Rename properties to disambiguate between unrelated fields based on
|
|
type information.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../com/google/javascript/jscomp/ErrorFormat.html" title="enum in com.google.javascript.jscomp">ErrorFormat</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#errorFormat">errorFormat</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#exportTestFunctions">exportTestFunctions</A></B></CODE>
|
|
|
|
<BR>
|
|
Whether to export test functions.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#extractPrototypeMemberDeclarations">extractPrototypeMemberDeclarations</A></B></CODE>
|
|
|
|
<BR>
|
|
Extracts common prototype member declarations</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#flowSensitiveInlineVariables">flowSensitiveInlineVariables</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#foldConstants">foldConstants</A></B></CODE>
|
|
|
|
<BR>
|
|
Folds constants (e.g.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#gatherCssNames">gatherCssNames</A></B></CODE>
|
|
|
|
<BR>
|
|
Gather CSS names (requires closurePass)</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#generateExports">generateExports</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#generatePseudoNames">generatePseudoNames</A></B></CODE>
|
|
|
|
<BR>
|
|
Generate pseudo names for variables and properties for debugging purposes.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#ideMode">ideMode</A></B></CODE>
|
|
|
|
<BR>
|
|
Configures the compiler for use as an IDE backend.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#inlineConstantVars">inlineConstantVars</A></B></CODE>
|
|
|
|
<BR>
|
|
Inlines constants (symbols that are all CAPS)</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#inlineFunctions">inlineFunctions</A></B></CODE>
|
|
|
|
<BR>
|
|
Inlines short functions</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#inlineGetters">inlineGetters</A></B></CODE>
|
|
|
|
<BR>
|
|
Inlines trivial getters</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#inlineLocalFunctions">inlineLocalFunctions</A></B></CODE>
|
|
|
|
<BR>
|
|
Enhanced function inlining</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#inlineVariables">inlineVariables</A></B></CODE>
|
|
|
|
<BR>
|
|
Inlines variables</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#inputDelimiter">inputDelimiter</A></B></CODE>
|
|
|
|
<BR>
|
|
The string to use as the separator for printInputDelimiter</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> byte[]</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#inputPropertyMapSerialized">inputPropertyMapSerialized</A></B></CODE>
|
|
|
|
<BR>
|
|
Serialized input property renaming map.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> byte[]</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#inputVariableMapSerialized">inputVariableMapSerialized</A></B></CODE>
|
|
|
|
<BR>
|
|
Serialized input variable renaming map.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#instrumentationTemplate">instrumentationTemplate</A></B></CODE>
|
|
|
|
<BR>
|
|
Instrumentation template to use with #recordFunctionInformation</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#jqueryPass">jqueryPass</A></B></CODE>
|
|
|
|
<BR>
|
|
Processes jQuery aliases</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#labelRenaming">labelRenaming</A></B></CODE>
|
|
|
|
<BR>
|
|
Controls label renaming.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#lineBreak">lineBreak</A></B></CODE>
|
|
|
|
<BR>
|
|
Line break the output a bit more aggressively</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#locale">locale</A></B></CODE>
|
|
|
|
<BR>
|
|
Compiling locale</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#markAsCompiled">markAsCompiled</A></B></CODE>
|
|
|
|
<BR>
|
|
Sets the special "COMPILED" value to true</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#markNoSideEffectCalls">markNoSideEffectCalls</A></B></CODE>
|
|
|
|
<BR>
|
|
Mark no side effect calls</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../com/google/javascript/jscomp/MessageBundle.html" title="interface in com.google.javascript.jscomp">MessageBundle</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#messageBundle">messageBundle</A></B></CODE>
|
|
|
|
<BR>
|
|
Returns localized replacement for MSG_* variables</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#moveFunctionDeclarations">moveFunctionDeclarations</A></B></CODE>
|
|
|
|
<BR>
|
|
Move top level function declarations to the top</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#optimizeArgumentsArray">optimizeArgumentsArray</A></B></CODE>
|
|
|
|
<BR>
|
|
Provide formal names for elements of arguments array.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#optimizeCalls">optimizeCalls</A></B></CODE>
|
|
|
|
<BR>
|
|
Remove unused parameters from call sites.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#optimizeParameters">optimizeParameters</A></B></CODE>
|
|
|
|
<BR>
|
|
Remove unused and constant parameters.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#optimizeReturns">optimizeReturns</A></B></CODE>
|
|
|
|
<BR>
|
|
Remove unused return values.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#preferLineBreakAtEndOfFile">preferLineBreakAtEndOfFile</A></B></CODE>
|
|
|
|
<BR>
|
|
Prefer line breaks at end of file</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#prettyPrint">prettyPrint</A></B></CODE>
|
|
|
|
<BR>
|
|
Output in pretty indented format</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#printInputDelimiter">printInputDelimiter</A></B></CODE>
|
|
|
|
<BR>
|
|
Prints a separator comment before each js script</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../com/google/javascript/jscomp/PropertyRenamingPolicy.html" title="enum in com.google.javascript.jscomp">PropertyRenamingPolicy</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#propertyRenaming">propertyRenaming</A></B></CODE>
|
|
|
|
<BR>
|
|
Controls which properties get renamed.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#recordFunctionInformation">recordFunctionInformation</A></B></CODE>
|
|
|
|
<BR>
|
|
Record function information</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#removeDeadCode">removeDeadCode</A></B></CODE>
|
|
|
|
<BR>
|
|
Removes code that will never execute</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#removeTryCatchFinally">removeTryCatchFinally</A></B></CODE>
|
|
|
|
<BR>
|
|
Removes try...catch...finally blocks for easier debugging</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#removeUnusedLocalVars">removeUnusedLocalVars</A></B></CODE>
|
|
|
|
<BR>
|
|
Removes unused variables in local scope.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#removeUnusedPrototypeProperties">removeUnusedPrototypeProperties</A></B></CODE>
|
|
|
|
<BR>
|
|
Removes unused member prototypes</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#removeUnusedPrototypePropertiesInExterns">removeUnusedPrototypePropertiesInExterns</A></B></CODE>
|
|
|
|
<BR>
|
|
Tells AnalyzePrototypeProperties it can remove externed props.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#removeUnusedVars">removeUnusedVars</A></B></CODE>
|
|
|
|
<BR>
|
|
Removes unused variables</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#renamePrefix">renamePrefix</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies a prefix for all globals</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#renamePrefixNamespace">renamePrefixNamespace</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies the name of an object that will be used to store all non-extern
|
|
globals.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#reportMissingOverride">reportMissingOverride</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#reserveRawExports">reserveRawExports</A></B></CODE>
|
|
|
|
<BR>
|
|
Reserve property names on the global this object.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#rewriteFunctionExpressions">rewriteFunctionExpressions</A></B></CODE>
|
|
|
|
<BR>
|
|
Reduces the size of common function expressions.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#smartNameRemoval">smartNameRemoval</A></B></CODE>
|
|
|
|
<BR>
|
|
Removes code associated with unused global names</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../com/google/javascript/jscomp/SourceMap.DetailLevel.html" title="enum in com.google.javascript.jscomp">SourceMap.DetailLevel</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#sourceMapDetailLevel">sourceMapDetailLevel</A></B></CODE>
|
|
|
|
<BR>
|
|
The detail level for the generated source map.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../com/google/javascript/jscomp/SourceMap.Format.html" title="enum in com.google.javascript.jscomp">SourceMap.Format</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#sourceMapFormat">sourceMapFormat</A></B></CODE>
|
|
|
|
<BR>
|
|
The source map file format</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../com/google/javascript/jscomp/SourceMap.LocationMapping.html" title="class in com.google.javascript.jscomp">SourceMap.LocationMapping</A>></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#sourceMapLocationMappings">sourceMapLocationMappings</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#sourceMapOutputPath">sourceMapOutputPath</A></B></CODE>
|
|
|
|
<BR>
|
|
The output path for the source map.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#stripNamePrefixes">stripNamePrefixes</A></B></CODE>
|
|
|
|
<BR>
|
|
Name prefixes that determine which variables and properties to strip</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#stripNameSuffixes">stripNameSuffixes</A></B></CODE>
|
|
|
|
<BR>
|
|
Name suffixes that determine which variables and properties to strip</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#stripTypePrefixes">stripTypePrefixes</A></B></CODE>
|
|
|
|
<BR>
|
|
Qualified type name prefixes that determine which types to strip</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#stripTypes">stripTypes</A></B></CODE>
|
|
|
|
<BR>
|
|
Names of types to strip</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#syntheticBlockEndMarker">syntheticBlockEndMarker</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#syntheticBlockStartMarker">syntheticBlockStartMarker</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../com/google/javascript/jscomp/VariableRenamingPolicy.html" title="enum in com.google.javascript.jscomp">VariableRenamingPolicy</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#variableRenaming">variableRenaming</A></B></CODE>
|
|
|
|
<BR>
|
|
Controls which variables get renamed.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
|
|
<A NAME="constructor_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Constructor Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#CompilerOptions()">CompilerOptions</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Initializes compiler options.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
|
|
<A NAME="method_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Method Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#addWarningsGuard(com.google.javascript.jscomp.WarningsGuard)">addWarningsGuard</A></B>(<A HREF="../../../../com/google/javascript/jscomp/WarningsGuard.html" title="class in com.google.javascript.jscomp">WarningsGuard</A> guard)</CODE>
|
|
|
|
<BR>
|
|
Add a guard to the set of warnings guards.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#assumeClosuresOnlyCaptureReferences()">assumeClosuresOnlyCaptureReferences</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#assumeStrictThis()">assumeStrictThis</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#clone()">clone</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#disableRuntimeTypeCheck()">disableRuntimeTypeCheck</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#enableExternExports(boolean)">enableExternExports</A></B>(boolean enabled)</CODE>
|
|
|
|
<BR>
|
|
<B>Deprecated.</B> <I>replaced by <A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setExternExports(boolean)"><CODE>setExternExports(boolean)</CODE></A></I></TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#enableRuntimeTypeCheck(java.lang.String)">enableRuntimeTypeCheck</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> logFunction)</CODE>
|
|
|
|
<BR>
|
|
Enable runtime type checking, which adds JS type assertions for debugging.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.AliasTransformationHandler.html" title="interface in com.google.javascript.jscomp">CompilerOptions.AliasTransformationHandler</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#getAliasTransformationHandler()">getAliasTransformationHandler</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../com/google/javascript/jscomp/CodingConvention.html" title="interface in com.google.javascript.jscomp">CodingConvention</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#getCodingConvention()">getCodingConvention</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</A>></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#getDefineReplacements()">getDefineReplacements</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the map of define replacements.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#getInferTypes()">getInferTypes</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Gets the inferTypes flag.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.LanguageMode.html" title="enum in com.google.javascript.jscomp">CompilerOptions.LanguageMode</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#getLanguageIn()">getLanguageIn</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.LanguageMode.html" title="enum in com.google.javascript.jscomp">CompilerOptions.LanguageMode</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#getLanguageOut()">getLanguageOut</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.TracerMode.html" title="enum in com.google.javascript.jscomp">CompilerOptions.TracerMode</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#getTracerMode()">getTracerMode</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.TweakProcessing.html" title="enum in com.google.javascript.jscomp">CompilerOptions.TweakProcessing</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#getTweakProcessing()">getTweakProcessing</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</A>></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#getTweakReplacements()">getTweakReplacements</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the map of tweak replacements.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#isExternExportsEnabled()">isExternExportsEnabled</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#resetWarningsGuard()">resetWarningsGuard</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Reset the warnings guard.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setAcceptConstKeyword(boolean)">setAcceptConstKeyword</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
If true, accept `const' keyword.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setAggressiveVarCheck(com.google.javascript.jscomp.CheckLevel)">setAggressiveVarCheck</A></B>(<A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> level)</CODE>
|
|
|
|
<BR>
|
|
Checks for suspicious variable definitions and undefined variables</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setAliasableGlobals(java.lang.String)">setAliasableGlobals</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> names)</CODE>
|
|
|
|
<BR>
|
|
A comma separated white-list of global names.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setAliasableStrings(java.util.Set)">setAliasableStrings</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> aliasableStrings)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setAliasAllStrings(boolean)">setAliasAllStrings</A></B>(boolean aliasAllStrings)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setAliasExternals(boolean)">setAliasExternals</A></B>(boolean aliasExternals)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setAliasKeywords(boolean)">setAliasKeywords</A></B>(boolean aliasKeywords)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setAliasStringsBlacklist(java.lang.String)">setAliasStringsBlacklist</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> aliasStringsBlacklist)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setAliasTransformationHandler(com.google.javascript.jscomp.CompilerOptions.AliasTransformationHandler)">setAliasTransformationHandler</A></B>(<A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.AliasTransformationHandler.html" title="interface in com.google.javascript.jscomp">CompilerOptions.AliasTransformationHandler</A> changes)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setAmbiguateProperties(boolean)">setAmbiguateProperties</A></B>(boolean ambiguateProperties)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setAnonymousFunctionNaming(com.google.javascript.jscomp.AnonymousFunctionNamingPolicy)">setAnonymousFunctionNaming</A></B>(<A HREF="../../../../com/google/javascript/jscomp/AnonymousFunctionNamingPolicy.html" title="enum in com.google.javascript.jscomp">AnonymousFunctionNamingPolicy</A> anonymousFunctionNaming)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setAppNameStr(java.lang.String)">setAppNameStr</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> appNameStr)</CODE>
|
|
|
|
<BR>
|
|
App identifier string for use by the instrumentation template's
|
|
app_name_setter.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setAssumeClosuresOnlyCaptureReferences(boolean)">setAssumeClosuresOnlyCaptureReferences</A></B>(boolean enable)</CODE>
|
|
|
|
<BR>
|
|
Whether to assume closures capture only what they reference.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setAssumeStrictThis(boolean)">setAssumeStrictThis</A></B>(boolean enable)</CODE>
|
|
|
|
<BR>
|
|
If true, enables enables additional optimizations.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setBrokenClosureRequiresLevel(com.google.javascript.jscomp.CheckLevel)">setBrokenClosureRequiresLevel</A></B>(<A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> level)</CODE>
|
|
|
|
<BR>
|
|
Sets the check level for bad Closure require calls.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setChainCalls(boolean)">setChainCalls</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
If true, chain calls to functions that return this.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setCheckCaja(boolean)">setCheckCaja</A></B>(boolean check)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setCheckControlStructures(boolean)">setCheckControlStructures</A></B>(boolean checkControlStructures)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setCheckGlobalNamesLevel(com.google.javascript.jscomp.CheckLevel)">setCheckGlobalNamesLevel</A></B>(<A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> level)</CODE>
|
|
|
|
<BR>
|
|
Checks the integrity of references to qualified global names.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setCheckGlobalThisLevel(com.google.javascript.jscomp.CheckLevel)">setCheckGlobalThisLevel</A></B>(<A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> level)</CODE>
|
|
|
|
<BR>
|
|
Checks for certain uses of the <code>this</code> keyword that are considered
|
|
unsafe because they are likely to reference the global <code>this</code>
|
|
object unintentionally.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setCheckMissingGetCssNameBlacklist(java.lang.String)">setCheckMissingGetCssNameBlacklist</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> blackList)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setCheckMissingGetCssNameLevel(com.google.javascript.jscomp.CheckLevel)">setCheckMissingGetCssNameLevel</A></B>(<A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> level)</CODE>
|
|
|
|
<BR>
|
|
Checks that certain string literals only appear in strings used as
|
|
goog.getCssName arguments.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setCheckMissingReturn(com.google.javascript.jscomp.CheckLevel)">setCheckMissingReturn</A></B>(<A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> level)</CODE>
|
|
|
|
<BR>
|
|
Checks for missing return statements</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setCheckProvides(com.google.javascript.jscomp.CheckLevel)">setCheckProvides</A></B>(<A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> level)</CODE>
|
|
|
|
<BR>
|
|
Checks for missing goog.provides() calls</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setCheckRequires(com.google.javascript.jscomp.CheckLevel)">setCheckRequires</A></B>(<A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> level)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setCheckSuspiciousCode(boolean)">setCheckSuspiciousCode</A></B>(boolean checkSuspiciousCode)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setCheckSymbols(boolean)">setCheckSymbols</A></B>(boolean checkSymbols)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setCheckTypes(boolean)">setCheckTypes</A></B>(boolean checkTypes)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setCheckUnreachableCode(com.google.javascript.jscomp.CheckLevel)">setCheckUnreachableCode</A></B>(<A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> level)</CODE>
|
|
|
|
<BR>
|
|
Checks for unreachable code</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setClosurePass(boolean)">setClosurePass</A></B>(boolean closurePass)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setCoalesceVariableNames(boolean)">setCoalesceVariableNames</A></B>(boolean coalesceVariableNames)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setCodingConvention(com.google.javascript.jscomp.CodingConvention)">setCodingConvention</A></B>(<A HREF="../../../../com/google/javascript/jscomp/CodingConvention.html" title="interface in com.google.javascript.jscomp">CodingConvention</A> codingConvention)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setCollapseAnonymousFunctions(boolean)">setCollapseAnonymousFunctions</A></B>(boolean enabled)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setCollapseObjectLiterals(boolean)">setCollapseObjectLiterals</A></B>(boolean enabled)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setCollapseProperties(boolean)">setCollapseProperties</A></B>(boolean collapseProperties)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setCollapsePropertiesOnExternTypes(boolean)">setCollapsePropertiesOnExternTypes</A></B>(boolean collapse)</CODE>
|
|
|
|
<BR>
|
|
If true, flattens multi-level property names on extern types
|
|
(e.g.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setCollapseVariableDeclarations(boolean)">setCollapseVariableDeclarations</A></B>(boolean enabled)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setColorizeErrorOutput(boolean)">setColorizeErrorOutput</A></B>(boolean colorizeErrorOutput)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setCommonJSModulePathPrefix(java.lang.String)">setCommonJSModulePathPrefix</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> commonJSModulePathPrefix)</CODE>
|
|
|
|
<BR>
|
|
Sets a path prefix for Common JS modules.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setComputeFunctionSideEffects(boolean)">setComputeFunctionSideEffects</A></B>(boolean computeFunctionSideEffects)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setConvertToDottedProperties(boolean)">setConvertToDottedProperties</A></B>(boolean convertToDottedProperties)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setCrossModuleCodeMotion(boolean)">setCrossModuleCodeMotion</A></B>(boolean crossModuleCodeMotion)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setCrossModuleMethodMotion(boolean)">setCrossModuleMethodMotion</A></B>(boolean crossModuleMethodMotion)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setCssRenamingMap(com.google.javascript.jscomp.CssRenamingMap)">setCssRenamingMap</A></B>(<A HREF="../../../../com/google/javascript/jscomp/CssRenamingMap.html" title="interface in com.google.javascript.jscomp">CssRenamingMap</A> cssRenamingMap)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setCustomPasses(com.google.common.collect.Multimap)">setCustomPasses</A></B>(com.google.common.collect.Multimap<<A HREF="../../../../com/google/javascript/jscomp/CustomPassExecutionTime.html" title="enum in com.google.javascript.jscomp">CustomPassExecutionTime</A>,<A HREF="../../../../com/google/javascript/jscomp/CompilerPass.html" title="interface in com.google.javascript.jscomp">CompilerPass</A>> customPasses)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setDeadAssignmentElimination(boolean)">setDeadAssignmentElimination</A></B>(boolean deadAssignmentElimination)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setDebugFunctionSideEffectsPath(java.lang.String)">setDebugFunctionSideEffectsPath</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> debugFunctionSideEffectsPath)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setDefineReplacements(java.util.Map)">setDefineReplacements</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> defineReplacements)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setDefineToBooleanLiteral(java.lang.String, boolean)">setDefineToBooleanLiteral</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> defineName,
|
|
boolean value)</CODE>
|
|
|
|
<BR>
|
|
Sets the value of the <code>@define</code> variable in JS
|
|
to a boolean literal.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setDefineToDoubleLiteral(java.lang.String, double)">setDefineToDoubleLiteral</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> defineName,
|
|
double value)</CODE>
|
|
|
|
<BR>
|
|
Sets the value of the <code>@define</code> variable in JS to a
|
|
number literal.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setDefineToNumberLiteral(java.lang.String, int)">setDefineToNumberLiteral</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> defineName,
|
|
int value)</CODE>
|
|
|
|
<BR>
|
|
Sets the value of the <code>@define</code> variable in JS to a
|
|
number literal.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setDefineToStringLiteral(java.lang.String, java.lang.String)">setDefineToStringLiteral</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> defineName,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> value)</CODE>
|
|
|
|
<BR>
|
|
Sets the value of the <code>@define</code> variable in JS to a
|
|
String literal.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setDependencyOptions(com.google.javascript.jscomp.DependencyOptions)">setDependencyOptions</A></B>(<A HREF="../../../../com/google/javascript/jscomp/DependencyOptions.html" title="class in com.google.javascript.jscomp">DependencyOptions</A> options)</CODE>
|
|
|
|
<BR>
|
|
Sets dependency options.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setDevirtualizePrototypeMethods(boolean)">setDevirtualizePrototypeMethods</A></B>(boolean devirtualizePrototypeMethods)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setDevMode(com.google.javascript.jscomp.CompilerOptions.DevMode)">setDevMode</A></B>(com.google.javascript.jscomp.CompilerOptions.DevMode devMode)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setDisambiguateProperties(boolean)">setDisambiguateProperties</A></B>(boolean disambiguateProperties)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setErrorFormat(com.google.javascript.jscomp.ErrorFormat)">setErrorFormat</A></B>(<A HREF="../../../../com/google/javascript/jscomp/ErrorFormat.html" title="enum in com.google.javascript.jscomp">ErrorFormat</A> errorFormat)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setErrorHandler(com.google.javascript.jscomp.ErrorHandler)">setErrorHandler</A></B>(<A HREF="../../../../com/google/javascript/jscomp/ErrorHandler.html" title="interface in com.google.javascript.jscomp">ErrorHandler</A> handler)</CODE>
|
|
|
|
<BR>
|
|
Set a custom handler for warnings and errors.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setExportTestFunctions(boolean)">setExportTestFunctions</A></B>(boolean exportTestFunctions)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setExternExports(boolean)">setExternExports</A></B>(boolean externExports)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setExternExportsPath(java.lang.String)">setExternExportsPath</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> externExportsPath)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setExtraAnnotationNames(java.util.Set)">setExtraAnnotationNames</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> extraAnnotationNames)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setExtractPrototypeMemberDeclarations(boolean)">setExtractPrototypeMemberDeclarations</A></B>(boolean enabled)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setFlowSensitiveInlineVariables(boolean)">setFlowSensitiveInlineVariables</A></B>(boolean enabled)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setFoldConstants(boolean)">setFoldConstants</A></B>(boolean foldConstants)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setGatherCssNames(boolean)">setGatherCssNames</A></B>(boolean gatherCssNames)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setGenerateExports(boolean)">setGenerateExports</A></B>(boolean generateExports)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setGeneratePseudoNames(boolean)">setGeneratePseudoNames</A></B>(boolean generatePseudoNames)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setGroupVariableDeclarations(boolean)">setGroupVariableDeclarations</A></B>(boolean enabled)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setIdeMode(boolean)">setIdeMode</A></B>(boolean ideMode)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setIdGenerators(java.util.Set)">setIdGenerators</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> idGenerators)</CODE>
|
|
|
|
<BR>
|
|
Sets the id generators to replace.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setIgnoreCajaProperties(boolean)">setIgnoreCajaProperties</A></B>(boolean enabled)</CODE>
|
|
|
|
<BR>
|
|
Add code to skip properties that Caja adds to Object.prototype</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setInferTypes(boolean)">setInferTypes</A></B>(boolean enable)</CODE>
|
|
|
|
<BR>
|
|
If true, enables type inference.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setInlineConstantVars(boolean)">setInlineConstantVars</A></B>(boolean inlineConstantVars)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setInlineFunctions(boolean)">setInlineFunctions</A></B>(boolean inlineFunctions)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setInlineFunctions(com.google.javascript.jscomp.CompilerOptions.Reach)">setInlineFunctions</A></B>(<A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.Reach.html" title="enum in com.google.javascript.jscomp">CompilerOptions.Reach</A> reach)</CODE>
|
|
|
|
<BR>
|
|
Set the function inlining policy for the compiler.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setInlineGetters(boolean)">setInlineGetters</A></B>(boolean inlineGetters)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setInlineLocalFunctions(boolean)">setInlineLocalFunctions</A></B>(boolean inlineLocalFunctions)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setInlineLocalVariables(boolean)">setInlineLocalVariables</A></B>(boolean inlineLocalVariables)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setInlineVariables(boolean)">setInlineVariables</A></B>(boolean inlineVariables)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setInlineVariables(com.google.javascript.jscomp.CompilerOptions.Reach)">setInlineVariables</A></B>(<A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.Reach.html" title="enum in com.google.javascript.jscomp">CompilerOptions.Reach</A> reach)</CODE>
|
|
|
|
<BR>
|
|
Set the variable inlining policy for the compiler.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setInputDelimiter(java.lang.String)">setInputDelimiter</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> inputDelimiter)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setInputPropertyMapSerialized(byte[])">setInputPropertyMapSerialized</A></B>(byte[] inputPropertyMapSerialized)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setInputVariableMapSerialized(byte[])">setInputVariableMapSerialized</A></B>(byte[] inputVariableMapSerialized)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setInstrumentationTemplate(java.lang.String)">setInstrumentationTemplate</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> instrumentationTemplate)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setLabelRenaming(boolean)">setLabelRenaming</A></B>(boolean labelRenaming)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setLanguageIn(com.google.javascript.jscomp.CompilerOptions.LanguageMode)">setLanguageIn</A></B>(<A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.LanguageMode.html" title="enum in com.google.javascript.jscomp">CompilerOptions.LanguageMode</A> languageIn)</CODE>
|
|
|
|
<BR>
|
|
Sets how goog.tweak calls are processed.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setLanguageOut(com.google.javascript.jscomp.CompilerOptions.LanguageMode)">setLanguageOut</A></B>(<A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.LanguageMode.html" title="enum in com.google.javascript.jscomp">CompilerOptions.LanguageMode</A> languageOut)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setLineBreak(boolean)">setLineBreak</A></B>(boolean lineBreak)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setLineLengthThreshold(int)">setLineLengthThreshold</A></B>(int lineLengthThreshold)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setLocale(java.lang.String)">setLocale</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> locale)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setLooseTypes(boolean)">setLooseTypes</A></B>(boolean looseTypes)</CODE>
|
|
|
|
<BR>
|
|
Whether to include "undefined" in the default types.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setManageClosureDependencies(boolean)">setManageClosureDependencies</A></B>(boolean newVal)</CODE>
|
|
|
|
<BR>
|
|
Sort inputs by their goog.provide/goog.require calls, and prune inputs
|
|
whose symbols are not required.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setManageClosureDependencies(java.util.List)">setManageClosureDependencies</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> entryPoints)</CODE>
|
|
|
|
<BR>
|
|
Sort inputs by their goog.provide/goog.require calls.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setMarkAsCompiled(boolean)">setMarkAsCompiled</A></B>(boolean markAsCompiled)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setMarkNoSideEffectCalls(boolean)">setMarkNoSideEffectCalls</A></B>(boolean markNoSideEffectCalls)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setMessageBundle(com.google.javascript.jscomp.MessageBundle)">setMessageBundle</A></B>(<A HREF="../../../../com/google/javascript/jscomp/MessageBundle.html" title="interface in com.google.javascript.jscomp">MessageBundle</A> messageBundle)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setMoveFunctionDeclarations(boolean)">setMoveFunctionDeclarations</A></B>(boolean moveFunctionDeclarations)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setNameAnonymousFunctionsOnly(boolean)">setNameAnonymousFunctionsOnly</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
If true, name anonymous functions only.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setNameReferenceGraphPath(java.lang.String)">setNameReferenceGraphPath</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> filePath)</CODE>
|
|
|
|
<BR>
|
|
Where to save the name reference graph</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setNameReferenceReportPath(java.lang.String)">setNameReferenceReportPath</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> filePath)</CODE>
|
|
|
|
<BR>
|
|
Where to save a cross-reference report from the name reference graph</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setOptimizeArgumentsArray(boolean)">setOptimizeArgumentsArray</A></B>(boolean optimizeArgumentsArray)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setOptimizeCalls(boolean)">setOptimizeCalls</A></B>(boolean optimizeCalls)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setOptimizeParameters(boolean)">setOptimizeParameters</A></B>(boolean optimizeParameters)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setOptimizeReturns(boolean)">setOptimizeReturns</A></B>(boolean optimizeReturns)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setOutputCharset(java.lang.String)">setOutputCharset</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> charsetName)</CODE>
|
|
|
|
<BR>
|
|
Sets the output charset by name.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setOutputJsStringUsage(boolean)">setOutputJsStringUsage</A></B>(boolean outputJsStringUsage)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setPreferLineBreakAtEndOfFile(boolean)">setPreferLineBreakAtEndOfFile</A></B>(boolean lineBreakAtEnd)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setPrettyPrint(boolean)">setPrettyPrint</A></B>(boolean prettyPrint)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setPrintInputDelimiter(boolean)">setPrintInputDelimiter</A></B>(boolean printInputDelimiter)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setProcessCommonJSModules(boolean)">setProcessCommonJSModules</A></B>(boolean processCommonJSModules)</CODE>
|
|
|
|
<BR>
|
|
Rewrites CommonJS modulee so that modules can be concatenated together,
|
|
by renaming all globals to avoid conflicting with other modules.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setProcessObjectPropertyString(boolean)">setProcessObjectPropertyString</A></B>(boolean process)</CODE>
|
|
|
|
<BR>
|
|
If true, process goog.testing.ObjectPropertyString instances.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setPropertyAffinity(boolean)">setPropertyAffinity</A></B>(boolean useAffinity)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setPropertyInvalidationErrors(java.util.Map)">setPropertyInvalidationErrors</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A>> propertyInvalidationErrors)</CODE>
|
|
|
|
<BR>
|
|
Sets the list of properties that we report property invalidation errors
|
|
for.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setPropertyRenaming(com.google.javascript.jscomp.PropertyRenamingPolicy)">setPropertyRenaming</A></B>(<A HREF="../../../../com/google/javascript/jscomp/PropertyRenamingPolicy.html" title="enum in com.google.javascript.jscomp">PropertyRenamingPolicy</A> propertyRenaming)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setProtectHiddenSideEffects(boolean)">setProtectHiddenSideEffects</A></B>(boolean enable)</CODE>
|
|
|
|
<BR>
|
|
When enabled, assume that apparently side-effect free code is meaningful.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setRecordFunctionInformation(boolean)">setRecordFunctionInformation</A></B>(boolean recordFunctionInformation)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setRemoveAbstractMethods(boolean)">setRemoveAbstractMethods</A></B>(boolean remove)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setRemoveClosureAsserts(boolean)">setRemoveClosureAsserts</A></B>(boolean remove)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setRemoveDeadCode(boolean)">setRemoveDeadCode</A></B>(boolean removeDeadCode)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setRemoveTryCatchFinally(boolean)">setRemoveTryCatchFinally</A></B>(boolean removeTryCatchFinally)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setRemoveUnusedLocalVars(boolean)">setRemoveUnusedLocalVars</A></B>(boolean removeUnusedLocalVars)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setRemoveUnusedPrototypeProperties(boolean)">setRemoveUnusedPrototypeProperties</A></B>(boolean enabled)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setRemoveUnusedPrototypePropertiesInExterns(boolean)">setRemoveUnusedPrototypePropertiesInExterns</A></B>(boolean enabled)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setRemoveUnusedVariable(com.google.javascript.jscomp.CompilerOptions.Reach)">setRemoveUnusedVariable</A></B>(<A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.Reach.html" title="enum in com.google.javascript.jscomp">CompilerOptions.Reach</A> reach)</CODE>
|
|
|
|
<BR>
|
|
<B>Deprecated.</B> </TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setRemoveUnusedVariables(com.google.javascript.jscomp.CompilerOptions.Reach)">setRemoveUnusedVariables</A></B>(<A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.Reach.html" title="enum in com.google.javascript.jscomp">CompilerOptions.Reach</A> reach)</CODE>
|
|
|
|
<BR>
|
|
Set the variable removal policy for the compiler.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setRemoveUnusedVars(boolean)">setRemoveUnusedVars</A></B>(boolean removeUnusedVars)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setRenamePrefix(java.lang.String)">setRenamePrefix</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> renamePrefix)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setRenamePrefixNamespace(java.lang.String)">setRenamePrefixNamespace</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> renamePrefixNamespace)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setRenamingPolicy(com.google.javascript.jscomp.VariableRenamingPolicy, com.google.javascript.jscomp.PropertyRenamingPolicy)">setRenamingPolicy</A></B>(<A HREF="../../../../com/google/javascript/jscomp/VariableRenamingPolicy.html" title="enum in com.google.javascript.jscomp">VariableRenamingPolicy</A> newVariablePolicy,
|
|
<A HREF="../../../../com/google/javascript/jscomp/PropertyRenamingPolicy.html" title="enum in com.google.javascript.jscomp">PropertyRenamingPolicy</A> newPropertyPolicy)</CODE>
|
|
|
|
<BR>
|
|
Sets the variable and property renaming policies for the compiler,
|
|
in a way that clears warnings about the renaming policy being
|
|
uninitialized from flags.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setReplaceIdGenerators(boolean)">setReplaceIdGenerators</A></B>(boolean replaceIdGenerators)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setReplaceStringsConfiguration(java.lang.String, java.util.List)">setReplaceStringsConfiguration</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> placeholderToken,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> functionDescriptors)</CODE>
|
|
|
|
<BR>
|
|
Sets the functions whose debug strings to replace.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setReplaceStringsFunctionDescriptions(java.util.List)">setReplaceStringsFunctionDescriptions</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> replaceStringsFunctionDescriptions)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setReplaceStringsPlaceholderToken(java.lang.String)">setReplaceStringsPlaceholderToken</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> replaceStringsPlaceholderToken)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setReplaceStringsReservedStrings(java.util.Set)">setReplaceStringsReservedStrings</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> replaceStringsReservedStrings)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setReportMissingOverride(com.google.javascript.jscomp.CheckLevel)">setReportMissingOverride</A></B>(<A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> level)</CODE>
|
|
|
|
<BR>
|
|
Flags a warning if a property is missing the @override annotation, but it
|
|
overrides a base class property.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setReportPath(java.lang.String)">setReportPath</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> reportPath)</CODE>
|
|
|
|
<BR>
|
|
Where to save a report of global name usage</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setReportUnknownTypes(com.google.javascript.jscomp.CheckLevel)">setReportUnknownTypes</A></B>(<A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> level)</CODE>
|
|
|
|
<BR>
|
|
Flags a warning for every node whose type could not be determined.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setReserveRawExports(boolean)">setReserveRawExports</A></B>(boolean reserveRawExports)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setRewriteFunctionExpressions(boolean)">setRewriteFunctionExpressions</A></B>(boolean rewriteFunctionExpressions)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setRewriteNewDateGoogNow(boolean)">setRewriteNewDateGoogNow</A></B>(boolean rewrite)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setRuntimeTypeCheck(boolean)">setRuntimeTypeCheck</A></B>(boolean runtimeTypeCheck)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setRuntimeTypeCheckLogFunction(java.lang.String)">setRuntimeTypeCheckLogFunction</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> runtimeTypeCheckLogFunction)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setShadowVariables(boolean)">setShadowVariables</A></B>(boolean shadow)</CODE>
|
|
|
|
<BR>
|
|
Should shadow outer scope variable name during renaming.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setSkipAllPasses(boolean)">setSkipAllPasses</A></B>(boolean skipAllPasses)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setSmartNameRemoval(boolean)">setSmartNameRemoval</A></B>(boolean smartNameRemoval)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setSourceMapDetailLevel(com.google.javascript.jscomp.SourceMap.DetailLevel)">setSourceMapDetailLevel</A></B>(<A HREF="../../../../com/google/javascript/jscomp/SourceMap.DetailLevel.html" title="enum in com.google.javascript.jscomp">SourceMap.DetailLevel</A> sourceMapDetailLevel)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setSourceMapFormat(com.google.javascript.jscomp.SourceMap.Format)">setSourceMapFormat</A></B>(<A HREF="../../../../com/google/javascript/jscomp/SourceMap.Format.html" title="enum in com.google.javascript.jscomp">SourceMap.Format</A> sourceMapFormat)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setSourceMapLocationMappings(java.util.List)">setSourceMapLocationMappings</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../com/google/javascript/jscomp/SourceMap.LocationMapping.html" title="class in com.google.javascript.jscomp">SourceMap.LocationMapping</A>> sourceMapLocationMappings)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setSourceMapOutputPath(java.lang.String)">setSourceMapOutputPath</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sourceMapOutputPath)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setSpecializeInitialModule(boolean)">setSpecializeInitialModule</A></B>(boolean enabled)</CODE>
|
|
|
|
<BR>
|
|
Specialize the initial module at the cost of later modules</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setStripNamePrefixes(java.util.Set)">setStripNamePrefixes</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> stripNamePrefixes)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setStripNameSuffixes(java.util.Set)">setStripNameSuffixes</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> stripNameSuffixes)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setStripTypePrefixes(java.util.Set)">setStripTypePrefixes</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> stripTypePrefixes)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setStripTypes(java.util.Set)">setStripTypes</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> stripTypes)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setSummaryDetailLevel(int)">setSummaryDetailLevel</A></B>(int summaryDetailLevel)</CODE>
|
|
|
|
<BR>
|
|
Controls how detailed the compilation summary is.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setSyntheticBlockEndMarker(java.lang.String)">setSyntheticBlockEndMarker</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> syntheticBlockEndMarker)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setSyntheticBlockStartMarker(java.lang.String)">setSyntheticBlockStartMarker</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> syntheticBlockStartMarker)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setTightenTypes(boolean)">setTightenTypes</A></B>(boolean tighten)</CODE>
|
|
|
|
<BR>
|
|
Tightens types based on a global analysis.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setTracer(com.google.javascript.jscomp.CompilerOptions.TracerMode)">setTracer</A></B>(<A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.TracerMode.html" title="enum in com.google.javascript.jscomp">CompilerOptions.TracerMode</A> tracer)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setTracerMode(com.google.javascript.jscomp.CompilerOptions.TracerMode)">setTracerMode</A></B>(<A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.TracerMode.html" title="enum in com.google.javascript.jscomp">CompilerOptions.TracerMode</A> mode)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setTransformAMDToCJSModules(boolean)">setTransformAMDToCJSModules</A></B>(boolean transformAMDToCJSModules)</CODE>
|
|
|
|
<BR>
|
|
Activates transformation of AMD to CJS modules.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setTweakProcessing(com.google.javascript.jscomp.CompilerOptions.TweakProcessing)">setTweakProcessing</A></B>(<A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.TweakProcessing.html" title="enum in com.google.javascript.jscomp">CompilerOptions.TweakProcessing</A> tweakProcessing)</CODE>
|
|
|
|
<BR>
|
|
Sets how goog.tweak calls are processed.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setTweakReplacements(java.util.Map)">setTweakReplacements</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> tweakReplacements)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setTweakToBooleanLiteral(java.lang.String, boolean)">setTweakToBooleanLiteral</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> tweakId,
|
|
boolean value)</CODE>
|
|
|
|
<BR>
|
|
Sets the value of the tweak in JS
|
|
to a boolean literal.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setTweakToDoubleLiteral(java.lang.String, double)">setTweakToDoubleLiteral</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> tweakId,
|
|
double value)</CODE>
|
|
|
|
<BR>
|
|
Sets the value of the tweak in JS to a
|
|
number literal.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setTweakToNumberLiteral(java.lang.String, int)">setTweakToNumberLiteral</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> tweakId,
|
|
int value)</CODE>
|
|
|
|
<BR>
|
|
Sets the value of the tweak in JS to a
|
|
number literal.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setTweakToStringLiteral(java.lang.String, java.lang.String)">setTweakToStringLiteral</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> tweakId,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> value)</CODE>
|
|
|
|
<BR>
|
|
Sets the value of the tweak in JS to a
|
|
String literal.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setUnaliasableGlobals(java.lang.String)">setUnaliasableGlobals</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> names)</CODE>
|
|
|
|
<BR>
|
|
A comma separated white-list of global names.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setVariableRenaming(com.google.javascript.jscomp.VariableRenamingPolicy)">setVariableRenaming</A></B>(<A HREF="../../../../com/google/javascript/jscomp/VariableRenamingPolicy.html" title="enum in com.google.javascript.jscomp">VariableRenamingPolicy</A> variableRenaming)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setWarningLevel(com.google.javascript.jscomp.DiagnosticGroup, com.google.javascript.jscomp.CheckLevel)">setWarningLevel</A></B>(<A HREF="../../../../com/google/javascript/jscomp/DiagnosticGroup.html" title="class in com.google.javascript.jscomp">DiagnosticGroup</A> type,
|
|
<A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> level)</CODE>
|
|
|
|
<BR>
|
|
Configure the given type of warning to the given level.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setWarningsGuard(com.google.javascript.jscomp.ComposeWarningsGuard)">setWarningsGuard</A></B>(<A HREF="../../../../com/google/javascript/jscomp/ComposeWarningsGuard.html" title="class in com.google.javascript.jscomp">ComposeWarningsGuard</A> warningsGuard)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#shouldColorizeErrorOutput()">shouldColorizeErrorOutput</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#skipAllCompilerPasses()">skipAllCompilerPasses</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Skip all possible passes, to make the compiler as fast as possible.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<!-- ============ FIELD DETAIL =========== -->
|
|
|
|
<A NAME="field_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Field Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="ideMode"><!-- --></A><H3>
|
|
ideMode</H3>
|
|
<PRE>
|
|
public boolean <B>ideMode</B></PRE>
|
|
<DL>
|
|
<DD>Configures the compiler for use as an IDE backend. In this mode:
|
|
<ul>
|
|
<li>No optimization passes will run.</li>
|
|
<li>The last time custom passes are invoked is
|
|
<A HREF="../../../../com/google/javascript/jscomp/CustomPassExecutionTime.html#BEFORE_OPTIMIZATIONS"><CODE>CustomPassExecutionTime.BEFORE_OPTIMIZATIONS</CODE></A></li>
|
|
<li>The compiler will always try to process all inputs fully, even
|
|
if it encounters errors.</li>
|
|
<li>The compiler may record more information than is strictly
|
|
needed for codegen.</li>
|
|
</ul>
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="messageBundle"><!-- --></A><H3>
|
|
messageBundle</H3>
|
|
<PRE>
|
|
public transient <A HREF="../../../../com/google/javascript/jscomp/MessageBundle.html" title="interface in com.google.javascript.jscomp">MessageBundle</A> <B>messageBundle</B></PRE>
|
|
<DL>
|
|
<DD>Returns localized replacement for MSG_* variables
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="checkSymbols"><!-- --></A><H3>
|
|
checkSymbols</H3>
|
|
<PRE>
|
|
public boolean <B>checkSymbols</B></PRE>
|
|
<DL>
|
|
<DD>Checks that all symbols are defined
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="aggressiveVarCheck"><!-- --></A><H3>
|
|
aggressiveVarCheck</H3>
|
|
<PRE>
|
|
public <A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> <B>aggressiveVarCheck</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="checkSuspiciousCode"><!-- --></A><H3>
|
|
checkSuspiciousCode</H3>
|
|
<PRE>
|
|
public boolean <B>checkSuspiciousCode</B></PRE>
|
|
<DL>
|
|
<DD>Checks for suspicious statements that have no effect
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="checkControlStructures"><!-- --></A><H3>
|
|
checkControlStructures</H3>
|
|
<PRE>
|
|
public boolean <B>checkControlStructures</B></PRE>
|
|
<DL>
|
|
<DD>Checks for invalid control structures
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="checkTypes"><!-- --></A><H3>
|
|
checkTypes</H3>
|
|
<PRE>
|
|
public boolean <B>checkTypes</B></PRE>
|
|
<DL>
|
|
<DD>Checks types on expressions
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="reportMissingOverride"><!-- --></A><H3>
|
|
reportMissingOverride</H3>
|
|
<PRE>
|
|
public <A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> <B>reportMissingOverride</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="checkRequires"><!-- --></A><H3>
|
|
checkRequires</H3>
|
|
<PRE>
|
|
public <A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> <B>checkRequires</B></PRE>
|
|
<DL>
|
|
<DD>Checks for missing goog.require() calls
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="checkProvides"><!-- --></A><H3>
|
|
checkProvides</H3>
|
|
<PRE>
|
|
public <A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> <B>checkProvides</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="checkGlobalNamesLevel"><!-- --></A><H3>
|
|
checkGlobalNamesLevel</H3>
|
|
<PRE>
|
|
public <A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> <B>checkGlobalNamesLevel</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="brokenClosureRequiresLevel"><!-- --></A><H3>
|
|
brokenClosureRequiresLevel</H3>
|
|
<PRE>
|
|
public <A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> <B>brokenClosureRequiresLevel</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="checkGlobalThisLevel"><!-- --></A><H3>
|
|
checkGlobalThisLevel</H3>
|
|
<PRE>
|
|
public <A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> <B>checkGlobalThisLevel</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="checkMissingGetCssNameLevel"><!-- --></A><H3>
|
|
checkMissingGetCssNameLevel</H3>
|
|
<PRE>
|
|
public <A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> <B>checkMissingGetCssNameLevel</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="checkMissingGetCssNameBlacklist"><!-- --></A><H3>
|
|
checkMissingGetCssNameBlacklist</H3>
|
|
<PRE>
|
|
public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>checkMissingGetCssNameBlacklist</B></PRE>
|
|
<DL>
|
|
<DD>Regex of string literals that may only appear in goog.getCssName arguments.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="foldConstants"><!-- --></A><H3>
|
|
foldConstants</H3>
|
|
<PRE>
|
|
public boolean <B>foldConstants</B></PRE>
|
|
<DL>
|
|
<DD>Folds constants (e.g. (2 + 3) to 5)
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="deadAssignmentElimination"><!-- --></A><H3>
|
|
deadAssignmentElimination</H3>
|
|
<PRE>
|
|
public boolean <B>deadAssignmentElimination</B></PRE>
|
|
<DL>
|
|
<DD>Remove assignments to values that can not be referenced
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="inlineConstantVars"><!-- --></A><H3>
|
|
inlineConstantVars</H3>
|
|
<PRE>
|
|
public boolean <B>inlineConstantVars</B></PRE>
|
|
<DL>
|
|
<DD>Inlines constants (symbols that are all CAPS)
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="inlineFunctions"><!-- --></A><H3>
|
|
inlineFunctions</H3>
|
|
<PRE>
|
|
public boolean <B>inlineFunctions</B></PRE>
|
|
<DL>
|
|
<DD>Inlines short functions
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="inlineLocalFunctions"><!-- --></A><H3>
|
|
inlineLocalFunctions</H3>
|
|
<PRE>
|
|
public boolean <B>inlineLocalFunctions</B></PRE>
|
|
<DL>
|
|
<DD>Enhanced function inlining
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="crossModuleCodeMotion"><!-- --></A><H3>
|
|
crossModuleCodeMotion</H3>
|
|
<PRE>
|
|
public boolean <B>crossModuleCodeMotion</B></PRE>
|
|
<DL>
|
|
<DD>Move code to a deeper module
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="coalesceVariableNames"><!-- --></A><H3>
|
|
coalesceVariableNames</H3>
|
|
<PRE>
|
|
public boolean <B>coalesceVariableNames</B></PRE>
|
|
<DL>
|
|
<DD>Merge two variables together as one.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="crossModuleMethodMotion"><!-- --></A><H3>
|
|
crossModuleMethodMotion</H3>
|
|
<PRE>
|
|
public boolean <B>crossModuleMethodMotion</B></PRE>
|
|
<DL>
|
|
<DD>Move methds to a deeper module
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="inlineGetters"><!-- --></A><H3>
|
|
inlineGetters</H3>
|
|
<PRE>
|
|
public boolean <B>inlineGetters</B></PRE>
|
|
<DL>
|
|
<DD>Inlines trivial getters
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="inlineVariables"><!-- --></A><H3>
|
|
inlineVariables</H3>
|
|
<PRE>
|
|
public boolean <B>inlineVariables</B></PRE>
|
|
<DL>
|
|
<DD>Inlines variables
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="flowSensitiveInlineVariables"><!-- --></A><H3>
|
|
flowSensitiveInlineVariables</H3>
|
|
<PRE>
|
|
public boolean <B>flowSensitiveInlineVariables</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="smartNameRemoval"><!-- --></A><H3>
|
|
smartNameRemoval</H3>
|
|
<PRE>
|
|
public boolean <B>smartNameRemoval</B></PRE>
|
|
<DL>
|
|
<DD>Removes code associated with unused global names
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="removeDeadCode"><!-- --></A><H3>
|
|
removeDeadCode</H3>
|
|
<PRE>
|
|
public boolean <B>removeDeadCode</B></PRE>
|
|
<DL>
|
|
<DD>Removes code that will never execute
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="checkUnreachableCode"><!-- --></A><H3>
|
|
checkUnreachableCode</H3>
|
|
<PRE>
|
|
public <A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> <B>checkUnreachableCode</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="checkMissingReturn"><!-- --></A><H3>
|
|
checkMissingReturn</H3>
|
|
<PRE>
|
|
public <A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> <B>checkMissingReturn</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="extractPrototypeMemberDeclarations"><!-- --></A><H3>
|
|
extractPrototypeMemberDeclarations</H3>
|
|
<PRE>
|
|
public boolean <B>extractPrototypeMemberDeclarations</B></PRE>
|
|
<DL>
|
|
<DD>Extracts common prototype member declarations
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="removeUnusedPrototypeProperties"><!-- --></A><H3>
|
|
removeUnusedPrototypeProperties</H3>
|
|
<PRE>
|
|
public boolean <B>removeUnusedPrototypeProperties</B></PRE>
|
|
<DL>
|
|
<DD>Removes unused member prototypes
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="removeUnusedPrototypePropertiesInExterns"><!-- --></A><H3>
|
|
removeUnusedPrototypePropertiesInExterns</H3>
|
|
<PRE>
|
|
public boolean <B>removeUnusedPrototypePropertiesInExterns</B></PRE>
|
|
<DL>
|
|
<DD>Tells AnalyzePrototypeProperties it can remove externed props.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="removeUnusedVars"><!-- --></A><H3>
|
|
removeUnusedVars</H3>
|
|
<PRE>
|
|
public boolean <B>removeUnusedVars</B></PRE>
|
|
<DL>
|
|
<DD>Removes unused variables
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="removeUnusedLocalVars"><!-- --></A><H3>
|
|
removeUnusedLocalVars</H3>
|
|
<PRE>
|
|
public boolean <B>removeUnusedLocalVars</B></PRE>
|
|
<DL>
|
|
<DD>Removes unused variables in local scope.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="aliasExternals"><!-- --></A><H3>
|
|
aliasExternals</H3>
|
|
<PRE>
|
|
public boolean <B>aliasExternals</B></PRE>
|
|
<DL>
|
|
<DD>Adds variable aliases for externals to reduce code size
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="collapseVariableDeclarations"><!-- --></A><H3>
|
|
collapseVariableDeclarations</H3>
|
|
<PRE>
|
|
public boolean <B>collapseVariableDeclarations</B></PRE>
|
|
<DL>
|
|
<DD>Collapses multiple variable declarations into one
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="collapseAnonymousFunctions"><!-- --></A><H3>
|
|
collapseAnonymousFunctions</H3>
|
|
<PRE>
|
|
public boolean <B>collapseAnonymousFunctions</B></PRE>
|
|
<DL>
|
|
<DD>Collapses anonymous function declarations into named function
|
|
declarations
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="aliasableStrings"><!-- --></A><H3>
|
|
aliasableStrings</H3>
|
|
<PRE>
|
|
public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> <B>aliasableStrings</B></PRE>
|
|
<DL>
|
|
<DD>If set to a non-empty set, those strings literals will be aliased to a
|
|
single global instance per string, to avoid creating more objects than
|
|
necessary.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="aliasStringsBlacklist"><!-- --></A><H3>
|
|
aliasStringsBlacklist</H3>
|
|
<PRE>
|
|
public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>aliasStringsBlacklist</B></PRE>
|
|
<DL>
|
|
<DD>A blacklist in the form of a regular expression to block strings that
|
|
contains certain words from being aliased.
|
|
If the value is the empty string, no words are blacklisted.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="aliasAllStrings"><!-- --></A><H3>
|
|
aliasAllStrings</H3>
|
|
<PRE>
|
|
public boolean <B>aliasAllStrings</B></PRE>
|
|
<DL>
|
|
<DD>Aliases all string literals to global instances, to avoid creating more
|
|
objects than necessary (if true, overrides any set of strings passed in
|
|
to aliasableStrings)
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="convertToDottedProperties"><!-- --></A><H3>
|
|
convertToDottedProperties</H3>
|
|
<PRE>
|
|
public boolean <B>convertToDottedProperties</B></PRE>
|
|
<DL>
|
|
<DD>Converts quoted property accesses to dot syntax (a['b'] -> a.b)
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="rewriteFunctionExpressions"><!-- --></A><H3>
|
|
rewriteFunctionExpressions</H3>
|
|
<PRE>
|
|
public boolean <B>rewriteFunctionExpressions</B></PRE>
|
|
<DL>
|
|
<DD>Reduces the size of common function expressions.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="optimizeParameters"><!-- --></A><H3>
|
|
optimizeParameters</H3>
|
|
<PRE>
|
|
public boolean <B>optimizeParameters</B></PRE>
|
|
<DL>
|
|
<DD>Remove unused and constant parameters.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="optimizeReturns"><!-- --></A><H3>
|
|
optimizeReturns</H3>
|
|
<PRE>
|
|
public boolean <B>optimizeReturns</B></PRE>
|
|
<DL>
|
|
<DD>Remove unused return values.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="optimizeCalls"><!-- --></A><H3>
|
|
optimizeCalls</H3>
|
|
<PRE>
|
|
public boolean <B>optimizeCalls</B></PRE>
|
|
<DL>
|
|
<DD>Remove unused parameters from call sites.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="optimizeArgumentsArray"><!-- --></A><H3>
|
|
optimizeArgumentsArray</H3>
|
|
<PRE>
|
|
public boolean <B>optimizeArgumentsArray</B></PRE>
|
|
<DL>
|
|
<DD>Provide formal names for elements of arguments array.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="variableRenaming"><!-- --></A><H3>
|
|
variableRenaming</H3>
|
|
<PRE>
|
|
public <A HREF="../../../../com/google/javascript/jscomp/VariableRenamingPolicy.html" title="enum in com.google.javascript.jscomp">VariableRenamingPolicy</A> <B>variableRenaming</B></PRE>
|
|
<DL>
|
|
<DD>Controls which variables get renamed.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="propertyRenaming"><!-- --></A><H3>
|
|
propertyRenaming</H3>
|
|
<PRE>
|
|
public <A HREF="../../../../com/google/javascript/jscomp/PropertyRenamingPolicy.html" title="enum in com.google.javascript.jscomp">PropertyRenamingPolicy</A> <B>propertyRenaming</B></PRE>
|
|
<DL>
|
|
<DD>Controls which properties get renamed.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="labelRenaming"><!-- --></A><H3>
|
|
labelRenaming</H3>
|
|
<PRE>
|
|
public boolean <B>labelRenaming</B></PRE>
|
|
<DL>
|
|
<DD>Controls label renaming.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="reserveRawExports"><!-- --></A><H3>
|
|
reserveRawExports</H3>
|
|
<PRE>
|
|
public boolean <B>reserveRawExports</B></PRE>
|
|
<DL>
|
|
<DD>Reserve property names on the global this object.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="generatePseudoNames"><!-- --></A><H3>
|
|
generatePseudoNames</H3>
|
|
<PRE>
|
|
public boolean <B>generatePseudoNames</B></PRE>
|
|
<DL>
|
|
<DD>Generate pseudo names for variables and properties for debugging purposes.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="renamePrefix"><!-- --></A><H3>
|
|
renamePrefix</H3>
|
|
<PRE>
|
|
public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>renamePrefix</B></PRE>
|
|
<DL>
|
|
<DD>Specifies a prefix for all globals
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="renamePrefixNamespace"><!-- --></A><H3>
|
|
renamePrefixNamespace</H3>
|
|
<PRE>
|
|
public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>renamePrefixNamespace</B></PRE>
|
|
<DL>
|
|
<DD>Specifies the name of an object that will be used to store all non-extern
|
|
globals.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="aliasKeywords"><!-- --></A><H3>
|
|
aliasKeywords</H3>
|
|
<PRE>
|
|
public boolean <B>aliasKeywords</B></PRE>
|
|
<DL>
|
|
<DD>Aliases true, false, and null to variables with shorter names.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="collapseProperties"><!-- --></A><H3>
|
|
collapseProperties</H3>
|
|
<PRE>
|
|
public boolean <B>collapseProperties</B></PRE>
|
|
<DL>
|
|
<DD>Flattens multi-level property names (e.g. a$b = x)
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="devirtualizePrototypeMethods"><!-- --></A><H3>
|
|
devirtualizePrototypeMethods</H3>
|
|
<PRE>
|
|
public boolean <B>devirtualizePrototypeMethods</B></PRE>
|
|
<DL>
|
|
<DD>Devirtualize prototype method by rewriting them to be static calls that
|
|
take the this pointer as their first argument
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="computeFunctionSideEffects"><!-- --></A><H3>
|
|
computeFunctionSideEffects</H3>
|
|
<PRE>
|
|
public boolean <B>computeFunctionSideEffects</B></PRE>
|
|
<DL>
|
|
<DD>Use @nosideeffects annotations, function bodies and name graph
|
|
to determine if calls have side effects. Requires --check_types.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="disambiguateProperties"><!-- --></A><H3>
|
|
disambiguateProperties</H3>
|
|
<PRE>
|
|
public boolean <B>disambiguateProperties</B></PRE>
|
|
<DL>
|
|
<DD>Rename properties to disambiguate between unrelated fields based on
|
|
type information.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="ambiguateProperties"><!-- --></A><H3>
|
|
ambiguateProperties</H3>
|
|
<PRE>
|
|
public boolean <B>ambiguateProperties</B></PRE>
|
|
<DL>
|
|
<DD>Rename unrelated properties to the same name to reduce code size.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="anonymousFunctionNaming"><!-- --></A><H3>
|
|
anonymousFunctionNaming</H3>
|
|
<PRE>
|
|
public <A HREF="../../../../com/google/javascript/jscomp/AnonymousFunctionNamingPolicy.html" title="enum in com.google.javascript.jscomp">AnonymousFunctionNamingPolicy</A> <B>anonymousFunctionNaming</B></PRE>
|
|
<DL>
|
|
<DD>Give anonymous functions names for easier debugging
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="inputVariableMapSerialized"><!-- --></A><H3>
|
|
inputVariableMapSerialized</H3>
|
|
<PRE>
|
|
public byte[] <B>inputVariableMapSerialized</B></PRE>
|
|
<DL>
|
|
<DD>Serialized input variable renaming map.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="inputPropertyMapSerialized"><!-- --></A><H3>
|
|
inputPropertyMapSerialized</H3>
|
|
<PRE>
|
|
public byte[] <B>inputPropertyMapSerialized</B></PRE>
|
|
<DL>
|
|
<DD>Serialized input property renaming map.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="exportTestFunctions"><!-- --></A><H3>
|
|
exportTestFunctions</H3>
|
|
<PRE>
|
|
public boolean <B>exportTestFunctions</B></PRE>
|
|
<DL>
|
|
<DD>Whether to export test functions.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="syntheticBlockStartMarker"><!-- --></A><H3>
|
|
syntheticBlockStartMarker</H3>
|
|
<PRE>
|
|
public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>syntheticBlockStartMarker</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="syntheticBlockEndMarker"><!-- --></A><H3>
|
|
syntheticBlockEndMarker</H3>
|
|
<PRE>
|
|
public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>syntheticBlockEndMarker</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="locale"><!-- --></A><H3>
|
|
locale</H3>
|
|
<PRE>
|
|
public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>locale</B></PRE>
|
|
<DL>
|
|
<DD>Compiling locale
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="markAsCompiled"><!-- --></A><H3>
|
|
markAsCompiled</H3>
|
|
<PRE>
|
|
public boolean <B>markAsCompiled</B></PRE>
|
|
<DL>
|
|
<DD>Sets the special "COMPILED" value to true
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="removeTryCatchFinally"><!-- --></A><H3>
|
|
removeTryCatchFinally</H3>
|
|
<PRE>
|
|
public boolean <B>removeTryCatchFinally</B></PRE>
|
|
<DL>
|
|
<DD>Removes try...catch...finally blocks for easier debugging
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="closurePass"><!-- --></A><H3>
|
|
closurePass</H3>
|
|
<PRE>
|
|
public boolean <B>closurePass</B></PRE>
|
|
<DL>
|
|
<DD>Processes goog.provide() and goog.require() calls
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="jqueryPass"><!-- --></A><H3>
|
|
jqueryPass</H3>
|
|
<PRE>
|
|
public boolean <B>jqueryPass</B></PRE>
|
|
<DL>
|
|
<DD>Processes jQuery aliases
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="gatherCssNames"><!-- --></A><H3>
|
|
gatherCssNames</H3>
|
|
<PRE>
|
|
public boolean <B>gatherCssNames</B></PRE>
|
|
<DL>
|
|
<DD>Gather CSS names (requires closurePass)
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="stripTypes"><!-- --></A><H3>
|
|
stripTypes</H3>
|
|
<PRE>
|
|
public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> <B>stripTypes</B></PRE>
|
|
<DL>
|
|
<DD>Names of types to strip
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="stripNameSuffixes"><!-- --></A><H3>
|
|
stripNameSuffixes</H3>
|
|
<PRE>
|
|
public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> <B>stripNameSuffixes</B></PRE>
|
|
<DL>
|
|
<DD>Name suffixes that determine which variables and properties to strip
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="stripNamePrefixes"><!-- --></A><H3>
|
|
stripNamePrefixes</H3>
|
|
<PRE>
|
|
public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> <B>stripNamePrefixes</B></PRE>
|
|
<DL>
|
|
<DD>Name prefixes that determine which variables and properties to strip
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="stripTypePrefixes"><!-- --></A><H3>
|
|
stripTypePrefixes</H3>
|
|
<PRE>
|
|
public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> <B>stripTypePrefixes</B></PRE>
|
|
<DL>
|
|
<DD>Qualified type name prefixes that determine which types to strip
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="customPasses"><!-- --></A><H3>
|
|
customPasses</H3>
|
|
<PRE>
|
|
public transient com.google.common.collect.Multimap<<A HREF="../../../../com/google/javascript/jscomp/CustomPassExecutionTime.html" title="enum in com.google.javascript.jscomp">CustomPassExecutionTime</A>,<A HREF="../../../../com/google/javascript/jscomp/CompilerPass.html" title="interface in com.google.javascript.jscomp">CompilerPass</A>> <B>customPasses</B></PRE>
|
|
<DL>
|
|
<DD>Custom passes
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="markNoSideEffectCalls"><!-- --></A><H3>
|
|
markNoSideEffectCalls</H3>
|
|
<PRE>
|
|
public boolean <B>markNoSideEffectCalls</B></PRE>
|
|
<DL>
|
|
<DD>Mark no side effect calls
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="moveFunctionDeclarations"><!-- --></A><H3>
|
|
moveFunctionDeclarations</H3>
|
|
<PRE>
|
|
public boolean <B>moveFunctionDeclarations</B></PRE>
|
|
<DL>
|
|
<DD>Move top level function declarations to the top
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="instrumentationTemplate"><!-- --></A><H3>
|
|
instrumentationTemplate</H3>
|
|
<PRE>
|
|
public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>instrumentationTemplate</B></PRE>
|
|
<DL>
|
|
<DD>Instrumentation template to use with #recordFunctionInformation
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="recordFunctionInformation"><!-- --></A><H3>
|
|
recordFunctionInformation</H3>
|
|
<PRE>
|
|
public boolean <B>recordFunctionInformation</B></PRE>
|
|
<DL>
|
|
<DD>Record function information
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="generateExports"><!-- --></A><H3>
|
|
generateExports</H3>
|
|
<PRE>
|
|
public boolean <B>generateExports</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cssRenamingMap"><!-- --></A><H3>
|
|
cssRenamingMap</H3>
|
|
<PRE>
|
|
public <A HREF="../../../../com/google/javascript/jscomp/CssRenamingMap.html" title="interface in com.google.javascript.jscomp">CssRenamingMap</A> <B>cssRenamingMap</B></PRE>
|
|
<DL>
|
|
<DD>Map used in the renaming of CSS class names.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="prettyPrint"><!-- --></A><H3>
|
|
prettyPrint</H3>
|
|
<PRE>
|
|
public boolean <B>prettyPrint</B></PRE>
|
|
<DL>
|
|
<DD>Output in pretty indented format
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="lineBreak"><!-- --></A><H3>
|
|
lineBreak</H3>
|
|
<PRE>
|
|
public boolean <B>lineBreak</B></PRE>
|
|
<DL>
|
|
<DD>Line break the output a bit more aggressively
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="preferLineBreakAtEndOfFile"><!-- --></A><H3>
|
|
preferLineBreakAtEndOfFile</H3>
|
|
<PRE>
|
|
public boolean <B>preferLineBreakAtEndOfFile</B></PRE>
|
|
<DL>
|
|
<DD>Prefer line breaks at end of file
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="printInputDelimiter"><!-- --></A><H3>
|
|
printInputDelimiter</H3>
|
|
<PRE>
|
|
public boolean <B>printInputDelimiter</B></PRE>
|
|
<DL>
|
|
<DD>Prints a separator comment before each js script
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="inputDelimiter"><!-- --></A><H3>
|
|
inputDelimiter</H3>
|
|
<PRE>
|
|
public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>inputDelimiter</B></PRE>
|
|
<DL>
|
|
<DD>The string to use as the separator for printInputDelimiter
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="errorFormat"><!-- --></A><H3>
|
|
errorFormat</H3>
|
|
<PRE>
|
|
public <A HREF="../../../../com/google/javascript/jscomp/ErrorFormat.html" title="enum in com.google.javascript.jscomp">ErrorFormat</A> <B>errorFormat</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="sourceMapOutputPath"><!-- --></A><H3>
|
|
sourceMapOutputPath</H3>
|
|
<PRE>
|
|
public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>sourceMapOutputPath</B></PRE>
|
|
<DL>
|
|
<DD>The output path for the source map.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="sourceMapDetailLevel"><!-- --></A><H3>
|
|
sourceMapDetailLevel</H3>
|
|
<PRE>
|
|
public <A HREF="../../../../com/google/javascript/jscomp/SourceMap.DetailLevel.html" title="enum in com.google.javascript.jscomp">SourceMap.DetailLevel</A> <B>sourceMapDetailLevel</B></PRE>
|
|
<DL>
|
|
<DD>The detail level for the generated source map.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="sourceMapFormat"><!-- --></A><H3>
|
|
sourceMapFormat</H3>
|
|
<PRE>
|
|
public <A HREF="../../../../com/google/javascript/jscomp/SourceMap.Format.html" title="enum in com.google.javascript.jscomp">SourceMap.Format</A> <B>sourceMapFormat</B></PRE>
|
|
<DL>
|
|
<DD>The source map file format
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="sourceMapLocationMappings"><!-- --></A><H3>
|
|
sourceMapLocationMappings</H3>
|
|
<PRE>
|
|
public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../com/google/javascript/jscomp/SourceMap.LocationMapping.html" title="class in com.google.javascript.jscomp">SourceMap.LocationMapping</A>> <B>sourceMapLocationMappings</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
|
|
<A NAME="constructor_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Constructor Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="CompilerOptions()"><!-- --></A><H3>
|
|
CompilerOptions</H3>
|
|
<PRE>
|
|
public <B>CompilerOptions</B>()</PRE>
|
|
<DL>
|
|
<DD>Initializes compiler options. All options are disabled by default.
|
|
|
|
Command-line frontends to the compiler should set these properties
|
|
like a builder.
|
|
<P>
|
|
</DL>
|
|
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
|
|
<A NAME="method_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Method Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="setAggressiveVarCheck(com.google.javascript.jscomp.CheckLevel)"><!-- --></A><H3>
|
|
setAggressiveVarCheck</H3>
|
|
<PRE>
|
|
public void <B>setAggressiveVarCheck</B>(<A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> level)</PRE>
|
|
<DL>
|
|
<DD>Checks for suspicious variable definitions and undefined variables
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setTightenTypes(boolean)"><!-- --></A><H3>
|
|
setTightenTypes</H3>
|
|
<PRE>
|
|
public void <B>setTightenTypes</B>(boolean tighten)</PRE>
|
|
<DL>
|
|
<DD>Tightens types based on a global analysis. Experimental.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setReportMissingOverride(com.google.javascript.jscomp.CheckLevel)"><!-- --></A><H3>
|
|
setReportMissingOverride</H3>
|
|
<PRE>
|
|
public void <B>setReportMissingOverride</B>(<A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> level)</PRE>
|
|
<DL>
|
|
<DD>Flags a warning if a property is missing the @override annotation, but it
|
|
overrides a base class property.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setReportUnknownTypes(com.google.javascript.jscomp.CheckLevel)"><!-- --></A><H3>
|
|
setReportUnknownTypes</H3>
|
|
<PRE>
|
|
public void <B>setReportUnknownTypes</B>(<A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> level)</PRE>
|
|
<DL>
|
|
<DD>Flags a warning for every node whose type could not be determined.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCheckRequires(com.google.javascript.jscomp.CheckLevel)"><!-- --></A><H3>
|
|
setCheckRequires</H3>
|
|
<PRE>
|
|
public void <B>setCheckRequires</B>(<A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> level)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCheckProvides(com.google.javascript.jscomp.CheckLevel)"><!-- --></A><H3>
|
|
setCheckProvides</H3>
|
|
<PRE>
|
|
public void <B>setCheckProvides</B>(<A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> level)</PRE>
|
|
<DL>
|
|
<DD>Checks for missing goog.provides() calls
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCheckGlobalNamesLevel(com.google.javascript.jscomp.CheckLevel)"><!-- --></A><H3>
|
|
setCheckGlobalNamesLevel</H3>
|
|
<PRE>
|
|
public void <B>setCheckGlobalNamesLevel</B>(<A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> level)</PRE>
|
|
<DL>
|
|
<DD>Checks the integrity of references to qualified global names.
|
|
(e.g. "a.b")
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setBrokenClosureRequiresLevel(com.google.javascript.jscomp.CheckLevel)"><!-- --></A><H3>
|
|
setBrokenClosureRequiresLevel</H3>
|
|
<PRE>
|
|
public void <B>setBrokenClosureRequiresLevel</B>(<A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> level)</PRE>
|
|
<DL>
|
|
<DD>Sets the check level for bad Closure require calls.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCheckGlobalThisLevel(com.google.javascript.jscomp.CheckLevel)"><!-- --></A><H3>
|
|
setCheckGlobalThisLevel</H3>
|
|
<PRE>
|
|
public void <B>setCheckGlobalThisLevel</B>(<A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> level)</PRE>
|
|
<DL>
|
|
<DD>Checks for certain uses of the <code>this</code> keyword that are considered
|
|
unsafe because they are likely to reference the global <code>this</code>
|
|
object unintentionally.
|
|
|
|
If this is off, but collapseProperties is on, then the compiler will
|
|
usually ignore you and run this check anyways.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCheckMissingGetCssNameLevel(com.google.javascript.jscomp.CheckLevel)"><!-- --></A><H3>
|
|
setCheckMissingGetCssNameLevel</H3>
|
|
<PRE>
|
|
public void <B>setCheckMissingGetCssNameLevel</B>(<A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> level)</PRE>
|
|
<DL>
|
|
<DD>Checks that certain string literals only appear in strings used as
|
|
goog.getCssName arguments.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCheckCaja(boolean)"><!-- --></A><H3>
|
|
setCheckCaja</H3>
|
|
<PRE>
|
|
public void <B>setCheckCaja</B>(boolean check)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCheckUnreachableCode(com.google.javascript.jscomp.CheckLevel)"><!-- --></A><H3>
|
|
setCheckUnreachableCode</H3>
|
|
<PRE>
|
|
public void <B>setCheckUnreachableCode</B>(<A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> level)</PRE>
|
|
<DL>
|
|
<DD>Checks for unreachable code
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCheckMissingReturn(com.google.javascript.jscomp.CheckLevel)"><!-- --></A><H3>
|
|
setCheckMissingReturn</H3>
|
|
<PRE>
|
|
public void <B>setCheckMissingReturn</B>(<A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> level)</PRE>
|
|
<DL>
|
|
<DD>Checks for missing return statements
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setAliasableGlobals(java.lang.String)"><!-- --></A><H3>
|
|
setAliasableGlobals</H3>
|
|
<PRE>
|
|
public void <B>setAliasableGlobals</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> names)</PRE>
|
|
<DL>
|
|
<DD>A comma separated white-list of global names. When <A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#aliasExternals"><CODE>aliasExternals</CODE></A>
|
|
is enable, if set to a non-empty string, only externals with these names
|
|
will be considered for aliasing.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setUnaliasableGlobals(java.lang.String)"><!-- --></A><H3>
|
|
setUnaliasableGlobals</H3>
|
|
<PRE>
|
|
public void <B>setUnaliasableGlobals</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> names)</PRE>
|
|
<DL>
|
|
<DD>A comma separated white-list of global names. When <A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#aliasExternals"><CODE>aliasExternals</CODE></A>
|
|
is enable, these global names will not be aliased.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCollapseObjectLiterals(boolean)"><!-- --></A><H3>
|
|
setCollapseObjectLiterals</H3>
|
|
<PRE>
|
|
public void <B>setCollapseObjectLiterals</B>(boolean enabled)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setSpecializeInitialModule(boolean)"><!-- --></A><H3>
|
|
setSpecializeInitialModule</H3>
|
|
<PRE>
|
|
public void <B>setSpecializeInitialModule</B>(boolean enabled)</PRE>
|
|
<DL>
|
|
<DD>Specialize the initial module at the cost of later modules
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setIgnoreCajaProperties(boolean)"><!-- --></A><H3>
|
|
setIgnoreCajaProperties</H3>
|
|
<PRE>
|
|
public void <B>setIgnoreCajaProperties</B>(boolean enabled)</PRE>
|
|
<DL>
|
|
<DD>Add code to skip properties that Caja adds to Object.prototype
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setAppNameStr(java.lang.String)"><!-- --></A><H3>
|
|
setAppNameStr</H3>
|
|
<PRE>
|
|
public void <B>setAppNameStr</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> appNameStr)</PRE>
|
|
<DL>
|
|
<DD>App identifier string for use by the instrumentation template's
|
|
app_name_setter. @see #instrumentationTemplate
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setReportPath(java.lang.String)"><!-- --></A><H3>
|
|
setReportPath</H3>
|
|
<PRE>
|
|
public void <B>setReportPath</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> reportPath)</PRE>
|
|
<DL>
|
|
<DD>Where to save a report of global name usage
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getTracerMode()"><!-- --></A><H3>
|
|
getTracerMode</H3>
|
|
<PRE>
|
|
public <A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.TracerMode.html" title="enum in com.google.javascript.jscomp">CompilerOptions.TracerMode</A> <B>getTracerMode</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setTracerMode(com.google.javascript.jscomp.CompilerOptions.TracerMode)"><!-- --></A><H3>
|
|
setTracerMode</H3>
|
|
<PRE>
|
|
public void <B>setTracerMode</B>(<A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.TracerMode.html" title="enum in com.google.javascript.jscomp">CompilerOptions.TracerMode</A> mode)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setNameReferenceReportPath(java.lang.String)"><!-- --></A><H3>
|
|
setNameReferenceReportPath</H3>
|
|
<PRE>
|
|
public void <B>setNameReferenceReportPath</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> filePath)</PRE>
|
|
<DL>
|
|
<DD>Where to save a cross-reference report from the name reference graph
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setNameReferenceGraphPath(java.lang.String)"><!-- --></A><H3>
|
|
setNameReferenceGraphPath</H3>
|
|
<PRE>
|
|
public void <B>setNameReferenceGraphPath</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> filePath)</PRE>
|
|
<DL>
|
|
<DD>Where to save the name reference graph
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setProtectHiddenSideEffects(boolean)"><!-- --></A><H3>
|
|
setProtectHiddenSideEffects</H3>
|
|
<PRE>
|
|
public void <B>setProtectHiddenSideEffects</B>(boolean enable)</PRE>
|
|
<DL>
|
|
<DD>When enabled, assume that apparently side-effect free code is meaningful.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getDefineReplacements()"><!-- --></A><H3>
|
|
getDefineReplacements</H3>
|
|
<PRE>
|
|
public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</A>> <B>getDefineReplacements</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the map of define replacements.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getTweakReplacements()"><!-- --></A><H3>
|
|
getTweakReplacements</H3>
|
|
<PRE>
|
|
public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</A>> <B>getTweakReplacements</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the map of tweak replacements.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setDefineToBooleanLiteral(java.lang.String, boolean)"><!-- --></A><H3>
|
|
setDefineToBooleanLiteral</H3>
|
|
<PRE>
|
|
public void <B>setDefineToBooleanLiteral</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> defineName,
|
|
boolean value)</PRE>
|
|
<DL>
|
|
<DD>Sets the value of the <code>@define</code> variable in JS
|
|
to a boolean literal.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setDefineToStringLiteral(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
|
setDefineToStringLiteral</H3>
|
|
<PRE>
|
|
public void <B>setDefineToStringLiteral</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> defineName,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> value)</PRE>
|
|
<DL>
|
|
<DD>Sets the value of the <code>@define</code> variable in JS to a
|
|
String literal.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setDefineToNumberLiteral(java.lang.String, int)"><!-- --></A><H3>
|
|
setDefineToNumberLiteral</H3>
|
|
<PRE>
|
|
public void <B>setDefineToNumberLiteral</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> defineName,
|
|
int value)</PRE>
|
|
<DL>
|
|
<DD>Sets the value of the <code>@define</code> variable in JS to a
|
|
number literal.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setDefineToDoubleLiteral(java.lang.String, double)"><!-- --></A><H3>
|
|
setDefineToDoubleLiteral</H3>
|
|
<PRE>
|
|
public void <B>setDefineToDoubleLiteral</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> defineName,
|
|
double value)</PRE>
|
|
<DL>
|
|
<DD>Sets the value of the <code>@define</code> variable in JS to a
|
|
number literal.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setTweakToBooleanLiteral(java.lang.String, boolean)"><!-- --></A><H3>
|
|
setTweakToBooleanLiteral</H3>
|
|
<PRE>
|
|
public void <B>setTweakToBooleanLiteral</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> tweakId,
|
|
boolean value)</PRE>
|
|
<DL>
|
|
<DD>Sets the value of the tweak in JS
|
|
to a boolean literal.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setTweakToStringLiteral(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
|
setTweakToStringLiteral</H3>
|
|
<PRE>
|
|
public void <B>setTweakToStringLiteral</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> tweakId,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> value)</PRE>
|
|
<DL>
|
|
<DD>Sets the value of the tweak in JS to a
|
|
String literal.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setTweakToNumberLiteral(java.lang.String, int)"><!-- --></A><H3>
|
|
setTweakToNumberLiteral</H3>
|
|
<PRE>
|
|
public void <B>setTweakToNumberLiteral</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> tweakId,
|
|
int value)</PRE>
|
|
<DL>
|
|
<DD>Sets the value of the tweak in JS to a
|
|
number literal.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setTweakToDoubleLiteral(java.lang.String, double)"><!-- --></A><H3>
|
|
setTweakToDoubleLiteral</H3>
|
|
<PRE>
|
|
public void <B>setTweakToDoubleLiteral</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> tweakId,
|
|
double value)</PRE>
|
|
<DL>
|
|
<DD>Sets the value of the tweak in JS to a
|
|
number literal.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="skipAllCompilerPasses()"><!-- --></A><H3>
|
|
skipAllCompilerPasses</H3>
|
|
<PRE>
|
|
public void <B>skipAllCompilerPasses</B>()</PRE>
|
|
<DL>
|
|
<DD>Skip all possible passes, to make the compiler as fast as possible.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setWarningLevel(com.google.javascript.jscomp.DiagnosticGroup, com.google.javascript.jscomp.CheckLevel)"><!-- --></A><H3>
|
|
setWarningLevel</H3>
|
|
<PRE>
|
|
public void <B>setWarningLevel</B>(<A HREF="../../../../com/google/javascript/jscomp/DiagnosticGroup.html" title="class in com.google.javascript.jscomp">DiagnosticGroup</A> type,
|
|
<A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A> level)</PRE>
|
|
<DL>
|
|
<DD>Configure the given type of warning to the given level.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="resetWarningsGuard()"><!-- --></A><H3>
|
|
resetWarningsGuard</H3>
|
|
<PRE>
|
|
public void <B>resetWarningsGuard</B>()</PRE>
|
|
<DL>
|
|
<DD>Reset the warnings guard.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="addWarningsGuard(com.google.javascript.jscomp.WarningsGuard)"><!-- --></A><H3>
|
|
addWarningsGuard</H3>
|
|
<PRE>
|
|
public void <B>addWarningsGuard</B>(<A HREF="../../../../com/google/javascript/jscomp/WarningsGuard.html" title="class in com.google.javascript.jscomp">WarningsGuard</A> guard)</PRE>
|
|
<DL>
|
|
<DD>Add a guard to the set of warnings guards.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setRenamingPolicy(com.google.javascript.jscomp.VariableRenamingPolicy, com.google.javascript.jscomp.PropertyRenamingPolicy)"><!-- --></A><H3>
|
|
setRenamingPolicy</H3>
|
|
<PRE>
|
|
public void <B>setRenamingPolicy</B>(<A HREF="../../../../com/google/javascript/jscomp/VariableRenamingPolicy.html" title="enum in com.google.javascript.jscomp">VariableRenamingPolicy</A> newVariablePolicy,
|
|
<A HREF="../../../../com/google/javascript/jscomp/PropertyRenamingPolicy.html" title="enum in com.google.javascript.jscomp">PropertyRenamingPolicy</A> newPropertyPolicy)</PRE>
|
|
<DL>
|
|
<DD>Sets the variable and property renaming policies for the compiler,
|
|
in a way that clears warnings about the renaming policy being
|
|
uninitialized from flags.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setPropertyAffinity(boolean)"><!-- --></A><H3>
|
|
setPropertyAffinity</H3>
|
|
<PRE>
|
|
public void <B>setPropertyAffinity</B>(boolean useAffinity)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setShadowVariables(boolean)"><!-- --></A><H3>
|
|
setShadowVariables</H3>
|
|
<PRE>
|
|
public void <B>setShadowVariables</B>(boolean shadow)</PRE>
|
|
<DL>
|
|
<DD>Should shadow outer scope variable name during renaming.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCollapsePropertiesOnExternTypes(boolean)"><!-- --></A><H3>
|
|
setCollapsePropertiesOnExternTypes</H3>
|
|
<PRE>
|
|
public void <B>setCollapsePropertiesOnExternTypes</B>(boolean collapse)</PRE>
|
|
<DL>
|
|
<DD>If true, flattens multi-level property names on extern types
|
|
(e.g. String$f = x). This should only be used with the typed version of
|
|
the externs files.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setProcessObjectPropertyString(boolean)"><!-- --></A><H3>
|
|
setProcessObjectPropertyString</H3>
|
|
<PRE>
|
|
public void <B>setProcessObjectPropertyString</B>(boolean process)</PRE>
|
|
<DL>
|
|
<DD>If true, process goog.testing.ObjectPropertyString instances.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setReplaceIdGenerators(boolean)"><!-- --></A><H3>
|
|
setReplaceIdGenerators</H3>
|
|
<PRE>
|
|
public void <B>setReplaceIdGenerators</B>(boolean replaceIdGenerators)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>replaceIdGenerators</CODE> - the replaceIdGenerators to set</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setIdGenerators(java.util.Set)"><!-- --></A><H3>
|
|
setIdGenerators</H3>
|
|
<PRE>
|
|
public void <B>setIdGenerators</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> idGenerators)</PRE>
|
|
<DL>
|
|
<DD>Sets the id generators to replace.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setInlineFunctions(com.google.javascript.jscomp.CompilerOptions.Reach)"><!-- --></A><H3>
|
|
setInlineFunctions</H3>
|
|
<PRE>
|
|
public void <B>setInlineFunctions</B>(<A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.Reach.html" title="enum in com.google.javascript.jscomp">CompilerOptions.Reach</A> reach)</PRE>
|
|
<DL>
|
|
<DD>Set the function inlining policy for the compiler.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setInlineVariables(com.google.javascript.jscomp.CompilerOptions.Reach)"><!-- --></A><H3>
|
|
setInlineVariables</H3>
|
|
<PRE>
|
|
public void <B>setInlineVariables</B>(<A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.Reach.html" title="enum in com.google.javascript.jscomp">CompilerOptions.Reach</A> reach)</PRE>
|
|
<DL>
|
|
<DD>Set the variable inlining policy for the compiler.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setRemoveUnusedVariable(com.google.javascript.jscomp.CompilerOptions.Reach)"><!-- --></A><H3>
|
|
setRemoveUnusedVariable</H3>
|
|
<PRE>
|
|
<FONT SIZE="-1"><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</A>
|
|
</FONT>public void <B>setRemoveUnusedVariable</B>(<A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.Reach.html" title="enum in com.google.javascript.jscomp">CompilerOptions.Reach</A> reach)</PRE>
|
|
<DL>
|
|
<DD><B>Deprecated.</B>
|
|
<P>
|
|
<DD>Set the variable removal policy for the compiler.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setRemoveUnusedVariables(com.google.javascript.jscomp.CompilerOptions.Reach)"><!-- --></A><H3>
|
|
setRemoveUnusedVariables</H3>
|
|
<PRE>
|
|
public void <B>setRemoveUnusedVariables</B>(<A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.Reach.html" title="enum in com.google.javascript.jscomp">CompilerOptions.Reach</A> reach)</PRE>
|
|
<DL>
|
|
<DD>Set the variable removal policy for the compiler.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setReplaceStringsConfiguration(java.lang.String, java.util.List)"><!-- --></A><H3>
|
|
setReplaceStringsConfiguration</H3>
|
|
<PRE>
|
|
public void <B>setReplaceStringsConfiguration</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> placeholderToken,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> functionDescriptors)</PRE>
|
|
<DL>
|
|
<DD>Sets the functions whose debug strings to replace.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setRewriteNewDateGoogNow(boolean)"><!-- --></A><H3>
|
|
setRewriteNewDateGoogNow</H3>
|
|
<PRE>
|
|
public void <B>setRewriteNewDateGoogNow</B>(boolean rewrite)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setRemoveAbstractMethods(boolean)"><!-- --></A><H3>
|
|
setRemoveAbstractMethods</H3>
|
|
<PRE>
|
|
public void <B>setRemoveAbstractMethods</B>(boolean remove)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setRemoveClosureAsserts(boolean)"><!-- --></A><H3>
|
|
setRemoveClosureAsserts</H3>
|
|
<PRE>
|
|
public void <B>setRemoveClosureAsserts</B>(boolean remove)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setNameAnonymousFunctionsOnly(boolean)"><!-- --></A><H3>
|
|
setNameAnonymousFunctionsOnly</H3>
|
|
<PRE>
|
|
public void <B>setNameAnonymousFunctionsOnly</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>If true, name anonymous functions only. All other passes will be skipped.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setColorizeErrorOutput(boolean)"><!-- --></A><H3>
|
|
setColorizeErrorOutput</H3>
|
|
<PRE>
|
|
public void <B>setColorizeErrorOutput</B>(boolean colorizeErrorOutput)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="shouldColorizeErrorOutput()"><!-- --></A><H3>
|
|
shouldColorizeErrorOutput</H3>
|
|
<PRE>
|
|
public boolean <B>shouldColorizeErrorOutput</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setChainCalls(boolean)"><!-- --></A><H3>
|
|
setChainCalls</H3>
|
|
<PRE>
|
|
public void <B>setChainCalls</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>If true, chain calls to functions that return this.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setAcceptConstKeyword(boolean)"><!-- --></A><H3>
|
|
setAcceptConstKeyword</H3>
|
|
<PRE>
|
|
public void <B>setAcceptConstKeyword</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>If true, accept `const' keyword.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="enableRuntimeTypeCheck(java.lang.String)"><!-- --></A><H3>
|
|
enableRuntimeTypeCheck</H3>
|
|
<PRE>
|
|
public void <B>enableRuntimeTypeCheck</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> logFunction)</PRE>
|
|
<DL>
|
|
<DD>Enable runtime type checking, which adds JS type assertions for debugging.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>logFunction</CODE> - A JS function to be used for logging runtime type
|
|
assertion failures.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="disableRuntimeTypeCheck()"><!-- --></A><H3>
|
|
disableRuntimeTypeCheck</H3>
|
|
<PRE>
|
|
public void <B>disableRuntimeTypeCheck</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setGenerateExports(boolean)"><!-- --></A><H3>
|
|
setGenerateExports</H3>
|
|
<PRE>
|
|
public void <B>setGenerateExports</B>(boolean generateExports)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCodingConvention(com.google.javascript.jscomp.CodingConvention)"><!-- --></A><H3>
|
|
setCodingConvention</H3>
|
|
<PRE>
|
|
public void <B>setCodingConvention</B>(<A HREF="../../../../com/google/javascript/jscomp/CodingConvention.html" title="interface in com.google.javascript.jscomp">CodingConvention</A> codingConvention)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getCodingConvention()"><!-- --></A><H3>
|
|
getCodingConvention</H3>
|
|
<PRE>
|
|
public <A HREF="../../../../com/google/javascript/jscomp/CodingConvention.html" title="interface in com.google.javascript.jscomp">CodingConvention</A> <B>getCodingConvention</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setDependencyOptions(com.google.javascript.jscomp.DependencyOptions)"><!-- --></A><H3>
|
|
setDependencyOptions</H3>
|
|
<PRE>
|
|
public void <B>setDependencyOptions</B>(<A HREF="../../../../com/google/javascript/jscomp/DependencyOptions.html" title="class in com.google.javascript.jscomp">DependencyOptions</A> options)</PRE>
|
|
<DL>
|
|
<DD>Sets dependency options. See the DependencyOptions class for more info.
|
|
This supercedes manageClosureDependencies.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setManageClosureDependencies(boolean)"><!-- --></A><H3>
|
|
setManageClosureDependencies</H3>
|
|
<PRE>
|
|
public void <B>setManageClosureDependencies</B>(boolean newVal)</PRE>
|
|
<DL>
|
|
<DD>Sort inputs by their goog.provide/goog.require calls, and prune inputs
|
|
whose symbols are not required.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setManageClosureDependencies(java.util.List)"><!-- --></A><H3>
|
|
setManageClosureDependencies</H3>
|
|
<PRE>
|
|
public void <B>setManageClosureDependencies</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> entryPoints)</PRE>
|
|
<DL>
|
|
<DD>Sort inputs by their goog.provide/goog.require calls.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>entryPoints</CODE> - Entry points to the program. Must be goog.provide'd
|
|
symbols. Any goog.provide'd symbols that are not a transitive
|
|
dependency of the entry points will be deleted.
|
|
Files without goog.provides, and their dependencies,
|
|
will always be left in.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setSummaryDetailLevel(int)"><!-- --></A><H3>
|
|
setSummaryDetailLevel</H3>
|
|
<PRE>
|
|
public void <B>setSummaryDetailLevel</B>(int summaryDetailLevel)</PRE>
|
|
<DL>
|
|
<DD>Controls how detailed the compilation summary is. Values:
|
|
0 (never print summary), 1 (print summary only if there are
|
|
errors or warnings), 2 (print summary if type checking is on,
|
|
see --check_types), 3 (always print summary). The default level
|
|
is 1
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="enableExternExports(boolean)"><!-- --></A><H3>
|
|
enableExternExports</H3>
|
|
<PRE>
|
|
<FONT SIZE="-1"><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</A>
|
|
</FONT>public void <B>enableExternExports</B>(boolean enabled)</PRE>
|
|
<DL>
|
|
<DD><B>Deprecated.</B> <I>replaced by <A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.html#setExternExports(boolean)"><CODE>setExternExports(boolean)</CODE></A></I>
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setExtraAnnotationNames(java.util.Set)"><!-- --></A><H3>
|
|
setExtraAnnotationNames</H3>
|
|
<PRE>
|
|
public void <B>setExtraAnnotationNames</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> extraAnnotationNames)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isExternExportsEnabled()"><!-- --></A><H3>
|
|
isExternExportsEnabled</H3>
|
|
<PRE>
|
|
public boolean <B>isExternExportsEnabled</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setOutputCharset(java.lang.String)"><!-- --></A><H3>
|
|
setOutputCharset</H3>
|
|
<PRE>
|
|
public void <B>setOutputCharset</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> charsetName)</PRE>
|
|
<DL>
|
|
<DD>Sets the output charset by name.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setTweakProcessing(com.google.javascript.jscomp.CompilerOptions.TweakProcessing)"><!-- --></A><H3>
|
|
setTweakProcessing</H3>
|
|
<PRE>
|
|
public void <B>setTweakProcessing</B>(<A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.TweakProcessing.html" title="enum in com.google.javascript.jscomp">CompilerOptions.TweakProcessing</A> tweakProcessing)</PRE>
|
|
<DL>
|
|
<DD>Sets how goog.tweak calls are processed.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getTweakProcessing()"><!-- --></A><H3>
|
|
getTweakProcessing</H3>
|
|
<PRE>
|
|
public <A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.TweakProcessing.html" title="enum in com.google.javascript.jscomp">CompilerOptions.TweakProcessing</A> <B>getTweakProcessing</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setLanguageIn(com.google.javascript.jscomp.CompilerOptions.LanguageMode)"><!-- --></A><H3>
|
|
setLanguageIn</H3>
|
|
<PRE>
|
|
public void <B>setLanguageIn</B>(<A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.LanguageMode.html" title="enum in com.google.javascript.jscomp">CompilerOptions.LanguageMode</A> languageIn)</PRE>
|
|
<DL>
|
|
<DD>Sets how goog.tweak calls are processed.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getLanguageIn()"><!-- --></A><H3>
|
|
getLanguageIn</H3>
|
|
<PRE>
|
|
public <A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.LanguageMode.html" title="enum in com.google.javascript.jscomp">CompilerOptions.LanguageMode</A> <B>getLanguageIn</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getLanguageOut()"><!-- --></A><H3>
|
|
getLanguageOut</H3>
|
|
<PRE>
|
|
public <A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.LanguageMode.html" title="enum in com.google.javascript.jscomp">CompilerOptions.LanguageMode</A> <B>getLanguageOut</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setLooseTypes(boolean)"><!-- --></A><H3>
|
|
setLooseTypes</H3>
|
|
<PRE>
|
|
public void <B>setLooseTypes</B>(boolean looseTypes)</PRE>
|
|
<DL>
|
|
<DD>Whether to include "undefined" in the default types.
|
|
For example:
|
|
"{Object}" is normally "Object|null" becomes "Object|null|undefined"
|
|
"{?string}" is normally "string|null" becomes "string|null|undefined"
|
|
In either case "!" annotated types excluded both null and undefined.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="clone()"><!-- --></A><H3>
|
|
clone</H3>
|
|
<PRE>
|
|
public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>clone</B>()
|
|
throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/CloneNotSupportedException.html?is-external=true" title="class or interface in java.lang">CloneNotSupportedException</A></PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/CloneNotSupportedException.html?is-external=true" title="class or interface in java.lang">CloneNotSupportedException</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setAliasTransformationHandler(com.google.javascript.jscomp.CompilerOptions.AliasTransformationHandler)"><!-- --></A><H3>
|
|
setAliasTransformationHandler</H3>
|
|
<PRE>
|
|
public void <B>setAliasTransformationHandler</B>(<A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.AliasTransformationHandler.html" title="interface in com.google.javascript.jscomp">CompilerOptions.AliasTransformationHandler</A> changes)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getAliasTransformationHandler()"><!-- --></A><H3>
|
|
getAliasTransformationHandler</H3>
|
|
<PRE>
|
|
public <A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.AliasTransformationHandler.html" title="interface in com.google.javascript.jscomp">CompilerOptions.AliasTransformationHandler</A> <B>getAliasTransformationHandler</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setErrorHandler(com.google.javascript.jscomp.ErrorHandler)"><!-- --></A><H3>
|
|
setErrorHandler</H3>
|
|
<PRE>
|
|
public void <B>setErrorHandler</B>(<A HREF="../../../../com/google/javascript/jscomp/ErrorHandler.html" title="interface in com.google.javascript.jscomp">ErrorHandler</A> handler)</PRE>
|
|
<DL>
|
|
<DD>Set a custom handler for warnings and errors.
|
|
|
|
This is mostly used for piping the warnings and errors to
|
|
a file behind the scenes.
|
|
|
|
If you want to filter warnings and errors, you should use a WarningsGuard.
|
|
|
|
If you want to change how warnings and errors are reported to the user,
|
|
you should set a ErrorManager on the Compiler. An ErrorManager is
|
|
intended to summarize the errors for a single compile job.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setInferTypes(boolean)"><!-- --></A><H3>
|
|
setInferTypes</H3>
|
|
<PRE>
|
|
public void <B>setInferTypes</B>(boolean enable)</PRE>
|
|
<DL>
|
|
<DD>If true, enables type inference. If checkTypes is enabled, this flag has
|
|
no effect.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getInferTypes()"><!-- --></A><H3>
|
|
getInferTypes</H3>
|
|
<PRE>
|
|
public boolean <B>getInferTypes</B>()</PRE>
|
|
<DL>
|
|
<DD>Gets the inferTypes flag. Note that if checkTypes is enabled, this flag
|
|
is ignored when configuring the compiler.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="assumeStrictThis()"><!-- --></A><H3>
|
|
assumeStrictThis</H3>
|
|
<PRE>
|
|
public boolean <B>assumeStrictThis</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>Whether assumeStrictThis is set.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setAssumeStrictThis(boolean)"><!-- --></A><H3>
|
|
setAssumeStrictThis</H3>
|
|
<PRE>
|
|
public void <B>setAssumeStrictThis</B>(boolean enable)</PRE>
|
|
<DL>
|
|
<DD>If true, enables enables additional optimizations.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="assumeClosuresOnlyCaptureReferences()"><!-- --></A><H3>
|
|
assumeClosuresOnlyCaptureReferences</H3>
|
|
<PRE>
|
|
public boolean <B>assumeClosuresOnlyCaptureReferences</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>Whether assumeClosuresOnlyCaptureReferences is set.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setAssumeClosuresOnlyCaptureReferences(boolean)"><!-- --></A><H3>
|
|
setAssumeClosuresOnlyCaptureReferences</H3>
|
|
<PRE>
|
|
public void <B>setAssumeClosuresOnlyCaptureReferences</B>(boolean enable)</PRE>
|
|
<DL>
|
|
<DD>Whether to assume closures capture only what they reference. This allows
|
|
more aggressive function inlining.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setPropertyInvalidationErrors(java.util.Map)"><!-- --></A><H3>
|
|
setPropertyInvalidationErrors</H3>
|
|
<PRE>
|
|
public void <B>setPropertyInvalidationErrors</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</A>> propertyInvalidationErrors)</PRE>
|
|
<DL>
|
|
<DD>Sets the list of properties that we report property invalidation errors
|
|
for.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setLanguageOut(com.google.javascript.jscomp.CompilerOptions.LanguageMode)"><!-- --></A><H3>
|
|
setLanguageOut</H3>
|
|
<PRE>
|
|
public void <B>setLanguageOut</B>(<A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.LanguageMode.html" title="enum in com.google.javascript.jscomp">CompilerOptions.LanguageMode</A> languageOut)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setIdeMode(boolean)"><!-- --></A><H3>
|
|
setIdeMode</H3>
|
|
<PRE>
|
|
public void <B>setIdeMode</B>(boolean ideMode)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setSkipAllPasses(boolean)"><!-- --></A><H3>
|
|
setSkipAllPasses</H3>
|
|
<PRE>
|
|
public void <B>setSkipAllPasses</B>(boolean skipAllPasses)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setDevMode(com.google.javascript.jscomp.CompilerOptions.DevMode)"><!-- --></A><H3>
|
|
setDevMode</H3>
|
|
<PRE>
|
|
public void <B>setDevMode</B>(com.google.javascript.jscomp.CompilerOptions.DevMode devMode)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setMessageBundle(com.google.javascript.jscomp.MessageBundle)"><!-- --></A><H3>
|
|
setMessageBundle</H3>
|
|
<PRE>
|
|
public void <B>setMessageBundle</B>(<A HREF="../../../../com/google/javascript/jscomp/MessageBundle.html" title="interface in com.google.javascript.jscomp">MessageBundle</A> messageBundle)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCheckSymbols(boolean)"><!-- --></A><H3>
|
|
setCheckSymbols</H3>
|
|
<PRE>
|
|
public void <B>setCheckSymbols</B>(boolean checkSymbols)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCheckSuspiciousCode(boolean)"><!-- --></A><H3>
|
|
setCheckSuspiciousCode</H3>
|
|
<PRE>
|
|
public void <B>setCheckSuspiciousCode</B>(boolean checkSuspiciousCode)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCheckControlStructures(boolean)"><!-- --></A><H3>
|
|
setCheckControlStructures</H3>
|
|
<PRE>
|
|
public void <B>setCheckControlStructures</B>(boolean checkControlStructures)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCheckTypes(boolean)"><!-- --></A><H3>
|
|
setCheckTypes</H3>
|
|
<PRE>
|
|
public void <B>setCheckTypes</B>(boolean checkTypes)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCheckMissingGetCssNameBlacklist(java.lang.String)"><!-- --></A><H3>
|
|
setCheckMissingGetCssNameBlacklist</H3>
|
|
<PRE>
|
|
public void <B>setCheckMissingGetCssNameBlacklist</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> blackList)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setFoldConstants(boolean)"><!-- --></A><H3>
|
|
setFoldConstants</H3>
|
|
<PRE>
|
|
public void <B>setFoldConstants</B>(boolean foldConstants)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setDeadAssignmentElimination(boolean)"><!-- --></A><H3>
|
|
setDeadAssignmentElimination</H3>
|
|
<PRE>
|
|
public void <B>setDeadAssignmentElimination</B>(boolean deadAssignmentElimination)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setInlineConstantVars(boolean)"><!-- --></A><H3>
|
|
setInlineConstantVars</H3>
|
|
<PRE>
|
|
public void <B>setInlineConstantVars</B>(boolean inlineConstantVars)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setInlineFunctions(boolean)"><!-- --></A><H3>
|
|
setInlineFunctions</H3>
|
|
<PRE>
|
|
public void <B>setInlineFunctions</B>(boolean inlineFunctions)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setInlineLocalFunctions(boolean)"><!-- --></A><H3>
|
|
setInlineLocalFunctions</H3>
|
|
<PRE>
|
|
public void <B>setInlineLocalFunctions</B>(boolean inlineLocalFunctions)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCrossModuleCodeMotion(boolean)"><!-- --></A><H3>
|
|
setCrossModuleCodeMotion</H3>
|
|
<PRE>
|
|
public void <B>setCrossModuleCodeMotion</B>(boolean crossModuleCodeMotion)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCoalesceVariableNames(boolean)"><!-- --></A><H3>
|
|
setCoalesceVariableNames</H3>
|
|
<PRE>
|
|
public void <B>setCoalesceVariableNames</B>(boolean coalesceVariableNames)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCrossModuleMethodMotion(boolean)"><!-- --></A><H3>
|
|
setCrossModuleMethodMotion</H3>
|
|
<PRE>
|
|
public void <B>setCrossModuleMethodMotion</B>(boolean crossModuleMethodMotion)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setInlineGetters(boolean)"><!-- --></A><H3>
|
|
setInlineGetters</H3>
|
|
<PRE>
|
|
public void <B>setInlineGetters</B>(boolean inlineGetters)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setInlineVariables(boolean)"><!-- --></A><H3>
|
|
setInlineVariables</H3>
|
|
<PRE>
|
|
public void <B>setInlineVariables</B>(boolean inlineVariables)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setInlineLocalVariables(boolean)"><!-- --></A><H3>
|
|
setInlineLocalVariables</H3>
|
|
<PRE>
|
|
public void <B>setInlineLocalVariables</B>(boolean inlineLocalVariables)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setFlowSensitiveInlineVariables(boolean)"><!-- --></A><H3>
|
|
setFlowSensitiveInlineVariables</H3>
|
|
<PRE>
|
|
public void <B>setFlowSensitiveInlineVariables</B>(boolean enabled)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setSmartNameRemoval(boolean)"><!-- --></A><H3>
|
|
setSmartNameRemoval</H3>
|
|
<PRE>
|
|
public void <B>setSmartNameRemoval</B>(boolean smartNameRemoval)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setRemoveDeadCode(boolean)"><!-- --></A><H3>
|
|
setRemoveDeadCode</H3>
|
|
<PRE>
|
|
public void <B>setRemoveDeadCode</B>(boolean removeDeadCode)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setExtractPrototypeMemberDeclarations(boolean)"><!-- --></A><H3>
|
|
setExtractPrototypeMemberDeclarations</H3>
|
|
<PRE>
|
|
public void <B>setExtractPrototypeMemberDeclarations</B>(boolean enabled)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setRemoveUnusedPrototypeProperties(boolean)"><!-- --></A><H3>
|
|
setRemoveUnusedPrototypeProperties</H3>
|
|
<PRE>
|
|
public void <B>setRemoveUnusedPrototypeProperties</B>(boolean enabled)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setRemoveUnusedPrototypePropertiesInExterns(boolean)"><!-- --></A><H3>
|
|
setRemoveUnusedPrototypePropertiesInExterns</H3>
|
|
<PRE>
|
|
public void <B>setRemoveUnusedPrototypePropertiesInExterns</B>(boolean enabled)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setRemoveUnusedVars(boolean)"><!-- --></A><H3>
|
|
setRemoveUnusedVars</H3>
|
|
<PRE>
|
|
public void <B>setRemoveUnusedVars</B>(boolean removeUnusedVars)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setRemoveUnusedLocalVars(boolean)"><!-- --></A><H3>
|
|
setRemoveUnusedLocalVars</H3>
|
|
<PRE>
|
|
public void <B>setRemoveUnusedLocalVars</B>(boolean removeUnusedLocalVars)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setAliasExternals(boolean)"><!-- --></A><H3>
|
|
setAliasExternals</H3>
|
|
<PRE>
|
|
public void <B>setAliasExternals</B>(boolean aliasExternals)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCollapseVariableDeclarations(boolean)"><!-- --></A><H3>
|
|
setCollapseVariableDeclarations</H3>
|
|
<PRE>
|
|
public void <B>setCollapseVariableDeclarations</B>(boolean enabled)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setGroupVariableDeclarations(boolean)"><!-- --></A><H3>
|
|
setGroupVariableDeclarations</H3>
|
|
<PRE>
|
|
public void <B>setGroupVariableDeclarations</B>(boolean enabled)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCollapseAnonymousFunctions(boolean)"><!-- --></A><H3>
|
|
setCollapseAnonymousFunctions</H3>
|
|
<PRE>
|
|
public void <B>setCollapseAnonymousFunctions</B>(boolean enabled)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setAliasableStrings(java.util.Set)"><!-- --></A><H3>
|
|
setAliasableStrings</H3>
|
|
<PRE>
|
|
public void <B>setAliasableStrings</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> aliasableStrings)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setAliasStringsBlacklist(java.lang.String)"><!-- --></A><H3>
|
|
setAliasStringsBlacklist</H3>
|
|
<PRE>
|
|
public void <B>setAliasStringsBlacklist</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> aliasStringsBlacklist)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setAliasAllStrings(boolean)"><!-- --></A><H3>
|
|
setAliasAllStrings</H3>
|
|
<PRE>
|
|
public void <B>setAliasAllStrings</B>(boolean aliasAllStrings)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setOutputJsStringUsage(boolean)"><!-- --></A><H3>
|
|
setOutputJsStringUsage</H3>
|
|
<PRE>
|
|
public void <B>setOutputJsStringUsage</B>(boolean outputJsStringUsage)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setConvertToDottedProperties(boolean)"><!-- --></A><H3>
|
|
setConvertToDottedProperties</H3>
|
|
<PRE>
|
|
public void <B>setConvertToDottedProperties</B>(boolean convertToDottedProperties)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setRewriteFunctionExpressions(boolean)"><!-- --></A><H3>
|
|
setRewriteFunctionExpressions</H3>
|
|
<PRE>
|
|
public void <B>setRewriteFunctionExpressions</B>(boolean rewriteFunctionExpressions)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setOptimizeParameters(boolean)"><!-- --></A><H3>
|
|
setOptimizeParameters</H3>
|
|
<PRE>
|
|
public void <B>setOptimizeParameters</B>(boolean optimizeParameters)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setOptimizeReturns(boolean)"><!-- --></A><H3>
|
|
setOptimizeReturns</H3>
|
|
<PRE>
|
|
public void <B>setOptimizeReturns</B>(boolean optimizeReturns)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setOptimizeCalls(boolean)"><!-- --></A><H3>
|
|
setOptimizeCalls</H3>
|
|
<PRE>
|
|
public void <B>setOptimizeCalls</B>(boolean optimizeCalls)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setOptimizeArgumentsArray(boolean)"><!-- --></A><H3>
|
|
setOptimizeArgumentsArray</H3>
|
|
<PRE>
|
|
public void <B>setOptimizeArgumentsArray</B>(boolean optimizeArgumentsArray)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setVariableRenaming(com.google.javascript.jscomp.VariableRenamingPolicy)"><!-- --></A><H3>
|
|
setVariableRenaming</H3>
|
|
<PRE>
|
|
public void <B>setVariableRenaming</B>(<A HREF="../../../../com/google/javascript/jscomp/VariableRenamingPolicy.html" title="enum in com.google.javascript.jscomp">VariableRenamingPolicy</A> variableRenaming)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setPropertyRenaming(com.google.javascript.jscomp.PropertyRenamingPolicy)"><!-- --></A><H3>
|
|
setPropertyRenaming</H3>
|
|
<PRE>
|
|
public void <B>setPropertyRenaming</B>(<A HREF="../../../../com/google/javascript/jscomp/PropertyRenamingPolicy.html" title="enum in com.google.javascript.jscomp">PropertyRenamingPolicy</A> propertyRenaming)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setLabelRenaming(boolean)"><!-- --></A><H3>
|
|
setLabelRenaming</H3>
|
|
<PRE>
|
|
public void <B>setLabelRenaming</B>(boolean labelRenaming)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setReserveRawExports(boolean)"><!-- --></A><H3>
|
|
setReserveRawExports</H3>
|
|
<PRE>
|
|
public void <B>setReserveRawExports</B>(boolean reserveRawExports)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setGeneratePseudoNames(boolean)"><!-- --></A><H3>
|
|
setGeneratePseudoNames</H3>
|
|
<PRE>
|
|
public void <B>setGeneratePseudoNames</B>(boolean generatePseudoNames)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setRenamePrefix(java.lang.String)"><!-- --></A><H3>
|
|
setRenamePrefix</H3>
|
|
<PRE>
|
|
public void <B>setRenamePrefix</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> renamePrefix)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setRenamePrefixNamespace(java.lang.String)"><!-- --></A><H3>
|
|
setRenamePrefixNamespace</H3>
|
|
<PRE>
|
|
public void <B>setRenamePrefixNamespace</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> renamePrefixNamespace)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setAliasKeywords(boolean)"><!-- --></A><H3>
|
|
setAliasKeywords</H3>
|
|
<PRE>
|
|
public void <B>setAliasKeywords</B>(boolean aliasKeywords)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCollapseProperties(boolean)"><!-- --></A><H3>
|
|
setCollapseProperties</H3>
|
|
<PRE>
|
|
public void <B>setCollapseProperties</B>(boolean collapseProperties)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setDevirtualizePrototypeMethods(boolean)"><!-- --></A><H3>
|
|
setDevirtualizePrototypeMethods</H3>
|
|
<PRE>
|
|
public void <B>setDevirtualizePrototypeMethods</B>(boolean devirtualizePrototypeMethods)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setComputeFunctionSideEffects(boolean)"><!-- --></A><H3>
|
|
setComputeFunctionSideEffects</H3>
|
|
<PRE>
|
|
public void <B>setComputeFunctionSideEffects</B>(boolean computeFunctionSideEffects)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setDebugFunctionSideEffectsPath(java.lang.String)"><!-- --></A><H3>
|
|
setDebugFunctionSideEffectsPath</H3>
|
|
<PRE>
|
|
public void <B>setDebugFunctionSideEffectsPath</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> debugFunctionSideEffectsPath)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setDisambiguateProperties(boolean)"><!-- --></A><H3>
|
|
setDisambiguateProperties</H3>
|
|
<PRE>
|
|
public void <B>setDisambiguateProperties</B>(boolean disambiguateProperties)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setAmbiguateProperties(boolean)"><!-- --></A><H3>
|
|
setAmbiguateProperties</H3>
|
|
<PRE>
|
|
public void <B>setAmbiguateProperties</B>(boolean ambiguateProperties)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setAnonymousFunctionNaming(com.google.javascript.jscomp.AnonymousFunctionNamingPolicy)"><!-- --></A><H3>
|
|
setAnonymousFunctionNaming</H3>
|
|
<PRE>
|
|
public void <B>setAnonymousFunctionNaming</B>(<A HREF="../../../../com/google/javascript/jscomp/AnonymousFunctionNamingPolicy.html" title="enum in com.google.javascript.jscomp">AnonymousFunctionNamingPolicy</A> anonymousFunctionNaming)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setInputVariableMapSerialized(byte[])"><!-- --></A><H3>
|
|
setInputVariableMapSerialized</H3>
|
|
<PRE>
|
|
public void <B>setInputVariableMapSerialized</B>(byte[] inputVariableMapSerialized)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setInputPropertyMapSerialized(byte[])"><!-- --></A><H3>
|
|
setInputPropertyMapSerialized</H3>
|
|
<PRE>
|
|
public void <B>setInputPropertyMapSerialized</B>(byte[] inputPropertyMapSerialized)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setExportTestFunctions(boolean)"><!-- --></A><H3>
|
|
setExportTestFunctions</H3>
|
|
<PRE>
|
|
public void <B>setExportTestFunctions</B>(boolean exportTestFunctions)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setRuntimeTypeCheck(boolean)"><!-- --></A><H3>
|
|
setRuntimeTypeCheck</H3>
|
|
<PRE>
|
|
public void <B>setRuntimeTypeCheck</B>(boolean runtimeTypeCheck)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setRuntimeTypeCheckLogFunction(java.lang.String)"><!-- --></A><H3>
|
|
setRuntimeTypeCheckLogFunction</H3>
|
|
<PRE>
|
|
public void <B>setRuntimeTypeCheckLogFunction</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> runtimeTypeCheckLogFunction)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setSyntheticBlockStartMarker(java.lang.String)"><!-- --></A><H3>
|
|
setSyntheticBlockStartMarker</H3>
|
|
<PRE>
|
|
public void <B>setSyntheticBlockStartMarker</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> syntheticBlockStartMarker)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setSyntheticBlockEndMarker(java.lang.String)"><!-- --></A><H3>
|
|
setSyntheticBlockEndMarker</H3>
|
|
<PRE>
|
|
public void <B>setSyntheticBlockEndMarker</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> syntheticBlockEndMarker)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setLocale(java.lang.String)"><!-- --></A><H3>
|
|
setLocale</H3>
|
|
<PRE>
|
|
public void <B>setLocale</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> locale)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setMarkAsCompiled(boolean)"><!-- --></A><H3>
|
|
setMarkAsCompiled</H3>
|
|
<PRE>
|
|
public void <B>setMarkAsCompiled</B>(boolean markAsCompiled)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setRemoveTryCatchFinally(boolean)"><!-- --></A><H3>
|
|
setRemoveTryCatchFinally</H3>
|
|
<PRE>
|
|
public void <B>setRemoveTryCatchFinally</B>(boolean removeTryCatchFinally)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setClosurePass(boolean)"><!-- --></A><H3>
|
|
setClosurePass</H3>
|
|
<PRE>
|
|
public void <B>setClosurePass</B>(boolean closurePass)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setGatherCssNames(boolean)"><!-- --></A><H3>
|
|
setGatherCssNames</H3>
|
|
<PRE>
|
|
public void <B>setGatherCssNames</B>(boolean gatherCssNames)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setStripTypes(java.util.Set)"><!-- --></A><H3>
|
|
setStripTypes</H3>
|
|
<PRE>
|
|
public void <B>setStripTypes</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> stripTypes)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setStripNameSuffixes(java.util.Set)"><!-- --></A><H3>
|
|
setStripNameSuffixes</H3>
|
|
<PRE>
|
|
public void <B>setStripNameSuffixes</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> stripNameSuffixes)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setStripNamePrefixes(java.util.Set)"><!-- --></A><H3>
|
|
setStripNamePrefixes</H3>
|
|
<PRE>
|
|
public void <B>setStripNamePrefixes</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> stripNamePrefixes)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setStripTypePrefixes(java.util.Set)"><!-- --></A><H3>
|
|
setStripTypePrefixes</H3>
|
|
<PRE>
|
|
public void <B>setStripTypePrefixes</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> stripTypePrefixes)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCustomPasses(com.google.common.collect.Multimap)"><!-- --></A><H3>
|
|
setCustomPasses</H3>
|
|
<PRE>
|
|
public void <B>setCustomPasses</B>(com.google.common.collect.Multimap<<A HREF="../../../../com/google/javascript/jscomp/CustomPassExecutionTime.html" title="enum in com.google.javascript.jscomp">CustomPassExecutionTime</A>,<A HREF="../../../../com/google/javascript/jscomp/CompilerPass.html" title="interface in com.google.javascript.jscomp">CompilerPass</A>> customPasses)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setMarkNoSideEffectCalls(boolean)"><!-- --></A><H3>
|
|
setMarkNoSideEffectCalls</H3>
|
|
<PRE>
|
|
public void <B>setMarkNoSideEffectCalls</B>(boolean markNoSideEffectCalls)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setDefineReplacements(java.util.Map)"><!-- --></A><H3>
|
|
setDefineReplacements</H3>
|
|
<PRE>
|
|
public void <B>setDefineReplacements</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> defineReplacements)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setTweakReplacements(java.util.Map)"><!-- --></A><H3>
|
|
setTweakReplacements</H3>
|
|
<PRE>
|
|
public void <B>setTweakReplacements</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> tweakReplacements)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setMoveFunctionDeclarations(boolean)"><!-- --></A><H3>
|
|
setMoveFunctionDeclarations</H3>
|
|
<PRE>
|
|
public void <B>setMoveFunctionDeclarations</B>(boolean moveFunctionDeclarations)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setInstrumentationTemplate(java.lang.String)"><!-- --></A><H3>
|
|
setInstrumentationTemplate</H3>
|
|
<PRE>
|
|
public void <B>setInstrumentationTemplate</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> instrumentationTemplate)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setRecordFunctionInformation(boolean)"><!-- --></A><H3>
|
|
setRecordFunctionInformation</H3>
|
|
<PRE>
|
|
public void <B>setRecordFunctionInformation</B>(boolean recordFunctionInformation)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCssRenamingMap(com.google.javascript.jscomp.CssRenamingMap)"><!-- --></A><H3>
|
|
setCssRenamingMap</H3>
|
|
<PRE>
|
|
public void <B>setCssRenamingMap</B>(<A HREF="../../../../com/google/javascript/jscomp/CssRenamingMap.html" title="interface in com.google.javascript.jscomp">CssRenamingMap</A> cssRenamingMap)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setReplaceStringsFunctionDescriptions(java.util.List)"><!-- --></A><H3>
|
|
setReplaceStringsFunctionDescriptions</H3>
|
|
<PRE>
|
|
public void <B>setReplaceStringsFunctionDescriptions</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> replaceStringsFunctionDescriptions)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setReplaceStringsPlaceholderToken(java.lang.String)"><!-- --></A><H3>
|
|
setReplaceStringsPlaceholderToken</H3>
|
|
<PRE>
|
|
public void <B>setReplaceStringsPlaceholderToken</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> replaceStringsPlaceholderToken)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setReplaceStringsReservedStrings(java.util.Set)"><!-- --></A><H3>
|
|
setReplaceStringsReservedStrings</H3>
|
|
<PRE>
|
|
public void <B>setReplaceStringsReservedStrings</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> replaceStringsReservedStrings)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setPrettyPrint(boolean)"><!-- --></A><H3>
|
|
setPrettyPrint</H3>
|
|
<PRE>
|
|
public void <B>setPrettyPrint</B>(boolean prettyPrint)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setLineBreak(boolean)"><!-- --></A><H3>
|
|
setLineBreak</H3>
|
|
<PRE>
|
|
public void <B>setLineBreak</B>(boolean lineBreak)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setPreferLineBreakAtEndOfFile(boolean)"><!-- --></A><H3>
|
|
setPreferLineBreakAtEndOfFile</H3>
|
|
<PRE>
|
|
public void <B>setPreferLineBreakAtEndOfFile</B>(boolean lineBreakAtEnd)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setPrintInputDelimiter(boolean)"><!-- --></A><H3>
|
|
setPrintInputDelimiter</H3>
|
|
<PRE>
|
|
public void <B>setPrintInputDelimiter</B>(boolean printInputDelimiter)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setInputDelimiter(java.lang.String)"><!-- --></A><H3>
|
|
setInputDelimiter</H3>
|
|
<PRE>
|
|
public void <B>setInputDelimiter</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> inputDelimiter)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setTracer(com.google.javascript.jscomp.CompilerOptions.TracerMode)"><!-- --></A><H3>
|
|
setTracer</H3>
|
|
<PRE>
|
|
public void <B>setTracer</B>(<A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.TracerMode.html" title="enum in com.google.javascript.jscomp">CompilerOptions.TracerMode</A> tracer)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setErrorFormat(com.google.javascript.jscomp.ErrorFormat)"><!-- --></A><H3>
|
|
setErrorFormat</H3>
|
|
<PRE>
|
|
public void <B>setErrorFormat</B>(<A HREF="../../../../com/google/javascript/jscomp/ErrorFormat.html" title="enum in com.google.javascript.jscomp">ErrorFormat</A> errorFormat)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setWarningsGuard(com.google.javascript.jscomp.ComposeWarningsGuard)"><!-- --></A><H3>
|
|
setWarningsGuard</H3>
|
|
<PRE>
|
|
public void <B>setWarningsGuard</B>(<A HREF="../../../../com/google/javascript/jscomp/ComposeWarningsGuard.html" title="class in com.google.javascript.jscomp">ComposeWarningsGuard</A> warningsGuard)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setLineLengthThreshold(int)"><!-- --></A><H3>
|
|
setLineLengthThreshold</H3>
|
|
<PRE>
|
|
public void <B>setLineLengthThreshold</B>(int lineLengthThreshold)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setExternExports(boolean)"><!-- --></A><H3>
|
|
setExternExports</H3>
|
|
<PRE>
|
|
public void <B>setExternExports</B>(boolean externExports)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setExternExportsPath(java.lang.String)"><!-- --></A><H3>
|
|
setExternExportsPath</H3>
|
|
<PRE>
|
|
public void <B>setExternExportsPath</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> externExportsPath)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setSourceMapOutputPath(java.lang.String)"><!-- --></A><H3>
|
|
setSourceMapOutputPath</H3>
|
|
<PRE>
|
|
public void <B>setSourceMapOutputPath</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sourceMapOutputPath)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setSourceMapDetailLevel(com.google.javascript.jscomp.SourceMap.DetailLevel)"><!-- --></A><H3>
|
|
setSourceMapDetailLevel</H3>
|
|
<PRE>
|
|
public void <B>setSourceMapDetailLevel</B>(<A HREF="../../../../com/google/javascript/jscomp/SourceMap.DetailLevel.html" title="enum in com.google.javascript.jscomp">SourceMap.DetailLevel</A> sourceMapDetailLevel)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setSourceMapFormat(com.google.javascript.jscomp.SourceMap.Format)"><!-- --></A><H3>
|
|
setSourceMapFormat</H3>
|
|
<PRE>
|
|
public void <B>setSourceMapFormat</B>(<A HREF="../../../../com/google/javascript/jscomp/SourceMap.Format.html" title="enum in com.google.javascript.jscomp">SourceMap.Format</A> sourceMapFormat)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setSourceMapLocationMappings(java.util.List)"><!-- --></A><H3>
|
|
setSourceMapLocationMappings</H3>
|
|
<PRE>
|
|
public void <B>setSourceMapLocationMappings</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../com/google/javascript/jscomp/SourceMap.LocationMapping.html" title="class in com.google.javascript.jscomp">SourceMap.LocationMapping</A>> sourceMapLocationMappings)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setTransformAMDToCJSModules(boolean)"><!-- --></A><H3>
|
|
setTransformAMDToCJSModules</H3>
|
|
<PRE>
|
|
public void <B>setTransformAMDToCJSModules</B>(boolean transformAMDToCJSModules)</PRE>
|
|
<DL>
|
|
<DD>Activates transformation of AMD to CJS modules.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setProcessCommonJSModules(boolean)"><!-- --></A><H3>
|
|
setProcessCommonJSModules</H3>
|
|
<PRE>
|
|
public void <B>setProcessCommonJSModules</B>(boolean processCommonJSModules)</PRE>
|
|
<DL>
|
|
<DD>Rewrites CommonJS modulee so that modules can be concatenated together,
|
|
by renaming all globals to avoid conflicting with other modules.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCommonJSModulePathPrefix(java.lang.String)"><!-- --></A><H3>
|
|
setCommonJSModulePathPrefix</H3>
|
|
<PRE>
|
|
public void <B>setCommonJSModulePathPrefix</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> commonJSModulePathPrefix)</PRE>
|
|
<DL>
|
|
<DD>Sets a path prefix for Common JS modules.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<HR>
|
|
|
|
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<A NAME="navbar_bottom"><!-- --></A>
|
|
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../../com/google/javascript/jscomp/CompilerInput.html" title="class in com.google.javascript.jscomp"><B>PREV CLASS</B></A>
|
|
<A HREF="../../../../com/google/javascript/jscomp/CompilerOptions.AliasTransformation.html" title="interface in com.google.javascript.jscomp"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../../index.html?com/google/javascript/jscomp/CompilerOptions.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="CompilerOptions.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_bottom"></A>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
|
|
<HR>
|
|
|
|
<div id="footer">
|
|
<div id="footerlogo">
|
|
<img src="http://www.google.com/images/art.gif"
|
|
alt="Google colored balls">
|
|
</div>
|
|
|
|
<div id="copyright">
|
|
<p>© 2009 Google -
|
|
<a href="http://www.google.com/privacy.html">Privacy Policy</a> -
|
|
<a href="http://www.google.com/terms_of_service.html">Terms and Conditions</a> -
|
|
<a href="http://www.google.com/about.html">About Google</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</BODY>
|
|
</HTML>
|