internal IntegerVariable CreateIntegerVariableOrIndex(CodeElementsParser.IntegerVariableOrIndex2Context context)
 {
     if (context.qualifiedDataNameOrIndexName() != null)
     {
         return new IntegerVariable(
             new DataOrConditionStorageArea(
                 CobolWordsBuilder.CreateQualifiedDataNameOrIndexName(context.qualifiedDataNameOrIndexName())));
     }
     else
     {
         return new IntegerVariable(
             CobolWordsBuilder.CreateIntegerValue(context.integerValue()));
     }
 }
        internal IntegerVariable CreateIntegerVariableOrIndex(CodeElementsParser.IntegerVariableOrIndex2Context context)
        {
            IntegerVariable variable = null;
            if (context.qualifiedDataNameOrIndexName() != null)
            {
                variable = new IntegerVariable(
                    new DataOrConditionStorageArea(
                        CobolWordsBuilder.CreateQualifiedDataNameOrIndexName(context.qualifiedDataNameOrIndexName())));
            }
            else
            {
                variable = new IntegerVariable(
                    CobolWordsBuilder.CreateIntegerValue(context.integerValue()));
            }

            // Collect storage area read/writes at the code element level
            if (variable.StorageArea != null)
            {
                this.storageAreaReads.Add(variable.StorageArea);
            }

            return variable;
        }