v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <v8.h>
#include <string>
#include <map>
Go to the source code of this file.
Data Structures | |
class | HttpRequest |
class | HttpRequestProcessor |
class | JsHttpRequestProcessor |
class | StringHttpRequest |
Functions | |
string | ObjectToString (Local< Value > value) |
void | ParseOptions (int argc, char *argv[], map< string, string > &options, string *file) |
Handle< String > | ReadFile (const string &name) |
bool | ProcessEntries (HttpRequestProcessor *processor, int count, StringHttpRequest *reqs) |
void | PrintMap (map< string, string > *m) |
int | main (int argc, char *argv[]) |
Variables | |
const int | kSampleSize = 6 |
StringHttpRequest | kSampleRequests [kSampleSize] |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 599 of file process.cc.
References JsHttpRequestProcessor::Initialize(), Handle< T >::IsEmpty(), kSampleRequests, kSampleSize, ParseOptions(), PrintMap(), ProcessEntries(), and ReadFile().
Definition at line 332 of file process.cc.
void ParseOptions | ( | int | argc, |
char * | argv[], | ||
map< string, string > & | options, | ||
string * | file | ||
) |
Definition at line 530 of file process.cc.
Referenced by main().
void PrintMap | ( | map< string, string > * | m | ) |
Definition at line 591 of file process.cc.
Referenced by main().
bool ProcessEntries | ( | HttpRequestProcessor * | processor, |
int | count, | ||
StringHttpRequest * | reqs | ||
) |
Definition at line 581 of file process.cc.
References HttpRequestProcessor::Process().
Referenced by main().
StringHttpRequest kSampleRequests[kSampleSize] |
Definition at line 571 of file process.cc.
Referenced by main().
const int kSampleSize = 6 |
Definition at line 570 of file process.cc.
Referenced by RegExpEngine::Compile(), and main().