コード例 #1
0
ファイル: UseStyle.cs プロジェクト: nguyenhuuhuy/mygeneration
 public override void init(ConfigurationUtility utility, ConfigFile theParent)
 {
     base.init(utility, theParent);
     if (cls != null && cls.Length > 0)
     {
         inheritstyle = cls;
     }
 }
コード例 #2
0
 public override void init(ConfigurationUtility utility, ConfigFile theParent)
 {
     base.init(utility, theParent);
     if (cls != null && cls.Length > 0)
     {
         inheritstyle = cls;
     }
 }
コード例 #3
0
 public virtual void init(ConfigurationUtility utility, ConfigFile theParent)
 {
     if (theParent == null)
     {
         _parent = (ConfigFile)this;
     }
     else
     {
         _parent = theParent;
     }
 }
コード例 #4
0
ファイル: configitem.cs プロジェクト: zhh007/MyGen
 public virtual void init(ConfigurationUtility utility, ConfigFile theParent)
 {
     if (theParent == null)
     {
         _parent = (ConfigFile)this;
     }
     else
     {
         _parent = theParent;
     }
 }
コード例 #5
0
 public override void init(ConfigurationUtility utility, ConfigFile theParent)
 {
     ConfigFile configFile = null;
     includedFiles = new ConfigFile[0];
     base.init(utility, theParent);
     if (includes == null)
     {
         includes = new include[0];
     }
     for (int j = 0; j < includes.Length; j++)
     {
         includes[j].init(utility, _parent);
     }
     for (int i = 0; i < includes.Length; i++)
     {
         configFile = (ConfigFile)utility.LoadConfiguration(base.GetType(), includes[i].file, (ConfigFile)_parent);
         addIncludedFile(configFile);
     }
     CollectScintillaNodes(null);
 }
コード例 #6
0
ファイル: configfile.cs プロジェクト: kirillsk1/Generator
        public override void init(ConfigurationUtility utility, ConfigFile theParent)
        {
            ConfigFile configFile = null;

            includedFiles = new ConfigFile[0];
            base.init(utility, theParent);
            if (includes == null)
            {
                includes = new include[0];
            }
            for (int j = 0; j < includes.Length; j++)
            {
                includes[j].init(utility, _parent);
            }
            for (int i = 0; i < includes.Length; i++)
            {
                configFile = (ConfigFile)utility.LoadConfiguration(base.GetType(), includes[i].file, (ConfigFile)_parent);
                addIncludedFile(configFile);
            }
            CollectScintillaNodes(null);
        }
コード例 #7
0
ファイル: Language.cs プロジェクト: nguyenhuuhuy/mygeneration
 public override void init(ConfigurationUtility utility, ConfigFile theParent)
 {
     base.init(utility, theParent);
     if (usekeywords == null)
     {
         usekeywords = new UseKeyword[0];
     }
     if (usestyles == null)
     {
         usestyles = new UseStyle[0];
     }
     for (int j = 0; j < usekeywords.Length; j++)
     {
         usekeywords[j].init(utility, _parent);
     }
     for (int i = 0; i < usestyles.Length; i++)
     {
         usestyles[i].init(utility, _parent);
     }
     if (lexer != null)
     {
         lexer.init(utility, _parent);
     }
 }
コード例 #8
0
ファイル: Language.cs プロジェクト: kirillsk1/Generator
 public override void init(ConfigurationUtility utility, ConfigFile theParent)
 {
     base.init(utility, theParent);
     if (usekeywords == null)
     {
         usekeywords = new UseKeyword[0];
     }
     if (usestyles == null)
     {
         usestyles = new UseStyle[0];
     }
     for (int j = 0; j < usekeywords.Length; j++)
     {
         usekeywords[j].init(utility, _parent);
     }
     for (int i = 0; i < usestyles.Length; i++)
     {
         usestyles[i].init(utility, _parent);
     }
     if (lexer != null)
     {
         lexer.init(utility, _parent);
     }
 }
コード例 #9
0
 public override void init(ConfigurationUtility utility, ConfigFile theParent)
 {
     base.init(utility, theParent);
     if (languages == null)
     {
         languages = new Language[0];
     }
     if (styleclasses == null)
     {
         styleclasses = new StyleClass[0];
     }
     if (keywordclass == null)
     {
         keywordclass = new KeywordClass[0];
     }
     if (globals == null)
     {
         globals = new Value[0];
     }
     for (int i2 = 0; i2 < languages.Length; i2++)
     {
         languages[i2].init(utility, _parent);
     }
     for (int k = 0; k < styleclasses.Length; k++)
     {
         styleclasses[k].init(utility, _parent);
     }
     for (int j = 0; j < keywordclass.Length; j++)
     {
         keywordclass[j].init(utility, _parent);
     }
     for (int i1 = 0; i1 < globals.Length; i1++)
     {
         globals[i1].init(utility, _parent);
     }
 }
コード例 #10
0
 public override void init(ConfigurationUtility utility, ConfigFile theParent)
 {
     base.init(utility, theParent);
     if (languages == null)
     {
         languages = new Language[0];
     }
     if (styleclasses == null)
     {
         styleclasses = new StyleClass[0];
     }
     if (keywordclass == null)
     {
         keywordclass = new KeywordClass[0];
     }
     if (globals == null)
     {
         globals = new Value[0];
     }
     for (int i2 = 0; i2 < languages.Length; i2++)
     {
         languages[i2].init(utility, _parent);
     }
     for (int k = 0; k < styleclasses.Length; k++)
     {
         styleclasses[k].init(utility, _parent);
     }
     for (int j = 0; j < keywordclass.Length; j++)
     {
         keywordclass[j].init(utility, _parent);
     }
     for (int i1 = 0; i1 < globals.Length; i1++)
     {
         globals[i1].init(utility, _parent);
     }
 }