Class SwitchGenerator
- java.lang.Object
-
- org.mozilla.javascript.tools.idswitch.SwitchGenerator
-
public class SwitchGenerator extends Object
-
-
Constructor Summary
Constructors Constructor Description SwitchGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
generateSwitch(String[] pairs, String default_value)
void
generateSwitch(IdValuePair[] pairs, String default_value)
org.mozilla.javascript.tools.idswitch.CodePrinter
getCodePrinter()
ToolErrorReporter
getReporter()
String
getSourceFileName()
void
setCodePrinter(org.mozilla.javascript.tools.idswitch.CodePrinter value)
void
setReporter(ToolErrorReporter value)
void
setSourceFileName(String value)
-
-
-
Method Detail
-
getCodePrinter
public org.mozilla.javascript.tools.idswitch.CodePrinter getCodePrinter()
-
setCodePrinter
public void setCodePrinter(org.mozilla.javascript.tools.idswitch.CodePrinter value)
-
getReporter
public ToolErrorReporter getReporter()
-
setReporter
public void setReporter(ToolErrorReporter value)
-
getSourceFileName
public String getSourceFileName()
-
setSourceFileName
public void setSourceFileName(String value)
-
generateSwitch
public void generateSwitch(IdValuePair[] pairs, String default_value)
-
-