public void setLanguageOut ( LanguageMode languageOut ) { checkState ( languageOut != LanguageMode . UNSUPPORTED ) ; if ( languageOut == LanguageMode . NO_TRANSPILE ) { languageOutIsDefaultStrict = Optional . absent ( ) ; outputFeatureSet = Optional . absent ( ) ; } else { languageOut = languageOut == LanguageMode . STABLE ? LanguageMode . STABLE_OUT : languageOut ; languageOutIsDefaultStrict = Optional . of ( languageOut . isDefaultStrict ( ) ) ; setOutputFeatureSet ( languageOut . toFeatureSet ( ) ) ; } }
Sets ECMAScript version to use for the output .