internal CharacterVariable CreateCharacterVariable(CodeElementsParser.CharacterVariableContext context) { CharacterVariable variable = null; if (context.dataNameReference() != null) { variable = new CharacterVariable( new DataOrConditionStorageArea( CobolWordsBuilder.CreateDataNameReference(context.dataNameReference()))); } else { variable = new CharacterVariable( CobolWordsBuilder.CreateCharacterValue(context.characterValue4())); } // Collect storage area read/writes at the code element level if (variable.StorageArea != null) { this.storageAreaReads.Add(variable.StorageArea); } return variable; }
public virtual bool Visit(CharacterVariable characterVariable) { return(true); }