public override void ExitParameter(ArgumentsParser.ParameterContext context)
 {
     string[] existingValues;
     if (currentKey == null)
     {
         Trace.TraceError("currentKey is null in ExitParameter");
         return;
     }
     if (optionsDic.TryGetValue(currentKey, out existingValues))//to support multiple instances of the same parameter
     {
         currentValues.InsertRange(0, existingValues);
         optionsDic[currentKey] = currentValues.ToArray();
     }
     else
     {
         optionsDic.Add(currentKey, currentValues.ToArray());
     }
 }
 public override void EnterParameter(ArgumentsParser.ParameterContext context)
 {
     currentValues = new List <string>();
 }