Class SwitchGenerator


  • public class SwitchGenerator
    extends Object
    • Constructor Detail

      • SwitchGenerator

        public SwitchGenerator()
    • Method Detail

      • getCodePrinter

        public org.mozilla.javascript.tools.idswitch.CodePrinter getCodePrinter()
      • setCodePrinter

        public void setCodePrinter​(org.mozilla.javascript.tools.idswitch.CodePrinter value)
      • getSourceFileName

        public String getSourceFileName()
      • setSourceFileName

        public void setSourceFileName​(String value)
      • generateSwitch

        public void generateSwitch​(String[] pairs,
                                   String default_value)
      • generateSwitch

        public void generateSwitch​(IdValuePair[] pairs,
                                   String default_value)