public ContextFile(ContextProject projectContext, SourceFileModel fileModel) { ProjectContext = projectContext; FileModel = fileModel; ImportUseContext = new ContextImportUse(this); _KeyContext = FileModel.GeneratedClassName; }
public ContextFile(ContextProject projectContext, ZFileModel fileModel) { ProjectContext = projectContext; FileModel = fileModel; //CompiledContext = new CompiledContext(); UseContext = new ContextUse(); //this.ImportCollectionContext = new ImportCollectionContext(); //this.ImportCollectionContext.SetFileContext(this); this.UseContext.SetFileContext(this); //PreDimCollectionContext = new PreDimCollectionContext(); ImportContext = new ContextImport(); ClassContext = new ContextClass(this); SymbolTable = UseContext.SymbolTable; }