Pol  Revision:e09f183
Pol::Ecompile Namespace Reference

Classes

struct  Summary

Functions

void AutoCompile ()
bool compile_file (const char *path)
void compile_file_wrapper (const char *path)
void compile_inc (const char *path)
void generate_wordlist ()
void parallel_compile (const std::vector< std::string > &files)
void read_config_file (int argc, char *argv[])
int readargs (int argc, char **argv)
void recurse_compile (const std::string &basedir, std::vector< std::string > *files)
void recurse_compile_inc (const std::string &basedir, std::vector< std::string > *files)
bool run (int argc, char **argv)
bool setting_value (const char *arg)
void usage (void)

Variables

std::string CfgPathEnv
int debug = 0
bool dont_optimize_object_members = false
std::string EmPathEnv
bool expect_compile_failure = false
bool force_update = false
std::string IncPathEnv
bool keep_building = false
bool opt_generate_wordlist = false
bool quiet = false
bool show_timing_details = false
struct Pol::Ecompile::Summary summary
bool timing_quiet_override = false
bool verbose = false

Function Documentation

void Pol::Ecompile::compile_file_wrapper ( const char *  path)

Definition at line 299 of file ecompile.cpp.

References compile_file(), Pol::Ecompile::Summary::CompiledScripts, keep_building, Pol::Ecompile::Summary::ScriptsWithCompileErrors, summary, and Pol::Ecompile::Summary::UpToDateScripts.

Referenced by run().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Pol::Ecompile::compile_inc ( const char *  path)

Definition at line 130 of file ecompile.cpp.

References Pol::Bscript::Compiler::compileFile(), debug, INFO_PRINT, quiet, Pol::Bscript::Compiler::setIncludeCompileMode(), and Pol::Bscript::Parser::setQuiet().

Referenced by compile_file(), and run().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 123 of file ecompile.cpp.

References INFO_PRINT, and Pol::Bscript::Parser::write_words().

Referenced by Pol::xmain().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Pol::Ecompile::parallel_compile ( const std::vector< std::string > &  files)

Definition at line 594 of file ecompile.cpp.

References compile_file(), Pol::Ecompile::Summary::CompiledScripts, ERROR_PRINT, Pol::Clib::force_backtrace(), keep_building, Pol::Ecompile::Summary::ScriptsWithCompileErrors, summary, and Pol::Ecompile::Summary::UpToDateScripts.

Referenced by AutoCompile(), and run().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Pol::Ecompile::read_config_file ( int  argc,
char *  argv[] 
)

Definition at line 767 of file ecompile.cpp.

References argc, Pol::Bscript::compilercfg, ERROR_PRINT, Pol::Clib::FileExists(), Pol::Bscript::CompilerConfig::Read(), and Pol::Bscript::CompilerConfig::SetDefaults().

Referenced by Pol::xmain().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Pol::Ecompile::recurse_compile_inc ( const std::string &  basedir,
std::vector< std::string > *  files 
)

Definition at line 569 of file ecompile.cpp.

References Pol::Clib::DirList::at_end(), compile_file(), and recurse_compile().

Referenced by run().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool Pol::Ecompile::setting_value ( const char *  arg)

Definition at line 317 of file ecompile.cpp.

Referenced by readargs().

+ Here is the caller graph for this function:


Variable Documentation

Definition at line 69 of file ecompile.cpp.

Referenced by readargs().

Definition at line 57 of file ecompile.cpp.

Referenced by compile_file(), compile_inc(), and readargs().

Definition at line 66 of file ecompile.cpp.

Definition at line 67 of file ecompile.cpp.

Referenced by readargs().

Definition at line 65 of file ecompile.cpp.

Referenced by compile_file(), and readargs().

Definition at line 62 of file ecompile.cpp.

Referenced by compile_file(), and readargs().

Definition at line 68 of file ecompile.cpp.

Referenced by readargs().

Definition at line 59 of file ecompile.cpp.

Referenced by readargs(), and Pol::xmain().

Definition at line 63 of file ecompile.cpp.

Referenced by readargs(), and recurse_compile().

Definition at line 64 of file ecompile.cpp.

Referenced by readargs(), and recurse_compile().

bool Pol::Ecompile::verbose = false

Definition at line 61 of file ecompile.cpp.

Referenced by compile_file(), and readargs().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines