예제 #1
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;
        }
예제 #2
0
 public ContextImportUse(ContextFile fileContext)
 {
     FileContext        = fileContext;
     ContextFileManager = new ContextImportTypes(fileContext);
     useContext         = new ContextUse();
 }