Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

cmt_parser.h File Reference

#include "cmt_std.h"
#include "cmt_string.h"
#include "cmt_vector.h"
#include "cmt.h"

Include dependency graph for cmt_parser.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define SLASH   '/'

Typedefs

typedef UseUseRef

Enumerations

enum  PrintMode { Csh, Sh, Bat, Make }
enum  CmtDirStyle { mgr_style, cmt_style, no_version_style, none_style }
enum  CmtStructuringStyle { with_version_directory, without_version_directory }
enum  CmtScopeFilteringMode { default_filtering_mode, block_private_uses, reach_private_uses }
enum  CommandType {
  CommandNone, CommandAction, CommandAlias, CommandApplication,
  CommandApplyPattern, CommandApplyTag, CommandAuthor, CommandBranches,
  CommandBuildStrategy, CommandCleanupScript, CommandCmtPathPattern, CommandDocument,
  CommandEndPrivate, CommandEndPublic, CommandIgnorePattern, CommandIncludeDirs,
  CommandIncludePath, CommandLanguage, CommandLibrary, CommandMacro,
  CommandMacroPrepend, CommandMacroAppend, CommandMacroRemove, CommandMacroRemoveRegexp,
  CommandMacroRemoveAll, CommandMacroRemoveAllRegexp, CommandMakeFragment, CommandManager,
  CommandPackage, CommandPath, CommandPathAppend, CommandPathPrepend,
  CommandPathRemove, CommandPathRemoveRegexp, CommandPattern, CommandPrivate,
  CommandProject, CommandPublic, CommandSet, CommandSetAppend,
  CommandSetPrepend, CommandSetRemove, CommandSetRemoveRegexp, CommandSetupScript,
  CommandSetupStrategy, CommandTag, CommandTagExclude, CommandUse,
  CommandVersion, CommandVersionStrategy, Commands
}
enum  AccessMode { DeveloperMode, UserMode }
enum  ScopeType { ScopeUnspecified, ScopePublic, ScopePrivate }
enum  State { Unspecified = -1, Off = 0, On = 1 }
enum  Priority {
  PriorityLowest = 0, PriorityDefault = 1, PriorityVersion = 2, PriorityUname = 3,
  PrioritySite = 4, PriorityUserTag = 5, PriorityTag = 6, PriorityConfig = 7,
  PriorityArgument = 8
}
enum  ScriptType { SetupScript, CleanupScript }
enum  BuildStrategy {
  Prototypes = 0x1, NoPrototypes = Prototypes << 1, DefaultPrototypesStrategy = Prototypes, PrototypesMask = Prototypes | NoPrototypes,
  WithInstallArea = NoPrototypes << 1, WithoutInstallArea = WithInstallArea << 1, DefaultInstallAreaStrategy = WithoutInstallArea, InstallAreaMask = WithInstallArea | WithoutInstallArea,
  BuildStrategyMask = PrototypesMask | InstallAreaMask, DefaultBuildStrategy = DefaultPrototypesStrategy | DefaultInstallAreaStrategy
}
enum  SetupStrategy {
  SetupConfig = 0x1, SetupNoConfig = SetupConfig << 1, SetupConfigMask = SetupConfig | SetupNoConfig, SetupRoot = SetupNoConfig << 1,
  SetupNoRoot = SetupRoot << 1, SetupRootMask = SetupRoot | SetupNoRoot, SetupCleanup = SetupNoRoot << 1, SetupNoCleanup = SetupCleanup << 1,
  SetupCleanupMask = SetupCleanup | SetupNoCleanup, SetupStrategyMask = SetupConfigMask | SetupRootMask | SetupCleanupMask, DefaultSetupStrategy = SetupConfig | SetupRoot | SetupCleanup
}
enum  ConstituentType { Application, Library, Document }
enum  ActionType {
  action_none, action_awk, action_broadcast, action_build,
  action_build_constituent_makefile, action_build_constituents_makefile, action_build_dependencies, action_build_library_links,
  action_build_make_setup, action_build_msdev, action_build_CMT_pacman, action_build_vsnet,
  action_build_os9_makefile, action_build_prototype, action_build_readme, action_build_tag_makefile,
  action_build_temporary_name, action_build_triggers, action_build_windefs, action_check,
  action_check_configuration, action_check_files, action_check_version, action_checkout,
  action_cleanup, action_config, action_create, action_create_project,
  action_cvsbranches, action_cvssubpackages, action_cvssubprojects, action_cvstags,
  action_do, action_expand_model, action_filter, action_help,
  action_load, action_lock, action_remove, action_remove_library_links,
  action_run, action_run_sequence, action_set_version, action_set_versions,
  action_setup, action_show, action_show_action, action_show_action_value,
  action_show_action_names, action_show_actions, action_show_all_tags, action_show_applied_patterns,
  action_show_author, action_show_branches, action_show_clients, action_show_cmtpath_patterns,
  action_show_constituent, action_show_constituent_names, action_show_constituents, action_show_cycles,
  action_show_fragment, action_show_fragments, action_show_groups, action_show_include_dirs,
  action_show_language, action_show_languages, action_show_macro, action_show_macro_value,
  action_show_macro_names, action_show_macros, action_show_manager, action_show_packages,
  action_show_path, action_show_pattern, action_show_pattern_names, action_show_patterns,
  action_show_projects, action_show_setup, action_show_pwd, action_show_set,
  action_show_set_names, action_show_set_value, action_show_sets, action_show_strategies,
  action_show_tags, action_show_use_paths, action_show_uses, action_show_version,
  action_show_versions, action_system, action_unlock, action_version
}


