|
71 | 71 | marked with @export
|
72 | 72 | --help : Displays this message on stdout and
|
73 | 73 | exit
|
| 74 | + --hide_warnings_for VAL : If specified, files whose path |
| 75 | + contains this string will have their |
| 76 | + warnings hidden. You may specify |
| 77 | + multiple. |
74 | 78 | --instrumentation_template VAL : A file containing an instrumentation
|
75 | 79 | template.
|
| 80 | + --j2cl_pass : Rewrite J2CL output to be compiler-fri |
| 81 | + endly. |
76 | 82 | --js VAL : The JavaScript filename. You may
|
77 | 83 | specify multiple. The flag name is
|
78 | 84 | optional, because args are interpreted
|
|
98 | 104 | ecks, invalidCasts, misplacedTypeAnnot
|
99 | 105 | ation, missingGetCssName, missingPrope
|
100 | 106 | rties, missingProvide, missingRequire,
|
101 |
| - missingReturn, msgDescriptionsnewCheck |
102 |
| - Types, nonStandardJsDocs, reportUnknow |
103 |
| - nTypes, suspiciousCode, strictModuleDe |
104 |
| - pCheck, typeInvalidation, undefinedNam |
105 |
| - es, undefinedVars, unknownDefines, |
106 |
| - unnecessaryCasts, uselessCode, |
107 |
| - useOfGoogBase, visibility. '*' adds |
108 |
| - all supported. |
| 107 | + missingReturn, msgDescriptions, |
| 108 | + newCheckTypes, nonStandardJsDocs, |
| 109 | + reportUnknownTypes, suspiciousCode, |
| 110 | + strictModuleDepCheck, typeInvalidation |
| 111 | + , undefinedNames, undefinedVars, |
| 112 | + unknownDefines, unnecessaryCasts, |
| 113 | + unusedLocalVariables, unusedPrivateMem |
| 114 | + bers, uselessCode, useOfGoogBase, |
| 115 | + visibility. '*' adds all supported. |
109 | 116 | --jscomp_off VAL : Turn off the named class of warnings.
|
110 | 117 | Options:accessControls, ambiguousFunct
|
111 | 118 | ionDecl, checkEventfulObjectDisposal,
|
|
119 | 126 | ecks, invalidCasts, misplacedTypeAnnot
|
120 | 127 | ation, missingGetCssName, missingPrope
|
121 | 128 | rties, missingProvide, missingRequire,
|
122 |
| - missingReturn, msgDescriptionsnewCheck |
123 |
| - Types, nonStandardJsDocs, reportUnknow |
124 |
| - nTypes, suspiciousCode, strictModuleDe |
125 |
| - pCheck, typeInvalidation, undefinedNam |
126 |
| - es, undefinedVars, unknownDefines, |
127 |
| - unnecessaryCasts, uselessCode, |
128 |
| - useOfGoogBase, visibility. '*' adds |
129 |
| - all supported. |
| 129 | + missingReturn, msgDescriptions, |
| 130 | + newCheckTypes, nonStandardJsDocs, |
| 131 | + reportUnknownTypes, suspiciousCode, |
| 132 | + strictModuleDepCheck, typeInvalidation |
| 133 | + , undefinedNames, undefinedVars, |
| 134 | + unknownDefines, unnecessaryCasts, |
| 135 | + unusedLocalVariables, unusedPrivateMem |
| 136 | + bers, uselessCode, useOfGoogBase, |
| 137 | + visibility. '*' adds all supported. |
130 | 138 | --jscomp_warning VAL : Make the named class of warnings a
|
131 | 139 | normal warning. Options:accessControls
|
132 | 140 | , ambiguousFunctionDecl, checkEventful
|
|
140 | 148 | ecks, invalidCasts, misplacedTypeAnnot
|
141 | 149 | ation, missingGetCssName, missingPrope
|
142 | 150 | rties, missingProvide, missingRequire,
|
143 |
| - missingReturn, msgDescriptionsnewCheck |
144 |
| - Types, nonStandardJsDocs, reportUnknow |
145 |
| - nTypes, suspiciousCode, strictModuleDe |
146 |
| - pCheck, typeInvalidation, undefinedNam |
147 |
| - es, undefinedVars, unknownDefines, |
148 |
| - unnecessaryCasts, uselessCode, |
149 |
| - useOfGoogBase, visibility. '*' adds |
150 |
| - all supported. |
| 151 | + missingReturn, msgDescriptions, |
| 152 | + newCheckTypes, nonStandardJsDocs, |
| 153 | + reportUnknownTypes, suspiciousCode, |
| 154 | + strictModuleDepCheck, typeInvalidation |
| 155 | + , undefinedNames, undefinedVars, |
| 156 | + unknownDefines, unnecessaryCasts, |
| 157 | + unusedLocalVariables, unusedPrivateMem |
| 158 | + bers, uselessCode, useOfGoogBase, |
| 159 | + visibility. '*' adds all supported. |
| 160 | + --json_streams [NONE | IN | OUT | : Specifies whether standard input and |
| 161 | + BOTH] : output streams will be a JSON array |
| 162 | + of sources. Each source will be an |
| 163 | + object of the form {path: filename, |
| 164 | + src: file_contents, srcmap: srcmap_con |
| 165 | + tents }. Intended for use by stream-ba |
| 166 | + sed build systems such as gulpjs. |
| 167 | + Options: NONE, IN, OUT, BOTH. |
| 168 | + Defaults to NONE. |
151 | 169 | --jszip VAL : The JavaScript zip filename. You may
|
152 | 170 | specify multiple.
|
153 | 171 | --language_in VAL : Sets what language spec that input
|
154 |
| - sources conform. Options: ECMASCRIPT3 |
155 |
| - (default), ECMASCRIPT5, ECMASCRIPT5_ST |
156 |
| - RICT, ECMASCRIPT6, ECMASCRIPT6_STRICT, |
157 |
| - ECMASCRIPT6_TYPED (experimental) |
| 172 | + sources conform. Options: ECMASCRIPT3, |
| 173 | + ECMASCRIPT5, ECMASCRIPT5_STRICT, |
| 174 | + ECMASCRIPT6 (default), ECMASCRIPT6_STR |
| 175 | + ICT, ECMASCRIPT6_TYPED (experimental) |
158 | 176 | --language_out VAL : Sets what language spec the output
|
159 |
| - should conform to. If omitted, |
160 |
| - defaults to the value of language_in. |
161 |
| - Options: ECMASCRIPT3, ECMASCRIPT5, |
162 |
| - ECMASCRIPT5_STRICT, ECMASCRIPT6_TYPED |
163 |
| - (experimental) |
| 177 | + should conform to. Options: ECMASCRIPT |
| 178 | + 3 (default), ECMASCRIPT5, ECMASCRIPT5_ |
| 179 | + STRICT, ECMASCRIPT6_TYPED (experimenta |
| 180 | + l) |
164 | 181 | --logging_level VAL : The logging level (standard java.util.
|
165 | 182 | logging.Level values) for Compiler
|
166 | 183 | progress. Does not control errors or
|
|
0 commit comments