Пример #1
0
 public ProgramClassDocument(CodeElementsDocument previousStepSnapshot, int programClassVersion, Program program, Class classObj, IList <ParserDiagnostic> diagnostics)
 {
     TextSourceInfo       = previousStepSnapshot.TextSourceInfo;
     PreviousStepSnapshot = previousStepSnapshot;
     CurrentVersion       = programClassVersion;
     Program     = program;
     Class       = classObj;
     Diagnostics = diagnostics;
 }
Пример #2
0
 public ProgramClassDocument(CodeElementsDocument previousStepSnapshot, int programClassVersion, SourceFile root, IList <ParserDiagnostic> diagnostics, Dictionary <CodeElement, Node> nodeCodeElementLinkers)
 {
     TextSourceInfo       = previousStepSnapshot.TextSourceInfo;
     PreviousStepSnapshot = previousStepSnapshot;
     CurrentVersion       = programClassVersion;
     Root                   = root;
     Diagnostics            = diagnostics;
     NodeCodeElementLinkers = nodeCodeElementLinkers;
 }
 public TemporarySemanticDocument(CodeElementsDocument previousSnapShot, DocumentVersion <ICodeElementsLine> codeElementsLinesVersion, ISearchableReadOnlyList <ICodeElementsLine> codeElementsLines, SourceFile root, [NotNull] List <Diagnostic> diagnostics, Dictionary <CodeElement, Node> nodeCodeElementLinkers)
 {
     PreviousStepSnapshot = previousSnapShot;
     Root                   = root;
     Diagnostics            = diagnostics;
     NodeCodeElementLinkers = nodeCodeElementLinkers;
     TextSourceInfo         = previousSnapShot.TextSourceInfo;
     CurrentVersion         = codeElementsLinesVersion;
     Lines                  = codeElementsLines;
 }