public class Macro
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Macro.Variable
Variable.
|
| Constructor and Description |
|---|
Macro() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Macro.Variable tkn)
Adds a new macro to the token list.
|
void |
add(java.lang.String str)
Adds a new literal string to the token list.
|
java.lang.String |
toString(java.util.Map dictionary)
Expands all the variables with a given dictionary
|
public void add(java.lang.String str)
public void add(Macro.Variable tkn)
public java.lang.String toString(java.util.Map dictionary)
throws NoDefinitionException
String - to string dictionary.NoDefinitionException - thrown when there's a variable whose definition is not given
by the specified dictionary.