Exemple #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);
 }
Exemple #2
0
        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);
            }
        }
Exemple #3
0
 public SectionUse(FileAST fileAST, SectionUseRaw raw)
 {
     ASTFile = fileAST;
     Raw     = raw;
 }
Exemple #4
0
        //public SectionExtends ExtendsSection;
        //public SectionProperties PropertiesSection;

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