public CobolExpressionsBuilder(CobolWordsBuilder cobolWordsBuilder) { CobolWordsBuilder = cobolWordsBuilder; storageAreaDefinitions = new Dictionary<SymbolDefinition, DataDescriptionEntry>(); storageAreaReads = new List<StorageArea>(); storageAreaWrites = new List<ReceivingStorageArea>(); callTarget = null; callSites = new List<CallSite>(); }
/// <summary>Initialization code run before parsing each new COBOL CodeElement</summary> public override void EnterCodeElement(CodeElementsParser.CodeElementContext context) { CodeElement = null; Context = null; CobolWordsBuilder = new CobolWordsBuilder(new Dictionary<Token, SymbolInformation>()); CobolExpressionsBuilder = new CobolExpressionsBuilder(CobolWordsBuilder); CobolStatementsBuilder = new CobolStatementsBuilder(CobolWordsBuilder, CobolExpressionsBuilder); }
public CobolExpressionsBuilder(CobolWordsBuilder cobolWordsBuilder) { CobolWordsBuilder = cobolWordsBuilder; }