update porting to new machine
[wikipedia-parser-hphp.git] / gen / sys / dynamic_table_file.no.cpp
blobaf78890c23ce9db5f1efe398f7045dc4269a0c80
2 #include <cpp/base/hphp.h>
5 using namespace std;
7 namespace HPHP {
8 ///////////////////////////////////////////////////////////////////////////////
11 // File Invoke Table
12 Variant pm_php$CoreLinkFunctions_php(bool incOnce = false, LVariableTable* variables = NULL);
13 Variant pm_php$CoreParserFunctions_php(bool incOnce = false, LVariableTable* variables = NULL);
14 Variant pm_php$DateFormatter_php(bool incOnce = false, LVariableTable* variables = NULL);
15 Variant pm_php$LinkHolderArray_php(bool incOnce = false, LVariableTable* variables = NULL);
16 Variant pm_php$ParserCache_php(bool incOnce = false, LVariableTable* variables = NULL);
17 Variant pm_php$Parser_DiffTest_php(bool incOnce = false, LVariableTable* variables = NULL);
18 Variant pm_php$Parser_LinkHooks_php(bool incOnce = false, LVariableTable* variables = NULL);
19 Variant pm_php$ParserOptions_php(bool incOnce = false, LVariableTable* variables = NULL);
20 Variant pm_php$ParserOutput_php(bool incOnce = false, LVariableTable* variables = NULL);
21 Variant pm_php$Parser_php(bool incOnce = false, LVariableTable* variables = NULL);
22 Variant pm_php$Preprocessor_DOM_php(bool incOnce = false, LVariableTable* variables = NULL);
23 Variant pm_php$Preprocessor_Hash_php(bool incOnce = false, LVariableTable* variables = NULL);
24 Variant pm_php$Preprocessor_php(bool incOnce = false, LVariableTable* variables = NULL);
25 Variant pm_php$Tidy_php(bool incOnce = false, LVariableTable* variables = NULL);
27 Variant invoke_file(CStrRef path, bool once /* = false */, LVariableTable* variables /* = NULL */,const char *currentDir /* = NULL */) {
28 String s = canonicalize_path(path, "", 0);
29 int64 hash = hash_string(s.data(), s.length());
30 switch (hash & 31) {
31 case 3:
32 HASH_INCLUDE(0x25E803275E689C63LL, "Preprocessor_DOM.php", php$Preprocessor_DOM_php);
33 break;
34 case 5:
35 HASH_INCLUDE(0x7FE741AF0628B0E5LL, "CoreParserFunctions.php", php$CoreParserFunctions_php);
36 break;
37 case 7:
38 HASH_INCLUDE(0x196582A3292D37C7LL, "LinkHolderArray.php", php$LinkHolderArray_php);
39 HASH_INCLUDE(0x115B7AEB63B84EC7LL, "ParserOutput.php", php$ParserOutput_php);
40 break;
41 case 9:
42 HASH_INCLUDE(0x50BE9A28B832DC09LL, "Parser_DiffTest.php", php$Parser_DiffTest_php);
43 break;
44 case 14:
45 HASH_INCLUDE(0x48B82F82876E848ELL, "Tidy.php", php$Tidy_php);
46 break;
47 case 15:
48 HASH_INCLUDE(0x7901A7716EAF928FLL, "Preprocessor_Hash.php", php$Preprocessor_Hash_php);
49 break;
50 case 20:
51 HASH_INCLUDE(0x3E55D936C49C25D4LL, "ParserCache.php", php$ParserCache_php);
52 break;
53 case 22:
54 HASH_INCLUDE(0x65E1BF11929A4076LL, "Parser_LinkHooks.php", php$Parser_LinkHooks_php);
55 break;
56 case 27:
57 HASH_INCLUDE(0x194C5D4EDF2D217BLL, "CoreLinkFunctions.php", php$CoreLinkFunctions_php);
58 break;
59 case 28:
60 HASH_INCLUDE(0x12294D725D33899CLL, "DateFormatter.php", php$DateFormatter_php);
61 HASH_INCLUDE(0x5AD4076C853844BCLL, "Preprocessor.php", php$Preprocessor_php);
62 break;
63 case 31:
64 HASH_INCLUDE(0x71044A8C16E3589FLL, "ParserOptions.php", php$ParserOptions_php);
65 HASH_INCLUDE(0x0CAAB104CDFBED3FLL, "Parser.php", php$Parser_php);
66 break;
67 default:
68 break;
70 Logger::Verbose("Tried to invoke %s but file not found.", s.data());
71 return throw_missing_file(s.data());
74 ///////////////////////////////////////////////////////////////////////////////