Exemplo n.º 1
0
 public BicepFile(BicepFile original)
 {
     FileUri       = original.FileUri;
     LineStarts    = original.LineStarts;
     ProgramSyntax = original.ProgramSyntax;
     Hierarchy     = original.Hierarchy;
 }
Exemplo n.º 2
0
 public BicepFile(BicepFile original)
 {
     FileUri                  = original.FileUri;
     LineStarts               = original.LineStarts;
     ProgramSyntax            = original.ProgramSyntax;
     Hierarchy                = original.Hierarchy;
     DisabledDiagnosticsCache = original.DisabledDiagnosticsCache;
 }
Exemplo n.º 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;
 }