Exemple #1
0
 public BicepFile(BicepFile original)
 {
     FileUri       = original.FileUri;
     LineStarts    = original.LineStarts;
     ProgramSyntax = original.ProgramSyntax;
     Hierarchy     = original.Hierarchy;
 }
Exemple #2
0
 public BicepFile(BicepFile original)
 {
     FileUri                  = original.FileUri;
     LineStarts               = original.LineStarts;
     ProgramSyntax            = original.ProgramSyntax;
     Hierarchy                = original.Hierarchy;
     DisabledDiagnosticsCache = original.DisabledDiagnosticsCache;
 }
Exemple #3
0
 public SourceFileGrouping(
     IFileResolver fileResolver,
     BicepFile entryPoint,
     ImmutableHashSet <ISourceFile> sourceFiles,
     ImmutableDictionary <ModuleDeclarationSyntax, ISourceFile> sourceFilesByModuleDeclaration,
     ImmutableDictionary <ISourceFile, ImmutableHashSet <ISourceFile> > sourceFileParentLookup,
     ImmutableDictionary <ModuleDeclarationSyntax, ErrorBuilderDelegate> errorBuildersByModuleDeclaration,
     ImmutableHashSet <ModuleDeclarationSyntax> modulesToRestore)
 {
     this.FileResolver = fileResolver;
     this.EntryPoint   = entryPoint;
     this.SourceFiles  = sourceFiles;
     this.SourceFilesByModuleDeclaration   = sourceFilesByModuleDeclaration;
     this.SourceFileParentLookup           = sourceFileParentLookup;
     this.ErrorBuildersByModuleDeclaration = errorBuildersByModuleDeclaration;
     this.ModulesToRestore = modulesToRestore;
 }