|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void parseCommandLine(String[] argsArray) throws ParseException { |
|
|
public void parseCommandLine(String[] argsArray) throws ParseException { |
|
|
location = new CommandLineLocation(); |
|
|
location = new CommandLineLocation(); |
|
|
LinkedList args = new LinkedList(); |
|
|
|
|
|
|
|
|
LinkedList<Arg> args = new LinkedList<Arg>(); |
|
|
for (int i = 0; i < argsArray.length; i++) { |
|
|
for (int i = 0; i < argsArray.length; i++) { |
|
|
args.add(new Arg(argsArray[i], location)); |
|
|
args.add(new Arg(argsArray[i], location)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
LinkedList args = new LinkedList(); |
|
|
|
|
|
|
|
|
LinkedList<Arg> args = new LinkedList<Arg>(); |
|
|
int lineNum = 0; |
|
|
int lineNum = 0; |
|
|
|
|
|
|
|
|
try { |
|
|
try { |