public class SwitchGenerator
extends java.lang.Object
Constructor and Description |
---|
SwitchGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
generateSwitch(IdValuePair[] pairs,
java.lang.String default_value) |
void |
generateSwitch(java.lang.String[] pairs,
java.lang.String default_value) |
org.mozilla.javascript.tools.idswitch.CodePrinter |
getCodePrinter() |
ToolErrorReporter |
getReporter() |
java.lang.String |
getSourceFileName() |
void |
setCodePrinter(org.mozilla.javascript.tools.idswitch.CodePrinter value) |
void |
setReporter(ToolErrorReporter value) |
void |
setSourceFileName(java.lang.String value) |
public org.mozilla.javascript.tools.idswitch.CodePrinter getCodePrinter()
public void setCodePrinter(org.mozilla.javascript.tools.idswitch.CodePrinter value)
public ToolErrorReporter getReporter()
public void setReporter(ToolErrorReporter value)
public java.lang.String getSourceFileName()
public void setSourceFileName(java.lang.String value)
public void generateSwitch(java.lang.String[] pairs, java.lang.String default_value)
public void generateSwitch(IdValuePair[] pairs, java.lang.String default_value)
Copyright © 2010 - 2020 Adobe. All Rights Reserved