Public Methods | |
void | begin () |
void | filter (const cmt_string& line) |
cmt_string& | package_name () |
Private Attributes | |
cmt_string | m_package_name |
|
Reimplemented from Awk. Definition at line 3032 of file cmt_generator.cxx. 03033 { 03034 m_package_name = ""; 03035 } |
|
Reimplemented from Awk. Definition at line 3037 of file cmt_generator.cxx. 03038 { 03039 CmtSystem::cmt_string_vector words; 03040 03041 CmtSystem::split (line, " ", words); 03042 if (words.size () > 1) 03043 { 03044 cmt_string& w = words[0]; 03045 03046 if (w == "package") 03047 { 03048 m_package_name = words[1]; 03049 03050 int pos = m_package_name.find (";"); 03051 if (pos != cmt_string::npos) m_package_name.erase (pos); 03052 m_package_name.replace_all (".", CmtSystem::file_separator ()); 03053 } 03054 } 03055 } |
|
Definition at line 3057 of file cmt_generator.cxx. Referenced by MakefileGenerator::analyze_file(). 03058 { 03059 return (m_package_name); 03060 } |
|
Definition at line 218 of file cmt_generator.cxx. |