◆ addDefaultsFor()
void org.turro.parser.ParserMacroSet.addDefaultsFor |
( |
String |
name, |
|
|
ParserMacroSet |
macros |
|
) |
| |
Definition at line 45 of file ParserMacroSet.java.
ParserMacro addMacro(String macroName)
void copyParametersFrom(String macroName, ParserMacroSet macros)
◆ addMacro()
ParserMacro org.turro.parser.ParserMacroSet.addMacro |
( |
String |
macroName | ) |
|
Definition at line 29 of file ParserMacroSet.java.
30 ParserMacro pm =
new ParserMacro(macroName, size());
◆ copyParametersTo()
Definition at line 35 of file ParserMacroSet.java.
36 for(ParserParameter parameter : origin.getParameters()) {
37 destiny.addParameter(parameter.getName(), parameter.isOptional(),
38 parameter.getDefaultValue(), parameter.isCommaSeparated());
39 for(String value : parameter.getPossibleValues()) {
40 destiny.addPossibleValue(value);
The documentation for this class was generated from the following file: