summaryrefslogtreecommitdiffstats
path: root/Source/cmListFileCache.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-12-08 18:36:59 (GMT)
committerBrad King <brad.king@kitware.com>2003-12-08 18:36:59 (GMT)
commit00ae7ea261b634196ff5f77b995cbef0305ea31c (patch)
treeb2d33bf877abb4dbd6a0c6d71615ae4e97e9093a /Source/cmListFileCache.h
parent380ee8ca363a70e2763b6e77c36108f1b372837d (diff)
downloadCMake-00ae7ea261b634196ff5f77b995cbef0305ea31c.zip
CMake-00ae7ea261b634196ff5f77b995cbef0305ea31c.tar.gz
CMake-00ae7ea261b634196ff5f77b995cbef0305ea31c.tar.bz2
ENH: Using lex-based tokenizer and a simple recursive-descent parser in place of the old hand-coded parser for CMake listfiles.
Diffstat (limited to 'Source/cmListFileCache.h')
-rw-r--r--Source/cmListFileCache.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/Source/cmListFileCache.h b/Source/cmListFileCache.h
index 473fb62..8dc371f 100644
--- a/Source/cmListFileCache.h
+++ b/Source/cmListFileCache.h
@@ -79,25 +79,7 @@ public:
//! Flush cache file out of cache.
void FlushCache(const char* path);
-
- /**
- * Read a CMake command (or function) from an input file. This
- * returns the name of the function and a list of its
- * arguments. The last argument is the name of the file that
- * the ifstream points to, and is used for debug info only.
- */
- static bool ParseFunction(std::ifstream&, cmListFileFunction& function,
- const char* filename, bool& parseError,
- long& line);
- /**
- * Extract white-space separated arguments from a string.
- * Double quoted strings are accepted with spaces.
- * This is called by ParseFunction.
- */
- static void GetArguments(std::string& line,
- std::vector<cmListFileArgument>& arguments);
-
private:
// Cache the file
bool CacheFile(const char* path, bool requireProjectCommand);
@@ -107,5 +89,4 @@ private:
static cmListFileCache* Instance; // singelton pointer
};
-
#endif