#include <cmt_awk.h>
Inheritance diagram for FAwk:
Public Member Functions |
|
condition? | run (const cmt_string &file_name, const cmt_string &pattern="") |
condition? | run (const cmt_string &text, const cmt_regexp &expression) |
Protected Attributes |
|
cmt_string? | m_dir_name |
cmt_string? | m_file_name |
|
? |
Reimplemented from Awk. Definition at line 474 of file cmt_awk.cxx. References CmtSystem::basename(), CmtSystem::dirname(), m_dir_name, m_file_name, cmt_string::read(), Awk::run(), and CmtSystem::test_file(). 00476 { 00477 if (!CmtSystem::test_file (file_name)) return (failed); 00478 00479 CmtSystem::basename (file_name, m_file_name); 00480 CmtSystem::dirname (file_name, m_dir_name); 00481 00482 cmt_string text; 00483 00484 text.read (file_name); 00485 00486 return (Awk::run (text, expression)); 00487 } |
|
? |
Reimplemented from Awk. Definition at line 458 of file cmt_awk.cxx. References CmtSystem::basename(), CmtSystem::dirname(), m_dir_name, m_file_name, cmt_string::read(), Awk::run(), and CmtSystem::test_file(). Referenced by LibraryGenerator::analyze_file(), PrototypeGenerator::build(), Cmt::configure_current_dir(), Cmt::do_run_sequence(), and UseAnalyzer::run(). 00460 { 00461 if (!CmtSystem::test_file (file_name)) return (failed); 00462 00463 CmtSystem::basename (file_name, m_file_name); 00464 CmtSystem::dirname (file_name, m_dir_name); 00465 00466 cmt_string text; 00467 00468 text.read (file_name); 00469 00470 return (Awk::run (text, pattern)); 00471 } |
|
? |
Definition at line 90 of file cmt_awk.h. Referenced by run(). |
|
? |
Definition at line 91 of file cmt_awk.h. Referenced by run(). |