Esempio n. 1
0
        public void AnalyTypeName()
        {
            ClassContext = new ContextClass(this.FileContext);

            if (ImporteSection != null)
            {
                ImporteSection.FileContext = this.FileContext;
            }
            if (UseSection != null)
            {
                UseSection.FileContext = this.FileContext;
            }


            if (ClassSection != null)
            {
                ClassSection.FileContext = this.FileContext;
            }

            string fileName = this.FileContext.FileModel.GetFileNameNoEx();

            if (DimSection != null)
            {
                DimSection.FileContext = this.FileContext;
                DimSection.IsInClass   = true;
                DimSection.AnalyName(fileName);
            }

            ClassSection.Analy(this.FileModel.GetFileNameNoEx(), this.ClassContext);
            ClassContext.IsStaticClass = ClassSection.IsStatic;
        }
Esempio n. 2
0
        public void AnalyTypeName()
        {
            this.FileContext = new ContextFile(this.ProjectContext, this.FileModel);

            //DimSection.IsSingle = true;
            DimSection.FileContext = this.FileContext;
            typeName = DimSection.AnalyName(this.FileContext.FileModel.GetFileNameNoEx());
        }