Define Documentation

#define SLASH   '/'
 

Definition at line 306 of file cmt_parser.h.

Referenced by Script::print(), and Include::print_filters().


Typedef Documentation

typedef Use* UseRef
 

Definition at line 309 of file cmt_parser.h.

Referenced by Cmt::use_cmt(), and Cmt::use_special_requirements().


Enumeration Type Documentation

enum AccessMode
 

Enumeration values:
DeveloperMode 
UserMode 

Definition at line 107 of file cmt_parser.h.

Referenced by Cmt::get_current_access(), SyntaxParser::parse_requirements(), and SyntaxParser::parse_requirements_text().

00108 {
00109   DeveloperMode,
00110   UserMode
00111 } AccessMode;

enum ActionType
 

Enumeration values:
action_none 
action_awk 
action_broadcast 
action_build 
action_build_constituent_makefile 
action_build_constituents_makefile 
action_build_dependencies 
action_build_library_links 
action_build_make_setup 
action_build_msdev 
action_build_CMT_pacman 
action_build_vsnet 
action_build_os9_makefile 
action_build_prototype 
action_build_readme 
action_build_tag_makefile 
action_build_temporary_name 
action_build_triggers 
action_build_windefs 
action_check 
action_check_configuration 
action_check_files 
action_check_version 
action_checkout 
action_cleanup 
action_config 
action_create 
action_create_project 
action_cvsbranches 
action_cvssubpackages 
action_cvssubprojects 
action_cvstags 
action_do 
action_expand_model 
action_filter 
action_help 
action_load 
action_lock 
action_remove 
action_remove_library_links 
action_run 
action_run_sequence 
action_set_version 
action_set_versions 
action_setup 
action_show 
action_show_action 
action_show_action_value 
action_show_action_names 
action_show_actions 
action_show_all_tags 
action_show_applied_patterns 
action_show_author 
action_show_branches 
action_show_clients 
action_show_cmtpath_patterns 
action_show_constituent 
action_show_constituent_names 
action_show_constituents 
action_show_cycles 
action_show_fragment 
action_show_fragments 
action_show_groups 
action_show_include_dirs 
action_show_language 
action_show_languages 
action_show_macro 
action_show_macro_value 
action_show_macro_names 
action_show_macros 
action_show_manager 
action_show_packages 
action_show_path 
action_show_pattern 
action_show_pattern_names 
action_show_patterns 
action_show_projects 
action_show_setup 
action_show_pwd 
action_show_set 
action_show_set_names 
action_show_set_value 
action_show_sets 
action_show_strategies 
action_show_tags 
action_show_use_paths 
action_show_uses 
action_show_version 
action_show_versions 
action_system 
action_unlock 
action_version 

Definition at line 200 of file cmt_parser.h.

