Exemple #1
0
 public ContextFile(ContextProject projectContext, SourceFileModel fileModel)
 {
     ProjectContext   = projectContext;
     FileModel        = fileModel;
     ImportUseContext = new ContextImportUse(this);
     _KeyContext      = FileModel.GeneratedClassName;
 }
Exemple #2
0
        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;
        }