예제 #1
0
 public DimAST(FileAST astFile, SectionNameRaw nameSection, SectionExtendsRaw extendsSection, SectionPropertiesRaw propertiesSection)
     : base(astFile)//, nameSection)
 {
     DimNameSection = new SectionDimName(nameSection);
     Extends        = new SectionExtendsDim(extendsSection);
     Properties     = new SectionPropertiesDim(this, propertiesSection);
 }
예제 #2
0
파일: ClassAST.cs 프로젝트: pyzh/ZLanguage3
        public ClassAST(FileAST astFile, SectionNameRaw nameSection, SectionExtendsRaw extendsSection
                        , SectionPropertiesRaw propertiesSection)
            : base(astFile)
        {
            this.ClassContext = new ContextClass(this.FileContext);
            ClassNameSection  = new SectionClassName(nameSection);
            Constructors      = new List <ProcConstructorBase>();
            Methods           = new List <ProcMethod>();


            Extends = new SectionExtendsClass(this, extendsSection);

            if (propertiesSection != null)
            {
                Properties = new SectionPropertiesClass(this, propertiesSection);
            }
        }
예제 #3
0
 public SectionUse(FileAST fileAST, SectionUseRaw raw)
 {
     ASTFile = fileAST;
     Raw     = raw;
 }
예제 #4
0
        //public SectionExtends ExtendsSection;
        //public SectionProperties PropertiesSection;

        public TypeAST(FileAST astFile)//, SectionNameRaw nameSection) //, SectionExtends extendsSection)//, SectionProperties propertiesSection)
        {
            ASTFile = astFile;
            //NameSection = new SectionName ( nameSection);
        }
예제 #5
0
 public SectionImport(FileAST fileAST, SectionImportRaw sectionImportRaw)
 {
     ASTFile = fileAST;
     Raw     = sectionImportRaw;
 }