Referenced by ActionBuilder::build(), MacroBuilder::build(), PathBuilder::build(), SetBuilder::build(), Symbol::create(), Cmt::get_action(), use_action_iterator::get_use(), SymbolValueList::show(), and Symbol::show_macro().

00201 {
00202   action_none,
00203   action_awk,
00204   action_broadcast,
00205 
00206   action_build,
00207 
00208   action_build_constituent_makefile,
00209   action_build_constituents_makefile,
00210   action_build_dependencies,
00211   action_build_library_links,
00212   action_build_make_setup,
00213   action_build_msdev,
00214   action_build_CMT_pacman,
00215   // Visual Studio.net Support                  
00216   action_build_vsnet,                           
00217   action_build_os9_makefile,
00218   action_build_prototype,
00219   action_build_readme,
00220   action_build_tag_makefile,
00221   action_build_temporary_name,
00222   action_build_triggers,
00223   action_build_windefs,
00224 
00225   action_check,
00226 
00227   action_check_configuration,
00228   action_check_files,
00229   action_check_version,
00230   action_checkout,
00231   action_cleanup,
00232   action_config,
00233   action_create,
00234   action_create_project,
00235   action_cvsbranches,
00236   action_cvssubpackages,
00237   action_cvssubprojects,
00238   action_cvstags,
00239   action_do,
00240   action_expand_model,
00241   action_filter,
00242   action_help,
00243   action_load,
00244   action_lock,
00245   action_remove,
00246   action_remove_library_links,
00247   action_run,
00248   action_run_sequence,
00249 
00250   action_set_version,
00251   action_set_versions,
00252 
00253   action_setup,
00254 
00255   action_show,
00256 
00257   action_show_action,
00258   action_show_action_value,
00259   action_show_action_names,
00260   action_show_actions,
00261   action_show_all_tags,
00262   action_show_applied_patterns,
00263   action_show_author,
00264   action_show_branches,
00265   action_show_clients,
00266   action_show_cmtpath_patterns,
00267   action_show_constituent,
00268   action_show_constituent_names,
00269   action_show_constituents,
00270   action_show_cycles,
00271   action_show_fragment,
00272   action_show_fragments,
00273   action_show_groups,
00274   action_show_include_dirs,
00275   action_show_language,
00276   action_show_languages,
00277   action_show_macro,
00278   action_show_macro_value,
00279   action_show_macro_names,
00280   action_show_macros,
00281   action_show_manager,
00282   action_show_packages,
00283   action_show_path,
00284   action_show_pattern,
00285   action_show_pattern_names,
00286   action_show_patterns,
00287   action_show_projects,
00288   action_show_setup,
00289   action_show_pwd,
00290   action_show_set,
00291   action_show_set_names,
00292   action_show_set_value,
00293   action_show_sets,
00294   action_show_strategies,
00295   action_show_tags,
00296   action_show_use_paths,
00297   action_show_uses,
00298   action_show_version,
00299   action_show_versions,
00300 
00301   action_system,
00302   action_unlock,
00303   action_version
00304 } ActionType;

enum BuildStrategy
 

Enumeration values:
Prototypes 
NoPrototypes 
DefaultPrototypesStrategy 
PrototypesMask 
WithInstallArea 
WithoutInstallArea 
DefaultInstallAreaStrategy 
InstallAreaMask 
BuildStrategyMask 
DefaultBuildStrategy 

Definition at line 154 of file cmt_parser.h.

enum CmtDirStyle
 

Enumeration values:
mgr_style 
cmt_style 
no_version_style 
none_style 

Definition at line 22 of file cmt_parser.h.

Referenced by Cmt::get_current_style().

00023 {
00024   mgr_style,
00025   cmt_style,
00026   no_version_style,
00027   none_style
00028 } CmtDirStyle;

enum CmtScopeFilteringMode
 

Enumeration values:
default_filtering_mode 
block_private_uses 
reach_private_uses 

Definition at line 36 of file cmt_parser.h.

Referenced by Cmt::get_scope_filtering_mode().

enum CmtStructuringStyle
 

Enumeration values:
with_version_directory 
without_version_directory 

Definition at line 30 of file cmt_parser.h.

