- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 28 of file ParserMacro.java.
◆ ParserMacro()
org.turro.parser.ParserMacro.ParserMacro |
( |
String |
macroName, |
|
|
int |
order |
|
) |
| |
◆ addParameter() [1/3]
ParserMacro org.turro.parser.ParserMacro.addParameter |
( |
String |
name, |
|
|
boolean |
optional |
|
) |
| |
Definition at line 51 of file ParserMacro.java.
ParserMacro addParameter(String name, boolean optional)
◆ addParameter() [2/3]
ParserMacro org.turro.parser.ParserMacro.addParameter |
( |
String |
name, |
|
|
boolean |
optional, |
|
|
String |
defaultValue |
|
) |
| |
◆ addParameter() [3/3]
ParserMacro org.turro.parser.ParserMacro.addParameter |
( |
String |
name, |
|
|
boolean |
optional, |
|
|
String |
defaultValue, |
|
|
boolean |
commaSeparated |
|
) |
| |
Definition at line 59 of file ParserMacro.java.
60 parameters.add(
new ParserParameter(name, optional, defaultValue, parameters.size() + 1, commaSeparated));
◆ addPossibleValue()
ParserMacro org.turro.parser.ParserMacro.addPossibleValue |
( |
String |
value | ) |
|
Definition at line 64 of file ParserMacro.java.
65 if(!parameters.isEmpty()) {
66 parameters.last().addPossibleValue(value);
◆ compareTo()
int org.turro.parser.ParserMacro.compareTo |
( |
ParserMacro |
o | ) |
|
Definition at line 81 of file ParserMacro.java.
82 int result = CompareUtil.compare(order, o.order);
83 if(result == 0) CompareUtil.compare(macroName, o.macroName);
◆ copyParametersFrom()
void org.turro.parser.ParserMacro.copyParametersFrom |
( |
String |
macroName, |
|
|
ParserMacroSet |
macros |
|
) |
| |
Definition at line 71 of file ParserMacro.java.
73 if(macro.getMacroName().equals(macroName)) {
74 macros.copyParametersTo(macro,
this);
ParserMacro(String macroName, int order)
◆ getMacroName()
String org.turro.parser.ParserMacro.getMacroName |
( |
| ) |
|
◆ getOrder()
int org.turro.parser.ParserMacro.getOrder |
( |
| ) |
|
◆ getParameters()
The documentation for this class was generated from the following file: