コード例 #1
0
 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>();
 }
コード例 #2
0
 /// <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);
 }
コード例 #3
0
 public CobolExpressionsBuilder(CobolWordsBuilder cobolWordsBuilder)
 {
     CobolWordsBuilder = cobolWordsBuilder;
 }