示例#1
0
        // Group: Functions
        // __________________________________________________________________________


        /* Constructor: TextFileParser
         */
        public TextFileParser()
        {
            yesRegex   = new Regex.Config.Yes();
            noRegex    = new Regex.Config.No();
            startRegex = new Regex.CommentTypes.ScopeStart();
            endRegex   = new Regex.CommentTypes.ScopeEnd();

            nonASCIILettersRegex = new Regex.NonASCIILetters();

            ignoreKeywordsRegex              = new Regex.CommentTypes.IgnoreKeywords();
            commentTypeRegex                 = new Regex.CommentTypes.CommentType();
            alterCommentTypeRegex            = new Regex.CommentTypes.AlterCommentType();
            displayNameRegex                 = new Regex.CommentTypes.DisplayName();
            pluralDisplayNameRegex           = new Regex.CommentTypes.PluralDisplayName();
            displayNameFromLocaleRegex       = new Regex.CommentTypes.DisplayNameFromLocale();
            pluralDisplayNameFromLocaleRegex = new Regex.CommentTypes.PluralDisplayNameFromLocale();
            flagsRegex             = new Regex.CommentTypes.Flags();
            documentationRegex     = new Regex.CommentTypes.Documentation();
            variableTypeRegex      = new Regex.CommentTypes.VariableType();
            classHierarchyRegex    = new Regex.CommentTypes.ClassHierarchy();
            databaseHierarchyRegex = new Regex.CommentTypes.DatabaseHierarchy();
            enumRegex       = new Regex.CommentTypes.Enum();
            breakListsRegex = new Regex.CommentTypes.BreakLists();
            keywordsRegex   = new Regex.CommentTypes.Keywords();
            languageSpecificKeywordsRegex = new Regex.CommentTypes.LanguageSpecificKeywords();
            commaSeparatorRegex           = new Regex.CondensedWhitespaceCommaSeparator();
            alwaysGlobalRegex             = new Regex.CommentTypes.ScopeAlwaysGlobal();
            tagsRegex = new Regex.CommentTypes.Tags();
        }
示例#2
0
        // Group: Functions
        // __________________________________________________________________________


        /* Constructor: Project_txt
         */
        public Project_txt()
        {
            errorList     = null;
            projectConfig = null;

            yesRegex = new Regex.Config.Yes();
            noRegex  = new Regex.Config.No();

            subtitleRegex       = new Regex.Config.Subtitle();
            timestampRegex      = new Regex.Config.Timestamp();
            tabWidthRegex       = new Regex.Config.TabWidth();
            documentedOnlyRegex = new Regex.Config.DocumentedOnly();
            autoGroupRegex      = new Regex.Config.AutoGroup();

            sourceFolderRegex               = new Regex.Config.SourceFolder();
            imageFolderRegex                = new Regex.Config.ImageFolder();
            htmlOutputFolderRegex           = new Regex.Config.HTMLOutputFolder();
            ignoredSourceFolderRegex        = new Regex.Config.IgnoredSourceFolder();
            ignoredSourceFolderPatternRegex = new Regex.Config.IgnoredSourceFolderPattern();
        }
示例#3
0
        // Group: Functions
        // __________________________________________________________________________


        /* Constructor: Languages_txt
         */
        public Languages_txt()
        {
            yesRegex = new Regex.Config.Yes();
            noRegex  = new Regex.Config.No();

            nonASCIILettersRegex = new Regex.NonASCIILetters();

            addReplaceAliasesRegex        = new Regex.Languages.AddReplaceAliases();
            addReplaceExtensionsRegex     = new Regex.Languages.AddReplaceExtensions();
            addReplaceShebangStringsRegex = new Regex.Languages.AddReplaceShebangStrings();
            aliasesRegex          = new Regex.Languages.Aliases();
            alterLanguageRegex    = new Regex.Languages.AlterLanguage();
            blockCommentsRegex    = new Regex.Languages.BlockComments();
            enumValuesRegex       = new Regex.Languages.EnumValues();
            extensionsRegex       = new Regex.Languages.Extensions();
            ignorePrefixesRegex   = new Regex.Languages.IgnorePrefixes();
            ignoreExtensionsRegex = new Regex.Languages.IgnoreExtensions();
            lineCommentsRegex     = new Regex.Languages.LineComments();
            prototypeEndersRegex  = new Regex.Languages.PrototypeEnders();
            shebangStringsRegex   = new Regex.Languages.ShebangStrings();
            memberOperatorRegex   = new Regex.Languages.MemberOperator();
            caseSensitiveRegex    = new Regex.Languages.CaseSensitive();
        }