Referenced by Cmt::get_current_structuring_style().

enum CommandType
 

Enumeration values:
CommandNone 
CommandAction 
CommandAlias 
CommandApplication 
CommandApplyPattern 
CommandApplyTag 
CommandAuthor 
CommandBranches 
CommandBuildStrategy 
CommandCleanupScript 
CommandCmtPathPattern 
CommandDocument 
CommandEndPrivate 
CommandEndPublic 
CommandIgnorePattern 
CommandIncludeDirs 
CommandIncludePath 
CommandLanguage 
CommandLibrary 
CommandMacro 
CommandMacroPrepend 
CommandMacroAppend 
CommandMacroRemove 
CommandMacroRemoveRegexp 
CommandMacroRemoveAll 
CommandMacroRemoveAllRegexp 
CommandMakeFragment 
CommandManager 
CommandPackage 
CommandPath 
CommandPathAppend 
CommandPathPrepend 
CommandPathRemove 
CommandPathRemoveRegexp 
CommandPattern 
CommandPrivate 
CommandProject 
CommandPublic 
CommandSet 
CommandSetAppend 
CommandSetPrepend 
CommandSetRemove 
CommandSetRemoveRegexp 
CommandSetupScript 
CommandSetupStrategy 
CommandTag 
CommandTagExclude 
CommandUse 
CommandVersion 
CommandVersionStrategy 
Commands 

Definition at line 46 of file cmt_parser.h.

enum ConstituentType
 

Enumeration values:
Application 
Library 
Document 

Definition at line 190 of file cmt_parser.h.

00191 {
00192   Application,
00193   Library,
00194   Document
00195 } ConstituentType;

enum PrintMode
 

Enumeration values:
Csh 
Sh 
Bat 
Make 

Definition at line 14 of file cmt_parser.h.

Referenced by Cmt::install_cleanup_scripts(), Cmt::install_setup_scripts(), Cmt::install_test_cleanup_scripts(), and Cmt::install_test_setup_scripts().

00015 {
00016   Csh,
00017   Sh,
00018   Bat,
00019   Make
00020 } PrintMode;

enum Priority
 

Enumeration values:
PriorityLowest 
PriorityDefault 
PriorityVersion 
PriorityUname 
PrioritySite 
PriorityUserTag 
PriorityTag 
PriorityConfig 
PriorityArgument 

Definition at line 127 of file cmt_parser.h.

00128 {
00129   PriorityLowest   = 0,
00130   PriorityDefault  = 1,
00131   PriorityVersion  = 2,
00132   PriorityUname    = 3,
00133   PrioritySite     = 4,
00134   PriorityUserTag  = 5,
00135   PriorityTag      = 6,
00136   PriorityConfig   = 7,
00137   PriorityArgument = 8
00138 } Priority;

enum ScopeType
 

Enumeration values:
ScopeUnspecified 
ScopePublic 
ScopePrivate 

Definition at line 113 of file cmt_parser.h.

Referenced by Use::get_current_scope(), ScopeSection::get_scope(), and Use::show_sub_uses().

00114 {
00115   ScopeUnspecified,
00116   ScopePublic,
00117   ScopePrivate
00118 } ScopeType;

enum ScriptType
 

Enumeration values:
SetupScript 
CleanupScript 

Definition at line 140 of file cmt_parser.h.

00141 {
00142   SetupScript,
00143   CleanupScript
00144 } ScriptType;

enum SetupStrategy
 

Enumeration values:
SetupConfig 
SetupNoConfig 
SetupConfigMask 
SetupRoot 
SetupNoRoot 
SetupRootMask 
SetupCleanup 
SetupNoCleanup 
SetupCleanupMask 
SetupStrategyMask 
DefaultSetupStrategy 

Definition at line 171 of file cmt_parser.h.

enum State
 

Enumeration values:
Unspecified 
Off 
On 

Definition at line 120 of file cmt_parser.h.

Referenced by UseContext::get_current_auto_imports(), Use::set_auto_imports(), and Use::show_sub_uses().

00121 {
00122   Unspecified = -1,
00123   Off = 0,
00124   On = 1
00125 } State;


Generated on Mon May 2 10:25:17 2005 for CMT by doxygen 1.3.5