LinkedList<PVariable> arguments = node.getArguments();
String[] argumentNames = new String[arguments.size()];
int i = 0;
for (PVariable argument : arguments) {
if (!(argument instanceof ANameVariable)) {
throw new JSilverInterpreterException("Invalid name for macro '" + macroName
+ "' argument " + i + " : " + argument);
}
argumentNames[i++] = ((ANameVariable) argument).getWord().getText();
}
// TODO: Should we enforce that macro args can't repeat the same