Package com.google.javascript.jscomp
Class CompilerOptionsPreprocessor
java.lang.Object
com.google.javascript.jscomp.CompilerOptionsPreprocessor
Checks for combinations of options that are incompatible, i.e. will produce incorrect code.
This is run by Compiler#compileInternal, which is not run during unit tests. The catch is that it's run after Compiler#initOptions, so if for example you want to change the warningsGuard, you can't do it here.
Also, turns off options if the provided options don't make sense together.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Exception to indicate incompatible options in the CompilerOptions. -
Method Summary